digital-darts / josh-generator
- Public
- 36 runs
-
H100
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51IDyxj6dkatsnrma0cnv718ftdpjwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Two side-by-side shots of Josh and his brand: Left: Sad Josh with “$300K profit” Right: Happy Josh with “$4.3M profit” Add a glowing arrow labeled “One Change”. Text: “One Shift = $4M?”
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 3
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Two side-by-side shots of Josh and his brand:\n\nLeft: Sad Josh with “$300K profit”\n\nRight: Happy Josh with “$4.3M profit”\nAdd a glowing arrow labeled “One Change”. Text:\n“One Shift = $4M?”", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "Two side-by-side shots of Josh and his brand:\n\nLeft: Sad Josh with “$300K profit”\n\nRight: Happy Josh with “$4.3M profit”\nAdd a glowing arrow labeled “One Change”. Text:\n“One Shift = $4M?”", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 3, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "Two side-by-side shots of Josh and his brand:\n\nLeft: Sad Josh with “$300K profit”\n\nRight: Happy Josh with “$4.3M profit”\nAdd a glowing arrow labeled “One Change”. Text:\n“One Shift = $4M?”", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "Two side-by-side shots of Josh and his brand:\\n\\nLeft: Sad Josh with “$300K profit”\\n\\nRight: Happy Josh with “$4.3M profit”\\nAdd a glowing arrow labeled “One Change”. Text:\\n“One Shift = $4M?”", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T22:39:36.181242Z", "created_at": "2025-03-27T22:39:07.981000Z", "data_removed": false, "error": null, "id": "yxj6dkatsnrma0cnv718ftdpjw", "input": { "model": "dev", "prompt": "Two side-by-side shots of Josh and his brand:\n\nLeft: Sad Josh with “$300K profit”\n\nRight: Happy Josh with “$4.3M profit”\nAdd a glowing arrow labeled “One Change”. Text:\n“One Shift = $4M?”", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Loaded LoRAs in 0.56s\nUsing seed: 35743\nPrompt: Two side-by-side shots of Josh and his brand:\nLeft: Sad Josh with “$300K profit”\nRight: Happy Josh with “$4.3M profit”\nAdd a glowing arrow labeled “One Change”. Text:\n“One Shift = $4M?”\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:19, 1.38it/s]\n 7%|▋ | 2/28 [00:01<00:16, 1.55it/s]\n 11%|█ | 3/28 [00:02<00:17, 1.46it/s]\n 14%|█▍ | 4/28 [00:02<00:16, 1.42it/s]\n 18%|█▊ | 5/28 [00:03<00:16, 1.40it/s]\n 21%|██▏ | 6/28 [00:04<00:15, 1.39it/s]\n 25%|██▌ | 7/28 [00:04<00:15, 1.38it/s]\n 29%|██▊ | 8/28 [00:05<00:14, 1.37it/s]\n 32%|███▏ | 9/28 [00:06<00:13, 1.37it/s]\n 36%|███▌ | 10/28 [00:07<00:13, 1.37it/s]\n 39%|███▉ | 11/28 [00:07<00:12, 1.37it/s]\n 43%|████▎ | 12/28 [00:08<00:11, 1.36it/s]\n 46%|████▋ | 13/28 [00:09<00:11, 1.36it/s]\n 50%|█████ | 14/28 [00:10<00:10, 1.36it/s]\n 54%|█████▎ | 15/28 [00:10<00:09, 1.36it/s]\n 57%|█████▋ | 16/28 [00:11<00:08, 1.36it/s]\n 61%|██████ | 17/28 [00:12<00:08, 1.36it/s]\n 64%|██████▍ | 18/28 [00:13<00:07, 1.36it/s]\n 68%|██████▊ | 19/28 [00:13<00:06, 1.36it/s]\n 71%|███████▏ | 20/28 [00:14<00:05, 1.36it/s]\n 75%|███████▌ | 21/28 [00:15<00:05, 1.36it/s]\n 79%|███████▊ | 22/28 [00:16<00:04, 1.36it/s]\n 82%|████████▏ | 23/28 [00:16<00:03, 1.36it/s]\n 86%|████████▌ | 24/28 [00:17<00:02, 1.36it/s]\n 89%|████████▉ | 25/28 [00:18<00:02, 1.36it/s]\n 93%|█████████▎| 26/28 [00:18<00:01, 1.36it/s]\n 96%|█████████▋| 27/28 [00:19<00:00, 1.36it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.36it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.37it/s]\nTotal safe images: 3 out of 3", "metrics": { "predict_time": 23.357691134, "total_time": 28.200242 }, "output": [ "https://replicate.delivery/xezq/Dm2PEjsZXUb5N5BHYAjBSeIsmWSesCKgpZVC0fB7HBxRtw5oA/out-0.jpg", "https://replicate.delivery/xezq/ReGEFaGV6JSwJ6Uegw4YOcFiefvxnmbAd0P7dGpdey6E1CnjC/out-1.jpg", "https://replicate.delivery/xezq/uuYbshnOuIppBBFzhO5ijQ1rdfEzJVNY8Lxu94AXn6SULcOKA/out-2.jpg" ], "started_at": "2025-03-27T22:39:12.823551Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-6hpdoiyh7moievvvbexmyq2q2uloybvgw26tho5ukkrgm65rkuyq", "get": "https://api.replicate.com/v1/predictions/yxj6dkatsnrma0cnv718ftdpjw", "cancel": "https://api.replicate.com/v1/predictions/yxj6dkatsnrma0cnv718ftdpjw/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated inLoaded LoRAs in 0.56s Using seed: 35743 Prompt: Two side-by-side shots of Josh and his brand: Left: Sad Josh with “$300K profit” Right: Happy Josh with “$4.3M profit” Add a glowing arrow labeled “One Change”. Text: “One Shift = $4M?” [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:19, 1.38it/s] 7%|▋ | 2/28 [00:01<00:16, 1.55it/s] 11%|█ | 3/28 [00:02<00:17, 1.46it/s] 14%|█▍ | 4/28 [00:02<00:16, 1.42it/s] 18%|█▊ | 5/28 [00:03<00:16, 1.40it/s] 21%|██▏ | 6/28 [00:04<00:15, 1.39it/s] 25%|██▌ | 7/28 [00:04<00:15, 1.38it/s] 29%|██▊ | 8/28 [00:05<00:14, 1.37it/s] 32%|███▏ | 9/28 [00:06<00:13, 1.37it/s] 36%|███▌ | 10/28 [00:07<00:13, 1.37it/s] 39%|███▉ | 11/28 [00:07<00:12, 1.37it/s] 43%|████▎ | 12/28 [00:08<00:11, 1.36it/s] 46%|████▋ | 13/28 [00:09<00:11, 1.36it/s] 50%|█████ | 14/28 [00:10<00:10, 1.36it/s] 54%|█████▎ | 15/28 [00:10<00:09, 1.36it/s] 57%|█████▋ | 16/28 [00:11<00:08, 1.36it/s] 61%|██████ | 17/28 [00:12<00:08, 1.36it/s] 64%|██████▍ | 18/28 [00:13<00:07, 1.36it/s] 68%|██████▊ | 19/28 [00:13<00:06, 1.36it/s] 71%|███████▏ | 20/28 [00:14<00:05, 1.36it/s] 75%|███████▌ | 21/28 [00:15<00:05, 1.36it/s] 79%|███████▊ | 22/28 [00:16<00:04, 1.36it/s] 82%|████████▏ | 23/28 [00:16<00:03, 1.36it/s] 86%|████████▌ | 24/28 [00:17<00:02, 1.36it/s] 89%|████████▉ | 25/28 [00:18<00:02, 1.36it/s] 93%|█████████▎| 26/28 [00:18<00:01, 1.36it/s] 96%|█████████▋| 27/28 [00:19<00:00, 1.36it/s] 100%|██████████| 28/28 [00:20<00:00, 1.36it/s] 100%|██████████| 28/28 [00:20<00:00, 1.37it/s] Total safe images: 3 out of 3
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51ID0jngxdphp9rma0cnv75aqkwy9wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric "profit". Realistic photo.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric \"profit\". Realistic photo.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric \"profit\". Realistic photo.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 4, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric \"profit\". Realistic photo.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric \\"profit\\". Realistic photo.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T22:48:52.048456Z", "created_at": "2025-03-27T22:48:22.706000Z", "data_removed": false, "error": null, "id": "0jngxdphp9rma0cnv75aqkwy9w", "input": { "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric \"profit\". Realistic photo.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=26916195876864\nDownloading weights\n2025-03-27T22:48:22Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpe4jan4iv/weights url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar\n2025-03-27T22:48:24Z | INFO | [ Complete ] dest=/tmp/tmpe4jan4iv/weights size=\"172 MB\" total_elapsed=1.249s url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar\nDownloaded weights in 1.27s\nLoaded LoRAs in 1.87s\nUsing seed: 1198\nPrompt: A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric \"profit\". Realistic photo.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.05it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.19it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.12it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.09it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.05it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.05it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.05it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.05it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.04it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.04it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.04it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.04it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.05it/s]\nTotal safe images: 4 out of 4", "metrics": { "predict_time": 29.215102304, "total_time": 29.342456 }, "output": [ "https://replicate.delivery/xezq/wC9u8eV59PVcIaQHpQQ9YDFEwpKdKg1Fsflbkf4i66koehzRB/out-0.jpg", "https://replicate.delivery/xezq/asXEjko3AeSxfEkjzyE4o7AgVM3pcnFpHnN3d5TWlHRUfw5oA/out-1.jpg", "https://replicate.delivery/xezq/sRcpyfEzRWxtEij65MSdHOcMEIv4ff3OO0dPwxBeD6yS9hzRB/out-2.jpg", "https://replicate.delivery/xezq/iy3HivTe4CUgRCVvrfBgEqEpuFXkiiTeVmfstjElNegh6DnjC/out-3.jpg" ], "started_at": "2025-03-27T22:48:22.833354Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-xyc3jmj6evizgap5lhzwgosqyu7t3tl73mrz4payahos6idxivyq", "get": "https://api.replicate.com/v1/predictions/0jngxdphp9rma0cnv75aqkwy9w", "cancel": "https://api.replicate.com/v1/predictions/0jngxdphp9rma0cnv75aqkwy9w/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated infree=26916195876864 Downloading weights 2025-03-27T22:48:22Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpe4jan4iv/weights url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar 2025-03-27T22:48:24Z | INFO | [ Complete ] dest=/tmp/tmpe4jan4iv/weights size="172 MB" total_elapsed=1.249s url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar Downloaded weights in 1.27s Loaded LoRAs in 1.87s Using seed: 1198 Prompt: A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red graph going down with a metric "profit". Realistic photo. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.05it/s] 7%|▋ | 2/28 [00:01<00:21, 1.19it/s] 11%|█ | 3/28 [00:02<00:22, 1.12it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.09it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.05it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.05it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s] 50%|█████ | 14/28 [00:13<00:13, 1.05it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.05it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s] 61%|██████ | 17/28 [00:16<00:10, 1.04it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.04it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.04it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.04it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.05it/s] Total safe images: 4 out of 4
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51IDa6f0ve7691rm80cnv77rradn1rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Two side-by-side shots of Josh: Left: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad 'before' weight loss photo. Hunched, pale skin. Right: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good 'after' weight loss photo. Good posture, clean skin.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 3
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Two side-by-side shots of Josh:\n\nLeft: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad 'before' weight loss photo. Hunched, pale skin.\n\nRight: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good 'after' weight loss photo. Good posture, clean skin.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "Two side-by-side shots of Josh:\n\nLeft: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad 'before' weight loss photo. Hunched, pale skin.\n\nRight: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good 'after' weight loss photo. Good posture, clean skin.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 3, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "Two side-by-side shots of Josh:\n\nLeft: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad 'before' weight loss photo. Hunched, pale skin.\n\nRight: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good 'after' weight loss photo. Good posture, clean skin.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "Two side-by-side shots of Josh:\\n\\nLeft: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad \'before\' weight loss photo. Hunched, pale skin.\\n\\nRight: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good \'after\' weight loss photo. Good posture, clean skin.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T22:54:22.676344Z", "created_at": "2025-03-27T22:53:55.656000Z", "data_removed": false, "error": null, "id": "a6f0ve7691rm80cnv77rradn1r", "input": { "model": "dev", "prompt": "Two side-by-side shots of Josh:\n\nLeft: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad 'before' weight loss photo. Hunched, pale skin.\n\nRight: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good 'after' weight loss photo. Good posture, clean skin.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=26533052776448\nDownloading weights\n2025-03-27T22:53:56Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpvzzk9c45/weights url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar\n2025-03-27T22:53:59Z | INFO | [ Complete ] dest=/tmp/tmpvzzk9c45/weights size=\"172 MB\" total_elapsed=3.412s url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar\nDownloaded weights in 3.43s\nLoaded LoRAs in 3.99s\nUsing seed: 20765\nPrompt: Two side-by-side shots of Josh:\nLeft: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad 'before' weight loss photo. Hunched, pale skin.\nRight: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good 'after' weight loss photo. Good posture, clean skin.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:19, 1.39it/s]\n 7%|▋ | 2/28 [00:01<00:16, 1.56it/s]\n 11%|█ | 3/28 [00:02<00:16, 1.47it/s]\n 14%|█▍ | 4/28 [00:02<00:16, 1.43it/s]\n 18%|█▊ | 5/28 [00:03<00:16, 1.41it/s]\n 21%|██▏ | 6/28 [00:04<00:15, 1.40it/s]\n 25%|██▌ | 7/28 [00:04<00:15, 1.39it/s]\n 29%|██▊ | 8/28 [00:05<00:14, 1.39it/s]\n 32%|███▏ | 9/28 [00:06<00:13, 1.39it/s]\n 36%|███▌ | 10/28 [00:07<00:13, 1.38it/s]\n 39%|███▉ | 11/28 [00:07<00:12, 1.38it/s]\n 43%|████▎ | 12/28 [00:08<00:11, 1.38it/s]\n 46%|████▋ | 13/28 [00:09<00:10, 1.38it/s]\n 50%|█████ | 14/28 [00:10<00:10, 1.38it/s]\n 54%|█████▎ | 15/28 [00:10<00:09, 1.38it/s]\n 57%|█████▋ | 16/28 [00:11<00:08, 1.38it/s]\n 61%|██████ | 17/28 [00:12<00:07, 1.38it/s]\n 64%|██████▍ | 18/28 [00:12<00:07, 1.38it/s]\n 68%|██████▊ | 19/28 [00:13<00:06, 1.38it/s]\n 71%|███████▏ | 20/28 [00:14<00:05, 1.38it/s]\n 75%|███████▌ | 21/28 [00:15<00:05, 1.38it/s]\n 79%|███████▊ | 22/28 [00:15<00:04, 1.38it/s]\n 82%|████████▏ | 23/28 [00:16<00:03, 1.38it/s]\n 86%|████████▌ | 24/28 [00:17<00:02, 1.38it/s]\n 89%|████████▉ | 25/28 [00:18<00:02, 1.38it/s]\n 93%|█████████▎| 26/28 [00:18<00:01, 1.38it/s]\n 96%|█████████▋| 27/28 [00:19<00:00, 1.38it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.38it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.39it/s]\nTotal safe images: 3 out of 3", "metrics": { "predict_time": 26.493697359, "total_time": 27.020344 }, "output": [ "https://replicate.delivery/xezq/sgrQsqPt6iYjJZNKQcPEvzwF2VqMrvUbgYhDHCSyOvqHJOHF/out-0.jpg", "https://replicate.delivery/xezq/lH1O6fyRf5pMGkNtqbWeIHOF4wcCfhrH1bqeiwWwVW40jEnjC/out-1.jpg", "https://replicate.delivery/xezq/iiMGt38kVL7kIlKtbHzwjxJiah8Be6PDDG2S9efYQaA9Ix5oA/out-2.jpg" ], "started_at": "2025-03-27T22:53:56.182647Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-3zr4kewsrfjxfqd7ekyiwig5m65vfg4z52kna2opq3v6sq4mvdra", "get": "https://api.replicate.com/v1/predictions/a6f0ve7691rm80cnv77rradn1r", "cancel": "https://api.replicate.com/v1/predictions/a6f0ve7691rm80cnv77rradn1r/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated infree=26533052776448 Downloading weights 2025-03-27T22:53:56Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpvzzk9c45/weights url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar 2025-03-27T22:53:59Z | INFO | [ Complete ] dest=/tmp/tmpvzzk9c45/weights size="172 MB" total_elapsed=3.412s url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar Downloaded weights in 3.43s Loaded LoRAs in 3.99s Using seed: 20765 Prompt: Two side-by-side shots of Josh: Left: Sad Josh on plain wall background with giant red text label at bottom: “$300K profit”. The poor quality photo and bad fluorescent lighting looks like a bad 'before' weight loss photo. Hunched, pale skin. Right: Happy Josh on plain wall background with giant green text label at bottom: “$4.3M profit”. The great quality photo and flattering natural lighting looks like a good 'after' weight loss photo. Good posture, clean skin. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:19, 1.39it/s] 7%|▋ | 2/28 [00:01<00:16, 1.56it/s] 11%|█ | 3/28 [00:02<00:16, 1.47it/s] 14%|█▍ | 4/28 [00:02<00:16, 1.43it/s] 18%|█▊ | 5/28 [00:03<00:16, 1.41it/s] 21%|██▏ | 6/28 [00:04<00:15, 1.40it/s] 25%|██▌ | 7/28 [00:04<00:15, 1.39it/s] 29%|██▊ | 8/28 [00:05<00:14, 1.39it/s] 32%|███▏ | 9/28 [00:06<00:13, 1.39it/s] 36%|███▌ | 10/28 [00:07<00:13, 1.38it/s] 39%|███▉ | 11/28 [00:07<00:12, 1.38it/s] 43%|████▎ | 12/28 [00:08<00:11, 1.38it/s] 46%|████▋ | 13/28 [00:09<00:10, 1.38it/s] 50%|█████ | 14/28 [00:10<00:10, 1.38it/s] 54%|█████▎ | 15/28 [00:10<00:09, 1.38it/s] 57%|█████▋ | 16/28 [00:11<00:08, 1.38it/s] 61%|██████ | 17/28 [00:12<00:07, 1.38it/s] 64%|██████▍ | 18/28 [00:12<00:07, 1.38it/s] 68%|██████▊ | 19/28 [00:13<00:06, 1.38it/s] 71%|███████▏ | 20/28 [00:14<00:05, 1.38it/s] 75%|███████▌ | 21/28 [00:15<00:05, 1.38it/s] 79%|███████▊ | 22/28 [00:15<00:04, 1.38it/s] 82%|████████▏ | 23/28 [00:16<00:03, 1.38it/s] 86%|████████▌ | 24/28 [00:17<00:02, 1.38it/s] 89%|████████▉ | 25/28 [00:18<00:02, 1.38it/s] 93%|█████████▎| 26/28 [00:18<00:01, 1.38it/s] 96%|█████████▋| 27/28 [00:19<00:00, 1.38it/s] 100%|██████████| 28/28 [00:20<00:00, 1.38it/s] 100%|██████████| 28/28 [00:20<00:00, 1.39it/s] Total safe images: 3 out of 3
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51ID118w24wx91rme0cnv79avw9apgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 3
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror. ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 3, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror. ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T22:57:15.356407Z", "created_at": "2025-03-27T22:56:53.576000Z", "data_removed": false, "error": null, "id": "118w24wx91rme0cnv79avw9apg", "input": { "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Loaded LoRAs in 0.56s\nUsing seed: 9004\nPrompt: A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:19, 1.39it/s]\n 7%|▋ | 2/28 [00:01<00:16, 1.55it/s]\n 11%|█ | 3/28 [00:02<00:17, 1.46it/s]\n 14%|█▍ | 4/28 [00:02<00:16, 1.42it/s]\n 18%|█▊ | 5/28 [00:03<00:16, 1.40it/s]\n 21%|██▏ | 6/28 [00:04<00:15, 1.39it/s]\n 25%|██▌ | 7/28 [00:04<00:15, 1.38it/s]\n 29%|██▊ | 8/28 [00:05<00:14, 1.37it/s]\n 32%|███▏ | 9/28 [00:06<00:13, 1.37it/s]\n 36%|███▌ | 10/28 [00:07<00:13, 1.37it/s]\n 39%|███▉ | 11/28 [00:07<00:12, 1.37it/s]\n 43%|████▎ | 12/28 [00:08<00:11, 1.37it/s]\n 46%|████▋ | 13/28 [00:09<00:10, 1.36it/s]\n 50%|█████ | 14/28 [00:10<00:10, 1.36it/s]\n 54%|█████▎ | 15/28 [00:10<00:09, 1.36it/s]\n 57%|█████▋ | 16/28 [00:11<00:08, 1.36it/s]\n 61%|██████ | 17/28 [00:12<00:08, 1.36it/s]\n 64%|██████▍ | 18/28 [00:13<00:07, 1.36it/s]\n 68%|██████▊ | 19/28 [00:13<00:06, 1.36it/s]\n 71%|███████▏ | 20/28 [00:14<00:05, 1.36it/s]\n 75%|███████▌ | 21/28 [00:15<00:05, 1.36it/s]\n 79%|███████▊ | 22/28 [00:15<00:04, 1.36it/s]\n 82%|████████▏ | 23/28 [00:16<00:03, 1.36it/s]\n 86%|████████▌ | 24/28 [00:17<00:02, 1.36it/s]\n 89%|████████▉ | 25/28 [00:18<00:02, 1.36it/s]\n 93%|█████████▎| 26/28 [00:18<00:01, 1.36it/s]\n 96%|█████████▋| 27/28 [00:19<00:00, 1.36it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.36it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.37it/s]\nTotal safe images: 3 out of 3", "metrics": { "predict_time": 21.544788758, "total_time": 21.780407 }, "output": [ "https://replicate.delivery/xezq/TeQpdfQuDPmwj0fL2USNgjiDGQnq966kUFa0bPiRRfFucizRB/out-0.jpg", "https://replicate.delivery/xezq/161s4Bz9nWICCNbnFFK0zMFyYrgcBAlFOGF5Ogb5wM2yJOHF/out-1.jpg", "https://replicate.delivery/xezq/bkn4JC7inXrbJ5N89vbOV9vM8M2j0Dq4fbUZw9JHfv7Ln4cUA/out-2.jpg" ], "started_at": "2025-03-27T22:56:53.811618Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-xpldnx7twkhsu733qmsuwvafjvdc2yi22vy4ffjix4aqnmuhvppq", "get": "https://api.replicate.com/v1/predictions/118w24wx91rme0cnv79avw9apg", "cancel": "https://api.replicate.com/v1/predictions/118w24wx91rme0cnv79avw9apg/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated inLoaded LoRAs in 0.56s Using seed: 9004 Prompt: A pile of burning cash coming out of a Facebook Ads laptop while Josh watches in horror. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:19, 1.39it/s] 7%|▋ | 2/28 [00:01<00:16, 1.55it/s] 11%|█ | 3/28 [00:02<00:17, 1.46it/s] 14%|█▍ | 4/28 [00:02<00:16, 1.42it/s] 18%|█▊ | 5/28 [00:03<00:16, 1.40it/s] 21%|██▏ | 6/28 [00:04<00:15, 1.39it/s] 25%|██▌ | 7/28 [00:04<00:15, 1.38it/s] 29%|██▊ | 8/28 [00:05<00:14, 1.37it/s] 32%|███▏ | 9/28 [00:06<00:13, 1.37it/s] 36%|███▌ | 10/28 [00:07<00:13, 1.37it/s] 39%|███▉ | 11/28 [00:07<00:12, 1.37it/s] 43%|████▎ | 12/28 [00:08<00:11, 1.37it/s] 46%|████▋ | 13/28 [00:09<00:10, 1.36it/s] 50%|█████ | 14/28 [00:10<00:10, 1.36it/s] 54%|█████▎ | 15/28 [00:10<00:09, 1.36it/s] 57%|█████▋ | 16/28 [00:11<00:08, 1.36it/s] 61%|██████ | 17/28 [00:12<00:08, 1.36it/s] 64%|██████▍ | 18/28 [00:13<00:07, 1.36it/s] 68%|██████▊ | 19/28 [00:13<00:06, 1.36it/s] 71%|███████▏ | 20/28 [00:14<00:05, 1.36it/s] 75%|███████▌ | 21/28 [00:15<00:05, 1.36it/s] 79%|███████▊ | 22/28 [00:15<00:04, 1.36it/s] 82%|████████▏ | 23/28 [00:16<00:03, 1.36it/s] 86%|████████▌ | 24/28 [00:17<00:02, 1.36it/s] 89%|████████▉ | 25/28 [00:18<00:02, 1.36it/s] 93%|█████████▎| 26/28 [00:18<00:01, 1.36it/s] 96%|█████████▋| 27/28 [00:19<00:00, 1.36it/s] 100%|██████████| 28/28 [00:20<00:00, 1.36it/s] 100%|██████████| 28/28 [00:20<00:00, 1.37it/s] Total safe images: 3 out of 3
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51IDty48s3rftdrm80cnv7bsramdh8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text "sales". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text \"sales\". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text \"sales\". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 4, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text \"sales\". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text \\"sales\\". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T23:02:13.858494Z", "created_at": "2025-03-27T23:01:45.043000Z", "data_removed": false, "error": null, "id": "ty48s3rftdrm80cnv7bsramdh8", "input": { "model": "dev", "prompt": "A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text \"sales\". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Loaded LoRAs in 0.57s\nUsing seed: 21582\nPrompt: A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text \"sales\". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.05it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.19it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.12it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.09it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.05it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.05it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.05it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.04it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.04it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.04it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.04it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.05it/s]\nTotal safe images: 4 out of 4", "metrics": { "predict_time": 27.921837831, "total_time": 28.815494 }, "output": [ "https://replicate.delivery/xezq/QzsZQb2Zpd7BMxN9TmCZew3yu03Q5ULHd5ECVIfL5Z41r4cUA/out-0.jpg", "https://replicate.delivery/xezq/Av8CFsXfNbXsVqUfeGV0Om7bKIICkKPBjkAwpzh2rWHrXx5oA/out-1.jpg", "https://replicate.delivery/xezq/zCuRnV0kqxLMIBSXiNJG2PsoRUYBkqlHtRu6ghJkVEf6VcOKA/out-2.jpg", "https://replicate.delivery/xezq/fR4hp6LPN0XYEaODN1N4SGwWeaXRnR2ljvwvJE1BJ5K1r4cUA/out-3.jpg" ], "started_at": "2025-03-27T23:01:45.936656Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-e57yglyzkaz2ixs662laxzk2h7hpyjjomdmmblt7h7woyvo2ejga", "get": "https://api.replicate.com/v1/predictions/ty48s3rftdrm80cnv7bsramdh8", "cancel": "https://api.replicate.com/v1/predictions/ty48s3rftdrm80cnv7bsramdh8/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated inLoaded LoRAs in 0.57s Using seed: 21582 Prompt: A sad, distraught Josh, hands on head, looking at his laptop. Behind him is a red glowing graph trending downwards with a metric text "sales". The y axis of the graph goes from $1m to $0 and the x axis goes from Feb to Sept. Realistic photo. The glow from graph casts side lighting on Josh. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.05it/s] 7%|▋ | 2/28 [00:01<00:21, 1.19it/s] 11%|█ | 3/28 [00:02<00:22, 1.12it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.09it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.05it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.05it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s] 50%|█████ | 14/28 [00:13<00:13, 1.05it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s] 61%|██████ | 17/28 [00:16<00:10, 1.04it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.04it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.04it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.04it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.05it/s] Total safe images: 4 out of 4
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51IDtv0t1nx5j9rm80cnv7artwv38rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 3
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror. ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 3, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror. ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T23:00:33.747600Z", "created_at": "2025-03-27T23:00:12.306000Z", "data_removed": false, "error": null, "id": "tv0t1nx5j9rm80cnv7artwv38r", "input": { "model": "dev", "prompt": "A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Loaded LoRAs in 0.57s\nUsing seed: 43429\nPrompt: A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:19, 1.39it/s]\n 7%|▋ | 2/28 [00:01<00:16, 1.58it/s]\n 11%|█ | 3/28 [00:02<00:16, 1.48it/s]\n 14%|█▍ | 4/28 [00:02<00:16, 1.44it/s]\n 18%|█▊ | 5/28 [00:03<00:16, 1.42it/s]\n 21%|██▏ | 6/28 [00:04<00:15, 1.41it/s]\n 25%|██▌ | 7/28 [00:04<00:15, 1.40it/s]\n 29%|██▊ | 8/28 [00:05<00:14, 1.40it/s]\n 32%|███▏ | 9/28 [00:06<00:13, 1.39it/s]\n 36%|███▌ | 10/28 [00:07<00:12, 1.39it/s]\n 39%|███▉ | 11/28 [00:07<00:12, 1.39it/s]\n 43%|████▎ | 12/28 [00:08<00:11, 1.39it/s]\n 46%|████▋ | 13/28 [00:09<00:10, 1.39it/s]\n 50%|█████ | 14/28 [00:09<00:10, 1.39it/s]\n 54%|█████▎ | 15/28 [00:10<00:09, 1.39it/s]\n 57%|█████▋ | 16/28 [00:11<00:08, 1.38it/s]\n 61%|██████ | 17/28 [00:12<00:07, 1.38it/s]\n 64%|██████▍ | 18/28 [00:12<00:07, 1.38it/s]\n 68%|██████▊ | 19/28 [00:13<00:06, 1.39it/s]\n 71%|███████▏ | 20/28 [00:14<00:05, 1.39it/s]\n 75%|███████▌ | 21/28 [00:15<00:05, 1.38it/s]\n 79%|███████▊ | 22/28 [00:15<00:04, 1.38it/s]\n 82%|████████▏ | 23/28 [00:16<00:03, 1.38it/s]\n 86%|████████▌ | 24/28 [00:17<00:02, 1.38it/s]\n 89%|████████▉ | 25/28 [00:17<00:02, 1.38it/s]\n 93%|█████████▎| 26/28 [00:18<00:01, 1.38it/s]\n 96%|█████████▋| 27/28 [00:19<00:00, 1.38it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.38it/s]\n100%|██████████| 28/28 [00:20<00:00, 1.39it/s]\nTotal safe images: 3 out of 3", "metrics": { "predict_time": 21.216387686, "total_time": 21.4416 }, "output": [ "https://replicate.delivery/xezq/MWkLHMbxl55bLZeqm1Bf2RtdtejjOVMiNNhbTR3b3GSiUx5oA/out-0.jpg", "https://replicate.delivery/xezq/m7EM4WzTEC7QJxvNersZ0lnz1NWwoPsD20QQWzGb05lIVcOKA/out-1.jpg", "https://replicate.delivery/xezq/MZwgUqWk4w67IRnuHhH70A5TTgeQTPp14uzQVgdTGB4IVcOKA/out-2.jpg" ], "started_at": "2025-03-27T23:00:12.531213Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-akro4gyay6oq77pqbz62ecyenkhsacaayn6ionawizynlqy3w4ba", "get": "https://api.replicate.com/v1/predictions/tv0t1nx5j9rm80cnv7artwv38r", "cancel": "https://api.replicate.com/v1/predictions/tv0t1nx5j9rm80cnv7artwv38r/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated inLoaded LoRAs in 0.57s Using seed: 43429 Prompt: A pile of burning cash coming out of a Facebook Ads laptop while a shocked Josh watches in horror. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:19, 1.39it/s] 7%|▋ | 2/28 [00:01<00:16, 1.58it/s] 11%|█ | 3/28 [00:02<00:16, 1.48it/s] 14%|█▍ | 4/28 [00:02<00:16, 1.44it/s] 18%|█▊ | 5/28 [00:03<00:16, 1.42it/s] 21%|██▏ | 6/28 [00:04<00:15, 1.41it/s] 25%|██▌ | 7/28 [00:04<00:15, 1.40it/s] 29%|██▊ | 8/28 [00:05<00:14, 1.40it/s] 32%|███▏ | 9/28 [00:06<00:13, 1.39it/s] 36%|███▌ | 10/28 [00:07<00:12, 1.39it/s] 39%|███▉ | 11/28 [00:07<00:12, 1.39it/s] 43%|████▎ | 12/28 [00:08<00:11, 1.39it/s] 46%|████▋ | 13/28 [00:09<00:10, 1.39it/s] 50%|█████ | 14/28 [00:09<00:10, 1.39it/s] 54%|█████▎ | 15/28 [00:10<00:09, 1.39it/s] 57%|█████▋ | 16/28 [00:11<00:08, 1.38it/s] 61%|██████ | 17/28 [00:12<00:07, 1.38it/s] 64%|██████▍ | 18/28 [00:12<00:07, 1.38it/s] 68%|██████▊ | 19/28 [00:13<00:06, 1.39it/s] 71%|███████▏ | 20/28 [00:14<00:05, 1.39it/s] 75%|███████▌ | 21/28 [00:15<00:05, 1.38it/s] 79%|███████▊ | 22/28 [00:15<00:04, 1.38it/s] 82%|████████▏ | 23/28 [00:16<00:03, 1.38it/s] 86%|████████▌ | 24/28 [00:17<00:02, 1.38it/s] 89%|████████▉ | 25/28 [00:17<00:02, 1.38it/s] 93%|█████████▎| 26/28 [00:18<00:01, 1.38it/s] 96%|█████████▋| 27/28 [00:19<00:00, 1.38it/s] 100%|██████████| 28/28 [00:20<00:00, 1.38it/s] 100%|██████████| 28/28 [00:20<00:00, 1.39it/s] Total safe images: 3 out of 3
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51IDje8dwrb1cxrma0cnv7h9ck91ywStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Split screen: Left: Stressed Josh at laptop, dark background, “$50k/yr” in red. Right: Relaxed Josh at laptop, light background, “$4M Profit” in green. Use a thick white arrow crossing from left to right. Text: “Before / After” (keep it subtle, tucked low).
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Split screen:\n\nLeft: Stressed Josh at laptop, dark background, “$50k/yr” in red.\n\nRight: Relaxed Josh at laptop, light background, “$4M Profit” in green.\nUse a thick white arrow crossing from left to right.\nText: “Before / After” (keep it subtle, tucked low).", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "Split screen:\n\nLeft: Stressed Josh at laptop, dark background, “$50k/yr” in red.\n\nRight: Relaxed Josh at laptop, light background, “$4M Profit” in green.\nUse a thick white arrow crossing from left to right.\nText: “Before / After” (keep it subtle, tucked low).", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 4, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "Split screen:\n\nLeft: Stressed Josh at laptop, dark background, “$50k/yr” in red.\n\nRight: Relaxed Josh at laptop, light background, “$4M Profit” in green.\nUse a thick white arrow crossing from left to right.\nText: “Before / After” (keep it subtle, tucked low).", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "Split screen:\\n\\nLeft: Stressed Josh at laptop, dark background, “$50k/yr” in red.\\n\\nRight: Relaxed Josh at laptop, light background, “$4M Profit” in green.\\nUse a thick white arrow crossing from left to right.\\nText: “Before / After” (keep it subtle, tucked low).", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T23:14:36.196744Z", "created_at": "2025-03-27T23:14:06.823000Z", "data_removed": false, "error": null, "id": "je8dwrb1cxrma0cnv7h9ck91yw", "input": { "model": "dev", "prompt": "Split screen:\n\nLeft: Stressed Josh at laptop, dark background, “$50k/yr” in red.\n\nRight: Relaxed Josh at laptop, light background, “$4M Profit” in green.\nUse a thick white arrow crossing from left to right.\nText: “Before / After” (keep it subtle, tucked low).", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Loaded LoRAs in 0.57s\nUsing seed: 57544\nPrompt: Split screen:\nLeft: Stressed Josh at laptop, dark background, “$50k/yr” in red.\nRight: Relaxed Josh at laptop, light background, “$4M Profit” in green.\nUse a thick white arrow crossing from left to right.\nText: “Before / After” (keep it subtle, tucked low).\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.04it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.18it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.11it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.08it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.06it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.05it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.05it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.05it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.04it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.04it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.04it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.04it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.04it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.04it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.04it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.04it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.04it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.04it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.04it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.04it/s]\nTotal safe images: 4 out of 4", "metrics": { "predict_time": 28.127042975, "total_time": 29.373744 }, "output": [ "https://replicate.delivery/xezq/aYBCLHfhDXzwaSLESH3u9pfPav4QXrW7E2GgTaCobvNc34cUA/out-0.jpg", "https://replicate.delivery/xezq/vmSVY0CtKvpGOxeEkaxufMyFNm7eQmCgBHvsEBUjMcM4ux5oA/out-1.jpg", "https://replicate.delivery/xezq/W3wdb0dMi5ooJJ0eY6jmjpXwnmy7TweLQRykItb670kc34cUA/out-2.jpg", "https://replicate.delivery/xezq/B5DBhlN1MVosPVAY6KWjWhuO5omQeRmj5GpgpIue2H7c34cUA/out-3.jpg" ], "started_at": "2025-03-27T23:14:08.069702Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-b67pk3n326h4sewnasihfsccp2hpq6xqd4dpd3ztydqblukozfsa", "get": "https://api.replicate.com/v1/predictions/je8dwrb1cxrma0cnv7h9ck91yw", "cancel": "https://api.replicate.com/v1/predictions/je8dwrb1cxrma0cnv7h9ck91yw/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated inLoaded LoRAs in 0.57s Using seed: 57544 Prompt: Split screen: Left: Stressed Josh at laptop, dark background, “$50k/yr” in red. Right: Relaxed Josh at laptop, light background, “$4M Profit” in green. Use a thick white arrow crossing from left to right. Text: “Before / After” (keep it subtle, tucked low). [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.04it/s] 7%|▋ | 2/28 [00:01<00:22, 1.18it/s] 11%|█ | 3/28 [00:02<00:22, 1.11it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.08it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.06it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.05it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.05it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.05it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.04it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.04it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.04it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.04it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.04it/s] 50%|█████ | 14/28 [00:13<00:13, 1.04it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s] 61%|██████ | 17/28 [00:16<00:10, 1.04it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.04it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.04it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.04it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.04it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.04it/s] Total safe images: 4 out of 4
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51IDaxsfmce70srm80cnv7ha2h6srgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Side-by-side of Josh and a serious Jeff Bezos (use a public press photo). Between them is a glowing Shopify store icon. Text: “Bezos Knows” in clean serif font (Open Sans Bold). Use blue + yellow (Amazon colors) for contrast.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Side-by-side of Josh and a serious Jeff Bezos (use a public press photo).\nBetween them is a glowing Shopify store icon.\nText: “Bezos Knows” in clean serif font (Open Sans Bold).\nUse blue + yellow (Amazon colors) for contrast.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "Side-by-side of Josh and a serious Jeff Bezos (use a public press photo).\nBetween them is a glowing Shopify store icon.\nText: “Bezos Knows” in clean serif font (Open Sans Bold).\nUse blue + yellow (Amazon colors) for contrast.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 4, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "Side-by-side of Josh and a serious Jeff Bezos (use a public press photo).\nBetween them is a glowing Shopify store icon.\nText: “Bezos Knows” in clean serif font (Open Sans Bold).\nUse blue + yellow (Amazon colors) for contrast.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "Side-by-side of Josh and a serious Jeff Bezos (use a public press photo).\\nBetween them is a glowing Shopify store icon.\\nText: “Bezos Knows” in clean serif font (Open Sans Bold).\\nUse blue + yellow (Amazon colors) for contrast.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-27T23:15:03.583698Z", "created_at": "2025-03-27T23:14:32.838000Z", "data_removed": false, "error": null, "id": "axsfmce70srm80cnv7ha2h6srg", "input": { "model": "dev", "prompt": "Side-by-side of Josh and a serious Jeff Bezos (use a public press photo).\nBetween them is a glowing Shopify store icon.\nText: “Bezos Knows” in clean serif font (Open Sans Bold).\nUse blue + yellow (Amazon colors) for contrast.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Loaded LoRAs in 0.58s\nUsing seed: 5435\nPrompt: Side-by-side of Josh and a serious Jeff Bezos (use a public press photo).\nBetween them is a glowing Shopify store icon.\nText: “Bezos Knows” in clean serif font (Open Sans Bold).\nUse blue + yellow (Amazon colors) for contrast.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.05it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.18it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.11it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.08it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.05it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.05it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.05it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.04it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.04it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.04it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.04it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.04it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.04it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.04it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.04it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.05it/s]\nTotal safe images: 4 out of 4", "metrics": { "predict_time": 28.168587285, "total_time": 30.745698 }, "output": [ "https://replicate.delivery/xezq/87DCG54KKM7qIh0iVW2gbaqxb0N1P0t7bMJfcdzXeVw334cUA/out-0.jpg", "https://replicate.delivery/xezq/yeVLt38icbVFe074lo06ZJY2f61Ef5Im2ZEH3u6BlUf6eNOHF/out-1.jpg", "https://replicate.delivery/xezq/454UPe9njWTlM66uZlwEpkweBRMT31XDC5rvtdJcZTJ334cUA/out-2.jpg", "https://replicate.delivery/xezq/6b2MTfg856TVLypABCwKDri18egXFLmfG1BfP21kXT4dfGnjC/out-3.jpg" ], "started_at": "2025-03-27T23:14:35.415111Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-rioekd2p2r65reqhq2yg2cqhconynzpyet5htmneoobqk7euuesq", "get": "https://api.replicate.com/v1/predictions/axsfmce70srm80cnv7ha2h6srg", "cancel": "https://api.replicate.com/v1/predictions/axsfmce70srm80cnv7ha2h6srg/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated inLoaded LoRAs in 0.58s Using seed: 5435 Prompt: Side-by-side of Josh and a serious Jeff Bezos (use a public press photo). Between them is a glowing Shopify store icon. Text: “Bezos Knows” in clean serif font (Open Sans Bold). Use blue + yellow (Amazon colors) for contrast. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.05it/s] 7%|▋ | 2/28 [00:01<00:21, 1.18it/s] 11%|█ | 3/28 [00:02<00:22, 1.11it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.08it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.05it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.05it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.05it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.04it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.04it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.04it/s] 50%|█████ | 14/28 [00:13<00:13, 1.04it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s] 61%|██████ | 17/28 [00:16<00:10, 1.04it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.04it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.04it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.04it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.05it/s] Total safe images: 4 out of 4
Prediction
digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51IDtax9wbgfanrme0cnv88rnn22jrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says "ROAS" with a big red cross through it. Boken dof so only Josh and the sign in focus.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says \"ROAS\" with a big red cross through it. Boken dof so only Josh and the sign in focus.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", { input: { model: "dev", prompt: "sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says \"ROAS\" with a big red cross through it. Boken dof so only Josh and the sign in focus.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 4, aspect_ratio: "16:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run digital-darts/josh-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", input={ "model": "dev", "prompt": "sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says \"ROAS\" with a big red cross through it. Boken dof so only Josh and the sign in focus.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run digital-darts/josh-generator 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": "digital-darts/josh-generator:f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51", "input": { "model": "dev", "prompt": "sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says \\"ROAS\\" with a big red cross through it. Boken dof so only Josh and the sign in focus.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-28T00:05:39.629373Z", "created_at": "2025-03-28T00:05:06.005000Z", "data_removed": false, "error": null, "id": "tax9wbgfanrme0cnv88rnn22jr", "input": { "model": "dev", "prompt": "sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says \"ROAS\" with a big red cross through it. Boken dof so only Josh and the sign in focus.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=26529843601408\nDownloading weights\n2025-03-28T00:05:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp2j7x8yh3/weights url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar\n2025-03-28T00:05:11Z | INFO | [ Complete ] dest=/tmp/tmp2j7x8yh3/weights size=\"172 MB\" total_elapsed=5.773s url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar\nDownloaded weights in 5.79s\nLoaded LoRAs in 6.38s\nUsing seed: 15848\nPrompt: sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says \"ROAS\" with a big red cross through it. Boken dof so only Josh and the sign in focus.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.06it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.20it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.13it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.09it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.06it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.05it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.05it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.05it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.05it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.05it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.05it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.05it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.05it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.05it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.05it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.06it/s]\nTotal safe images: 4 out of 4", "metrics": { "predict_time": 33.555430148, "total_time": 33.624373 }, "output": [ "https://replicate.delivery/xezq/wVFf7634XlQYZSR8Ka1FaeMaroAG88pJ8MdkY4AFVH7Tn5cUA/out-0.jpg", "https://replicate.delivery/xezq/21DWvZPZYmJbNNPsMEZJQuy4jXKZb6aa6jxjCqe5eAqTn5cUA/out-1.jpg", "https://replicate.delivery/xezq/3XosySNjkPLoOlEjWWlfRkxoqNZBOKBYMx9OFgBF5fxTn5cUA/out-2.jpg", "https://replicate.delivery/xezq/HkQUCKvxcsZnHtVZMDA8j5acMKLHBCjSARTysHe9TZ3pzcOKA/out-3.jpg" ], "started_at": "2025-03-28T00:05:06.073943Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-5zx7gxx5dzfrxspb5c5rhpypdbnvigrsz3brlpsrccqw5gg4jmxa", "get": "https://api.replicate.com/v1/predictions/tax9wbgfanrme0cnv88rnn22jr", "cancel": "https://api.replicate.com/v1/predictions/tax9wbgfanrme0cnv88rnn22jr/cancel" }, "version": "f3bbaa54dbed0f89f5ea914bd095235d473bba93f7ba9ab255afad9a02758e51" }
Generated infree=26529843601408 Downloading weights 2025-03-28T00:05:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp2j7x8yh3/weights url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar 2025-03-28T00:05:11Z | INFO | [ Complete ] dest=/tmp/tmp2j7x8yh3/weights size="172 MB" total_elapsed=5.773s url=https://replicate.delivery/xezq/pGAEaxWw2hYdARsom0tsG0DZa4eQAYPJTEdgtw6emtw8RtcUA/trained_model.tar Downloaded weights in 5.79s Loaded LoRAs in 6.38s Using seed: 15848 Prompt: sad and poor Josh standing in front of homeless tents in the city, holding up a sign that says "ROAS" with a big red cross through it. Boken dof so only Josh and the sign in focus. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.06it/s] 7%|▋ | 2/28 [00:01<00:21, 1.20it/s] 11%|█ | 3/28 [00:02<00:22, 1.13it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.09it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.06it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s] 50%|█████ | 14/28 [00:13<00:13, 1.05it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.05it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.05it/s] 61%|██████ | 17/28 [00:15<00:10, 1.05it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.05it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.05it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.05it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.05it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.05it/s] 100%|██████████| 28/28 [00:26<00:00, 1.05it/s] 100%|██████████| 28/28 [00:26<00:00, 1.06it/s] Total safe images: 4 out of 4
Want to make some of these yourself?
Run this model