benj-edwards / dads-uppercase-2500-steps
A recreation of my dad's uppercase engineer-style handwriting.
- Public
- 169 runs
-
H100
Prediction
benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2beIDfnbv958w49rm20chrzcakpk3tmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 37510
- model
- dev
- prompt
- d4dupp3r a note centered on a warm wooden desk that says "DAD'S UPPERCASE." Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "seed": 37510, "model": "dev", "prompt": "d4dupp3r a note centered on a warm wooden desk that says \"DAD'S UPPERCASE.\" Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", { input: { seed: 37510, model: "dev", prompt: "d4dupp3r a note centered on a warm wooden desk that says \"DAD'S UPPERCASE.\" Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain.", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "png", 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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", input={ "seed": 37510, "model": "dev", "prompt": "d4dupp3r a note centered on a warm wooden desk that says \"DAD'S UPPERCASE.\" Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps 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": "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", "input": { "seed": 37510, "model": "dev", "prompt": "d4dupp3r a note centered on a warm wooden desk that says \\"DAD\'S UPPERCASE.\\" Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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-09-06T14:58:50.824544Z", "created_at": "2024-09-06T14:58:34.658000Z", "data_removed": false, "error": null, "id": "fnbv958w49rm20chrzcakpk3tm", "input": { "seed": 37510, "model": "dev", "prompt": "d4dupp3r a note centered on a warm wooden desk that says \"DAD'S UPPERCASE.\" Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 37510\nPrompt: d4dupp3r a note centered on a warm wooden desk that says \"DAD'S UPPERCASE.\" Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 7.34s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.53it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.00it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.78it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.68it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.62it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.60it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.58it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.56it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.56it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.55it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.54it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.54it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.54it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.54it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.54it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.54it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.54it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.54it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.54it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.54it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.54it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.54it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.54it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.54it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.53it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.56it/s]", "metrics": { "predict_time": 16.155004434, "total_time": 16.166544 }, "output": [ "https://replicate.delivery/yhqm/myKVGlGn49KlEJtofRi9GQ3FdTTUPiJ2CQ6xWT2jKyHVVGtJA/out-0.png" ], "started_at": "2024-09-06T14:58:34.669539Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/fnbv958w49rm20chrzcakpk3tm", "cancel": "https://api.replicate.com/v1/predictions/fnbv958w49rm20chrzcakpk3tm/cancel" }, "version": "5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be" }
Generated inUsing seed: 37510 Prompt: d4dupp3r a note centered on a warm wooden desk that says "DAD'S UPPERCASE." Pens and drafting tools sit nearby on the desktop. Also, a toy shark keychain. [!] txt2img mode Using dev model Loaded LoRAs in 7.34s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.53it/s] 7%|▋ | 2/28 [00:00<00:06, 4.00it/s] 11%|█ | 3/28 [00:00<00:06, 3.78it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.68it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.62it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.60it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.58it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.56it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.56it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.55it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.54it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.54it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.54it/s] 50%|█████ | 14/28 [00:03<00:03, 3.54it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.54it/s] 61%|██████ | 17/28 [00:04<00:03, 3.54it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.54it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.54it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.54it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.54it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.54it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.54it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.54it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.54it/s] 100%|██████████| 28/28 [00:07<00:00, 3.53it/s] 100%|██████████| 28/28 [00:07<00:00, 3.56it/s]
Prediction
benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2beIDazzwzgsjrsrm00chrgsbm11sbgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: "HEY BENJ, LOOK UP! -- DAD." The sun’s rays shine through the clouds, and we see trees near the bottom of the image.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: \"HEY BENJ, LOOK UP! -- DAD.\" The sun’s rays shine through the clouds, and we see trees near the bottom of the image.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", { input: { model: "dev", prompt: "d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: \"HEY BENJ, LOOK UP! -- DAD.\" The sun’s rays shine through the clouds, and we see trees near the bottom of the image.", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "png", 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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", input={ "model": "dev", "prompt": "d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: \"HEY BENJ, LOOK UP! -- DAD.\" The sun’s rays shine through the clouds, and we see trees near the bottom of the image.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps 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": "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", "input": { "model": "dev", "prompt": "d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: \\"HEY BENJ, LOOK UP! -- DAD.\\" The sun’s rays shine through the clouds, and we see trees near the bottom of the image.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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-09-05T21:58:49.922165Z", "created_at": "2024-09-05T21:58:29.830000Z", "data_removed": false, "error": null, "id": "azzwzgsjrsrm00chrgsbm11sbg", "input": { "model": "dev", "prompt": "d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: \"HEY BENJ, LOOK UP! -- DAD.\" The sun’s rays shine through the clouds, and we see trees near the bottom of the image.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50353\nPrompt: d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: \"HEY BENJ, LOOK UP! -- DAD.\" The sun’s rays shine through the clouds, and we see trees near the bottom of the image.\n[!] txt2img mode\nUsing dev model\nfree=8604928622592\nDownloading weights\n2024-09-05T21:58:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp09pctoth/weights url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar\n2024-09-05T21:58:32Z | INFO | [ Complete ] dest=/tmp/tmp09pctoth/weights size=\"172 MB\" total_elapsed=1.501s url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar\nDownloaded weights in 1.53s\nLoaded LoRAs in 9.65s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.51it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.98it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.75it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.65it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.60it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.57it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.55it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.54it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.53it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.53it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.52it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.52it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.52it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.52it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.52it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.52it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.52it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.52it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.52it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.52it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.52it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.52it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.52it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.52it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.52it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.52it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.52it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.52it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.54it/s]", "metrics": { "predict_time": 18.522544141, "total_time": 20.092165 }, "output": [ "https://replicate.delivery/yhqm/DKjVdRcu2XZVLRCmdridvFJIif2xN2Xezbv75R7GIt8Zu9ZTA/out-0.png" ], "started_at": "2024-09-05T21:58:31.399621Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/azzwzgsjrsrm00chrgsbm11sbg", "cancel": "https://api.replicate.com/v1/predictions/azzwzgsjrsrm00chrgsbm11sbg/cancel" }, "version": "5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be" }
Generated inUsing seed: 50353 Prompt: d4dupp3r A photo of a deep blue sky with white clouds shaped like letters, skywritten by a plane. They read: "HEY BENJ, LOOK UP! -- DAD." The sun’s rays shine through the clouds, and we see trees near the bottom of the image. [!] txt2img mode Using dev model free=8604928622592 Downloading weights 2024-09-05T21:58:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp09pctoth/weights url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar 2024-09-05T21:58:32Z | INFO | [ Complete ] dest=/tmp/tmp09pctoth/weights size="172 MB" total_elapsed=1.501s url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar Downloaded weights in 1.53s Loaded LoRAs in 9.65s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.51it/s] 7%|▋ | 2/28 [00:00<00:06, 3.98it/s] 11%|█ | 3/28 [00:00<00:06, 3.75it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.65it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.60it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.57it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.55it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.54it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.53it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.53it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.52it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.52it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.52it/s] 50%|█████ | 14/28 [00:03<00:03, 3.52it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.52it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.52it/s] 61%|██████ | 17/28 [00:04<00:03, 3.52it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.52it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.52it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.52it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.52it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.52it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.52it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.52it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.52it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.52it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.52it/s] 100%|██████████| 28/28 [00:07<00:00, 3.52it/s] 100%|██████████| 28/28 [00:07<00:00, 3.54it/s]
Prediction
benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2beID9hq8wv9z6xrm20chrgsv4nbmv4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- d4dupp3r a close-up of man's muscular arm with an ornate tattoo that reads 'MOONSHARK 4-EVER' inside a heart shape
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "d4dupp3r a close-up of man's muscular arm with an ornate tattoo that reads 'MOONSHARK 4-EVER' inside a heart shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", { input: { model: "dev", prompt: "d4dupp3r a close-up of man's muscular arm with an ornate tattoo that reads 'MOONSHARK 4-EVER' inside a heart shape", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "png", 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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", input={ "model": "dev", "prompt": "d4dupp3r a close-up of man's muscular arm with an ornate tattoo that reads 'MOONSHARK 4-EVER' inside a heart shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps 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": "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", "input": { "model": "dev", "prompt": "d4dupp3r a close-up of man\'s muscular arm with an ornate tattoo that reads \'MOONSHARK 4-EVER\' inside a heart shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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-09-05T22:00:23.335726Z", "created_at": "2024-09-05T21:59:38.551000Z", "data_removed": false, "error": null, "id": "9hq8wv9z6xrm20chrgsv4nbmv4", "input": { "model": "dev", "prompt": "d4dupp3r a close-up of man's muscular arm with an ornate tattoo that reads 'MOONSHARK 4-EVER' inside a heart shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 62778\nPrompt: d4dupp3r a close-up of man's muscular arm with an ornate tattoo that reads 'MOONSHARK 4-EVER' inside a heart shape\n[!] txt2img mode\nUsing dev model\nfree=8842617757696\nDownloading weights\n2024-09-05T22:00:05Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpiazyp5tg/weights url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar\n2024-09-05T22:00:08Z | INFO | [ Complete ] dest=/tmp/tmpiazyp5tg/weights size=\"172 MB\" total_elapsed=2.404s url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar\nDownloaded weights in 2.43s\nLoaded LoRAs in 8.98s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.52it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.99it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.76it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.66it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.61it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.57it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.55it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.54it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.53it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.53it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.53it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.53it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.53it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.53it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.53it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.53it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.53it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.53it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.52it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.52it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.52it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.52it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.52it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.52it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.52it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.52it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.52it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.52it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.55it/s]", "metrics": { "predict_time": 17.667217999000002, "total_time": 44.784726 }, "output": [ "https://replicate.delivery/yhqm/AI4ADHGfGj2AOqrPiI4ZUSOVvEhXXQa2n1mZiZYZDeF3v9ZTA/out-0.png" ], "started_at": "2024-09-05T22:00:05.668508Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/9hq8wv9z6xrm20chrgsv4nbmv4", "cancel": "https://api.replicate.com/v1/predictions/9hq8wv9z6xrm20chrgsv4nbmv4/cancel" }, "version": "5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be" }
Generated inUsing seed: 62778 Prompt: d4dupp3r a close-up of man's muscular arm with an ornate tattoo that reads 'MOONSHARK 4-EVER' inside a heart shape [!] txt2img mode Using dev model free=8842617757696 Downloading weights 2024-09-05T22:00:05Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpiazyp5tg/weights url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar 2024-09-05T22:00:08Z | INFO | [ Complete ] dest=/tmp/tmpiazyp5tg/weights size="172 MB" total_elapsed=2.404s url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar Downloaded weights in 2.43s Loaded LoRAs in 8.98s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.52it/s] 7%|▋ | 2/28 [00:00<00:06, 3.99it/s] 11%|█ | 3/28 [00:00<00:06, 3.76it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.66it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.61it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.57it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.55it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.54it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.53it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.53it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.53it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.53it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.53it/s] 50%|█████ | 14/28 [00:03<00:03, 3.53it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.53it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.53it/s] 61%|██████ | 17/28 [00:04<00:03, 3.53it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.53it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.52it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.52it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.52it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.52it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.52it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.52it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.52it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.52it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.52it/s] 100%|██████████| 28/28 [00:07<00:00, 3.52it/s] 100%|██████████| 28/28 [00:07<00:00, 3.55it/s]
Prediction
benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2beIDw1kgwc0zh9rm60chrgtvyxrhtmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font A smaller sign reads "WE SELL FROSTED PRICK."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font\nA smaller sign reads \"WE SELL FROSTED PRICK.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", { input: { model: "dev", prompt: "d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font\nA smaller sign reads \"WE SELL FROSTED PRICK.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "png", 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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", input={ "model": "dev", "prompt": "d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font\nA smaller sign reads \"WE SELL FROSTED PRICK.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps 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": "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", "input": { "model": "dev", "prompt": "d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font\\nA smaller sign reads \\"WE SELL FROSTED PRICK.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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-09-05T22:01:57.356860Z", "created_at": "2024-09-05T22:01:41.514000Z", "data_removed": false, "error": null, "id": "w1kgwc0zh9rm60chrgtvyxrhtm", "input": { "model": "dev", "prompt": "d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font\nA smaller sign reads \"WE SELL FROSTED PRICK.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 23206\nPrompt: d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font\nA smaller sign reads \"WE SELL FROSTED PRICK.\"\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 6.96s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.50it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.96it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.74it/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.53it/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.51it/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.49it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.50it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.49it/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": 15.836863576, "total_time": 15.84286 }, "output": [ "https://replicate.delivery/yhqm/TejJkrBxRkxCSCxDDtifxcrGbIXkynmpSp5q1birQheri7zmA/out-0.png" ], "started_at": "2024-09-05T22:01:41.519996Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/w1kgwc0zh9rm60chrgtvyxrhtm", "cancel": "https://api.replicate.com/v1/predictions/w1kgwc0zh9rm60chrgtvyxrhtm/cancel" }, "version": "5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be" }
Generated inUsing seed: 23206 Prompt: d4dupp3r A photo of an electronics storefront. The neon store sign reads: “DADIO SHACK” styled like a handwritten all-caps font A smaller sign reads "WE SELL FROSTED PRICK." [!] txt2img mode Using dev model Loaded LoRAs in 6.96s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.50it/s] 7%|▋ | 2/28 [00:00<00:06, 3.96it/s] 11%|█ | 3/28 [00:00<00:06, 3.74it/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.53it/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.51it/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.49it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.50it/s] 61%|██████ | 17/28 [00:04<00:03, 3.49it/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
benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2beID7qfpaejd3drm00chrgvvgj0dc4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads: "HELLO WORLD. --DAD" A pen and various computer chips sit on the desktop near it.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads:\n\"HELLO WORLD.\n --DAD\"\nA pen and various computer chips sit on the desktop near it.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", { input: { model: "dev", prompt: "d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads:\n\"HELLO WORLD.\n --DAD\"\nA pen and various computer chips sit on the desktop near it.", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "png", 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 benj-edwards/dads-uppercase-2500-steps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", input={ "model": "dev", "prompt": "d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads:\n\"HELLO WORLD.\n --DAD\"\nA pen and various computer chips sit on the desktop near it.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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 benj-edwards/dads-uppercase-2500-steps 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": "benj-edwards/dads-uppercase-2500-steps:5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be", "input": { "model": "dev", "prompt": "d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads:\\n\\"HELLO WORLD.\\n --DAD\\"\\nA pen and various computer chips sit on the desktop near it.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "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-09-05T22:04:23.182820Z", "created_at": "2024-09-05T22:04:04.251000Z", "data_removed": false, "error": null, "id": "7qfpaejd3drm00chrgvvgj0dc4", "input": { "model": "dev", "prompt": "d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads:\n\"HELLO WORLD.\n --DAD\"\nA pen and various computer chips sit on the desktop near it.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 49973\nPrompt: d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads:\n\"HELLO WORLD.\n--DAD\"\nA pen and various computer chips sit on the desktop near it.\n[!] txt2img mode\nUsing dev model\nfree=8811221938176\nDownloading weights\n2024-09-05T22:04:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpyag7oqh3/weights url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar\n2024-09-05T22:04:05Z | INFO | [ Complete ] dest=/tmp/tmpyag7oqh3/weights size=\"172 MB\" total_elapsed=1.642s url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar\nDownloaded weights in 1.67s\nLoaded LoRAs in 10.09s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.54it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.01it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.78it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.68it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.63it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.60it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.58it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.57it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.56it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.55it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.55it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.55it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.55it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.54it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.54it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.54it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.54it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.54it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.54it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.54it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.54it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.54it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.54it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.54it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.54it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.57it/s]", "metrics": { "predict_time": 18.883430136, "total_time": 18.93182 }, "output": [ "https://replicate.delivery/yhqm/418i8CZg5SpyBpYhI83XcUccX0UObusdPew4lqZ1xNQz5eZTA/out-0.png" ], "started_at": "2024-09-05T22:04:04.299390Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7qfpaejd3drm00chrgvvgj0dc4", "cancel": "https://api.replicate.com/v1/predictions/7qfpaejd3drm00chrgvvgj0dc4/cancel" }, "version": "5a7e2ac6e0ff4c9d30e602c499f57fae1c6b108315cc46c673bb9f051e65c2be" }
Generated inUsing seed: 49973 Prompt: d4dupp3r A square piece of note paper centered on a warm wooden desktop. The note reads: "HELLO WORLD. --DAD" A pen and various computer chips sit on the desktop near it. [!] txt2img mode Using dev model free=8811221938176 Downloading weights 2024-09-05T22:04:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpyag7oqh3/weights url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar 2024-09-05T22:04:05Z | INFO | [ Complete ] dest=/tmp/tmpyag7oqh3/weights size="172 MB" total_elapsed=1.642s url=https://replicate.delivery/yhqm/5zOm1SVudA7NN9PNZFzzYDui2B0s6eVQIwO74kpSHYseS5ZTA/trained_model.tar Downloaded weights in 1.67s Loaded LoRAs in 10.09s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.54it/s] 7%|▋ | 2/28 [00:00<00:06, 4.01it/s] 11%|█ | 3/28 [00:00<00:06, 3.78it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.68it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.63it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.60it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.58it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.57it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.56it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.55it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.55it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.55it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.55it/s] 50%|█████ | 14/28 [00:03<00:03, 3.54it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.54it/s] 61%|██████ | 17/28 [00:04<00:03, 3.54it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.54it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.54it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.54it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.54it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.54it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.54it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.54it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.54it/s] 100%|██████████| 28/28 [00:07<00:00, 3.54it/s] 100%|██████████| 28/28 [00:07<00:00, 3.57it/s]
Want to make some of these yourself?
Run this model