maxvanderwerf/crocs
Prediction
maxvanderwerf/crocs:7cc5327fID3j74hanvw5rm40cjnyptb7td7rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T15:24:32.030271Z", "created_at": "2024-10-21T15:24:11.617000Z", "data_removed": false, "error": null, "id": "3j74hanvw5rm40cjnyptb7td7r", "input": { "model": "dev", "prompt": "Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 10990\nPrompt: Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.79s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.50it/s]\n 7%|▋ | 2/28 [00:01<00:15, 1.68it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.59it/s]\n 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s]\n 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s]\n 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s]\n 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s]\n 50%|█████ | 14/28 [00:09<00:09, 1.51it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s]\n 61%|██████ | 17/28 [00:11<00:07, 1.51it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s]\n 71%|███████▏ | 20/28 [00:13<00:05, 1.50it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.50it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.50it/s]\n 82%|████████▏ | 23/28 [00:15<00:03, 1.50it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.50it/s]\n 89%|████████▉ | 25/28 [00:16<00:01, 1.50it/s]\n 93%|█████████▎| 26/28 [00:17<00:01, 1.50it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.50it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.50it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.51it/s]", "metrics": { "predict_time": 19.938210609, "total_time": 20.413271 }, "output": [ "https://replicate.delivery/yhqm/X6U8UuvYABKXM99zWB4FegWhMaFDvlnPTQ2LVfJ08m6wQCpTA/out-0.webp", "https://replicate.delivery/yhqm/CBakPJD0bMaTMhtzDjYcwPt4vAuwUD0n1h8lekL5c4OYIh0JA/out-1.webp" ], "started_at": "2024-10-21T15:24:12.092061Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3j74hanvw5rm40cjnyptb7td7r", "cancel": "https://api.replicate.com/v1/predictions/3j74hanvw5rm40cjnyptb7td7r/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 10990 Prompt: Amazing insta picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Focus on the crocs like in an ad [!] txt2img mode Using dev model Loaded LoRAs in 0.79s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.50it/s] 7%|▋ | 2/28 [00:01<00:15, 1.68it/s] 11%|█ | 3/28 [00:01<00:15, 1.59it/s] 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s] 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s] 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s] 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s] 50%|█████ | 14/28 [00:09<00:09, 1.51it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s] 61%|██████ | 17/28 [00:11<00:07, 1.51it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s] 71%|███████▏ | 20/28 [00:13<00:05, 1.50it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.50it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.50it/s] 82%|████████▏ | 23/28 [00:15<00:03, 1.50it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.50it/s] 89%|████████▉ | 25/28 [00:16<00:01, 1.50it/s] 93%|█████████▎| 26/28 [00:17<00:01, 1.50it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.50it/s] 100%|██████████| 28/28 [00:18<00:00, 1.50it/s] 100%|██████████| 28/28 [00:18<00:00, 1.51it/s]Prediction
maxvanderwerf/crocs:7cc5327fIDjs5qgg6kcxrm40cjnyy9dagn18StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T15:41:03.983547Z", "created_at": "2024-10-21T15:40:40.679000Z", "data_removed": false, "error": null, "id": "js5qgg6kcxrm40cjnyy9dagn18", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 35560\nPrompt: Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style\n[!] txt2img mode\nUsing dev model\nfree=8264872783872\nDownloading weights\n2024-10-21T15:40:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9bvvird2/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\n2024-10-21T15:40:44Z | INFO | [ Complete ] dest=/tmp/tmp9bvvird2/weights size=\"172 MB\" total_elapsed=3.317s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\nDownloaded weights in 3.35s\nLoaded LoRAs in 4.06s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.51it/s]\n 7%|▋ | 2/28 [00:01<00:15, 1.68it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.60it/s]\n 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s]\n 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s]\n 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.52it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s]\n 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s]\n 50%|█████ | 14/28 [00:09<00:09, 1.51it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s]\n 61%|██████ | 17/28 [00:11<00:07, 1.51it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s]\n 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s]\n 82%|████████▏ | 23/28 [00:15<00:03, 1.51it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s]\n 89%|████████▉ | 25/28 [00:16<00:01, 1.51it/s]\n 93%|█████████▎| 26/28 [00:17<00:01, 1.51it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.51it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.51it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.52it/s]", "metrics": { "predict_time": 23.170113996, "total_time": 23.304547 }, "output": [ "https://replicate.delivery/yhqm/1B2yAxmchEJeBaiDK4umTIFtfhloeSlbqw2uefH78B9fDoQ6E/out-0.webp", "https://replicate.delivery/yhqm/kbie2CbolnTyCKKRj8ZI5kdOwBu4NKvvTeJL5eqffy65BUIdC/out-1.webp" ], "started_at": "2024-10-21T15:40:40.813433Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/js5qgg6kcxrm40cjnyy9dagn18", "cancel": "https://api.replicate.com/v1/predictions/js5qgg6kcxrm40cjnyy9dagn18/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 35560 Prompt: Amazing photorealistic picture of a gorgeous athletic model on the beach with palm trees, wearing black crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style [!] txt2img mode Using dev model free=8264872783872 Downloading weights 2024-10-21T15:40:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9bvvird2/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar 2024-10-21T15:40:44Z | INFO | [ Complete ] dest=/tmp/tmp9bvvird2/weights size="172 MB" total_elapsed=3.317s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar Downloaded weights in 3.35s Loaded LoRAs in 4.06s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.51it/s] 7%|▋ | 2/28 [00:01<00:15, 1.68it/s] 11%|█ | 3/28 [00:01<00:15, 1.60it/s] 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s] 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s] 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.52it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s] 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s] 50%|█████ | 14/28 [00:09<00:09, 1.51it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s] 61%|██████ | 17/28 [00:11<00:07, 1.51it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s] 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s] 82%|████████▏ | 23/28 [00:15<00:03, 1.51it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s] 89%|████████▉ | 25/28 [00:16<00:01, 1.51it/s] 93%|█████████▎| 26/28 [00:17<00:01, 1.51it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.51it/s] 100%|██████████| 28/28 [00:18<00:00, 1.51it/s] 100%|██████████| 28/28 [00:18<00:00, 1.52it/s]Prediction
maxvanderwerf/crocs:7cc5327fIDjg2wg7mpd9rm20cjnz1t0qw244StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style
- lora_scale
- 1.25
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1.25, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", lora_scale: 1.25, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1.25, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1.25, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T15:48:26.956652Z", "created_at": "2024-10-21T15:48:03.818000Z", "data_removed": false, "error": null, "id": "jg2wg7mpd9rm20cjnz1t0qw244", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1.25, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 31392\nPrompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style\n[!] txt2img mode\nUsing dev model\nfree=8982133383168\nDownloading weights\n2024-10-21T15:48:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6b9jgjwx/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\n2024-10-21T15:48:07Z | INFO | [ Complete ] dest=/tmp/tmp6b9jgjwx/weights size=\"172 MB\" total_elapsed=3.075s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\nDownloaded weights in 3.10s\nLoaded LoRAs in 3.82s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:18, 1.49it/s]\n 7%|▋ | 2/28 [00:01<00:15, 1.65it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.58it/s]\n 14%|█▍ | 4/28 [00:02<00:15, 1.55it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s]\n 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s]\n 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s]\n 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s]\n 50%|█████ | 14/28 [00:09<00:09, 1.51it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s]\n 61%|██████ | 17/28 [00:11<00:07, 1.51it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s]\n 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s]\n 82%|████████▏ | 23/28 [00:15<00:03, 1.50it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s]\n 89%|████████▉ | 25/28 [00:16<00:01, 1.51it/s]\n 93%|█████████▎| 26/28 [00:17<00:01, 1.51it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.51it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.51it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.51it/s]", "metrics": { "predict_time": 22.950668709, "total_time": 23.138652 }, "output": [ "https://replicate.delivery/yhqm/SQ6OtlRDuZ7pM9r4codIyGyYm6uUfcwgeYfgqBgT8CYVOFSnA/out-0.webp", "https://replicate.delivery/yhqm/ewQ1Wc0VBJXwN6dhUU7LVldxTLFn6jPzfDmx1cyaGTwKnCpTA/out-1.webp" ], "started_at": "2024-10-21T15:48:04.005983Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jg2wg7mpd9rm20cjnz1t0qw244", "cancel": "https://api.replicate.com/v1/predictions/jg2wg7mpd9rm20cjnz1t0qw244/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 31392 Prompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style [!] txt2img mode Using dev model free=8982133383168 Downloading weights 2024-10-21T15:48:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6b9jgjwx/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar 2024-10-21T15:48:07Z | INFO | [ Complete ] dest=/tmp/tmp6b9jgjwx/weights size="172 MB" total_elapsed=3.075s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar Downloaded weights in 3.10s Loaded LoRAs in 3.82s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:18, 1.49it/s] 7%|▋ | 2/28 [00:01<00:15, 1.65it/s] 11%|█ | 3/28 [00:01<00:15, 1.58it/s] 14%|█▍ | 4/28 [00:02<00:15, 1.55it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s] 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s] 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s] 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s] 50%|█████ | 14/28 [00:09<00:09, 1.51it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s] 61%|██████ | 17/28 [00:11<00:07, 1.51it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s] 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s] 82%|████████▏ | 23/28 [00:15<00:03, 1.50it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s] 89%|████████▉ | 25/28 [00:16<00:01, 1.51it/s] 93%|█████████▎| 26/28 [00:17<00:01, 1.51it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.51it/s] 100%|██████████| 28/28 [00:18<00:00, 1.51it/s] 100%|██████████| 28/28 [00:18<00:00, 1.51it/s]Prediction
maxvanderwerf/crocs:7cc5327fID53twfht73xrm20cjnz2a7ddgbrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T15:49:08.230691Z", "created_at": "2024-10-21T15:48:49.055000Z", "data_removed": false, "error": null, "id": "53twfht73xrm20cjnz2a7ddgbr", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 14502\nPrompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style\n[!] txt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.03s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.51it/s]\n 7%|▋ | 2/28 [00:01<00:15, 1.68it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.60it/s]\n 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s]\n 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s]\n 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s]\n 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s]\n 50%|█████ | 14/28 [00:09<00:09, 1.51it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s]\n 61%|██████ | 17/28 [00:11<00:07, 1.51it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s]\n 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s]\n 82%|████████▏ | 23/28 [00:15<00:03, 1.51it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s]\n 89%|████████▉ | 25/28 [00:16<00:01, 1.51it/s]\n 93%|█████████▎| 26/28 [00:17<00:01, 1.51it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.51it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.51it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.52it/s]", "metrics": { "predict_time": 19.167475788, "total_time": 19.175691 }, "output": [ "https://replicate.delivery/yhqm/TvVwPiBQ8gKUN5txLMJ6escw1LofeupxZMKJ1bTefUUnepQ6E/out-0.webp", "https://replicate.delivery/yhqm/RiOKFnE9b27vFRiYojfHRNmq55YKKAebq4esuIQAr36oPFSnA/out-1.webp" ], "started_at": "2024-10-21T15:48:49.063215Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/53twfht73xrm20cjnz2a7ddgbr", "cancel": "https://api.replicate.com/v1/predictions/53twfht73xrm20cjnz2a7ddgbr/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 14502 Prompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style [!] txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.03s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.51it/s] 7%|▋ | 2/28 [00:01<00:15, 1.68it/s] 11%|█ | 3/28 [00:01<00:15, 1.60it/s] 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s] 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s] 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s] 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s] 50%|█████ | 14/28 [00:09<00:09, 1.51it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s] 61%|██████ | 17/28 [00:11<00:07, 1.51it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.51it/s] 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s] 82%|████████▏ | 23/28 [00:15<00:03, 1.51it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s] 89%|████████▉ | 25/28 [00:16<00:01, 1.51it/s] 93%|█████████▎| 26/28 [00:17<00:01, 1.51it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.51it/s] 100%|██████████| 28/28 [00:18<00:00, 1.51it/s] 100%|██████████| 28/28 [00:18<00:00, 1.52it/s]Prediction
maxvanderwerf/crocs:7cc5327fID53xp3bad99rm20cjnz589wb6d8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 2.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.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 replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 2.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 replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T15:55:46.023901Z", "created_at": "2024-10-21T15:55:23.850000Z", "data_removed": false, "error": null, "id": "53xp3bad99rm20cjnz589wb6d8", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 57403\nPrompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style\n[!] txt2img mode\nUsing dev model\nfree=6414206103552\nDownloading weights\n2024-10-21T15:55:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpj5suwact/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\n2024-10-21T15:55:26Z | INFO | [ Complete ] dest=/tmp/tmpj5suwact/weights size=\"172 MB\" total_elapsed=2.091s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\nDownloaded weights in 2.12s\nLoaded LoRAs in 2.73s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.51it/s]\n 7%|▋ | 2/28 [00:01<00:15, 1.68it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.60it/s]\n 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s]\n 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s]\n 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s]\n 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s]\n 50%|█████ | 14/28 [00:09<00:09, 1.51it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s]\n 61%|██████ | 17/28 [00:11<00:07, 1.51it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.50it/s]\n 71%|███████▏ | 20/28 [00:13<00:05, 1.50it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.50it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.50it/s]\n 82%|████████▏ | 23/28 [00:15<00:03, 1.50it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.50it/s]\n 89%|████████▉ | 25/28 [00:16<00:01, 1.50it/s]\n 93%|█████████▎| 26/28 [00:17<00:01, 1.50it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.50it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.50it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.51it/s]", "metrics": { "predict_time": 22.101121781, "total_time": 22.173901 }, "output": [ "https://replicate.delivery/yhqm/tP71aSlze6UkFiPHJQabau4XdDyZ3mmnSdTaH12AfNUCuCpTA/out-0.webp", "https://replicate.delivery/yhqm/eeikfySCpiXlxIBEM3iG5OQr7kLGzalz9FI7thmCBPHFcFSnA/out-1.webp" ], "started_at": "2024-10-21T15:55:23.922780Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/53xp3bad99rm20cjnz589wb6d8", "cancel": "https://api.replicate.com/v1/predictions/53xp3bad99rm20cjnz589wb6d8/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 57403 Prompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style [!] txt2img mode Using dev model free=6414206103552 Downloading weights 2024-10-21T15:55:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpj5suwact/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar 2024-10-21T15:55:26Z | INFO | [ Complete ] dest=/tmp/tmpj5suwact/weights size="172 MB" total_elapsed=2.091s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar Downloaded weights in 2.12s Loaded LoRAs in 2.73s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.51it/s] 7%|▋ | 2/28 [00:01<00:15, 1.68it/s] 11%|█ | 3/28 [00:01<00:15, 1.60it/s] 14%|█▍ | 4/28 [00:02<00:15, 1.56it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s] 21%|██▏ | 6/28 [00:03<00:14, 1.53it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.52it/s] 29%|██▊ | 8/28 [00:05<00:13, 1.52it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.51it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.51it/s] 39%|███▉ | 11/28 [00:07<00:11, 1.51it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.51it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.51it/s] 50%|█████ | 14/28 [00:09<00:09, 1.51it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.51it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.51it/s] 61%|██████ | 17/28 [00:11<00:07, 1.51it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.51it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.50it/s] 71%|███████▏ | 20/28 [00:13<00:05, 1.50it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.50it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.50it/s] 82%|████████▏ | 23/28 [00:15<00:03, 1.50it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.50it/s] 89%|████████▉ | 25/28 [00:16<00:01, 1.50it/s] 93%|█████████▎| 26/28 [00:17<00:01, 1.50it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.50it/s] 100%|██████████| 28/28 [00:18<00:00, 1.50it/s] 100%|██████████| 28/28 [00:18<00:00, 1.51it/s]Prediction
maxvanderwerf/crocs:7cc5327fIDj99a2aq7e9rm00cjnz5vhdekrrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style
- lora_scale
- 0.7
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 2.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", lora_scale: 0.7, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 2.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } ) # 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T15:57:44.577394Z", "created_at": "2024-10-21T15:57:08.850000Z", "data_removed": false, "error": null, "id": "j99a2aq7e9rm00cjnz5vhdekrr", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "Using seed: 32623\nPrompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style\n[!] txt2img mode\nUsing dev model\nfree=6441540636672\nDownloading weights\n2024-10-21T15:57:08Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpw4kyupbs/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\n2024-10-21T15:57:10Z | INFO | [ Complete ] dest=/tmp/tmpw4kyupbs/weights size=\"172 MB\" total_elapsed=1.345s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\nDownloaded weights in 1.37s\nLoaded LoRAs in 1.97s\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:32, 1.49it/s]\n 4%|▍ | 2/50 [00:01<00:29, 1.64it/s]\n 6%|▌ | 3/50 [00:01<00:29, 1.58it/s]\n 8%|▊ | 4/50 [00:02<00:29, 1.55it/s]\n 10%|█ | 5/50 [00:03<00:29, 1.53it/s]\n 12%|█▏ | 6/50 [00:03<00:28, 1.52it/s]\n 14%|█▍ | 7/50 [00:04<00:28, 1.52it/s]\n 16%|█▌ | 8/50 [00:05<00:27, 1.52it/s]\n 18%|█▊ | 9/50 [00:05<00:27, 1.51it/s]\n 20%|██ | 10/50 [00:06<00:26, 1.51it/s]\n 22%|██▏ | 11/50 [00:07<00:25, 1.51it/s]\n 24%|██▍ | 12/50 [00:07<00:25, 1.51it/s]\n 26%|██▌ | 13/50 [00:08<00:24, 1.51it/s]\n 28%|██▊ | 14/50 [00:09<00:23, 1.51it/s]\n 30%|███ | 15/50 [00:09<00:23, 1.51it/s]\n 32%|███▏ | 16/50 [00:10<00:22, 1.51it/s]\n 34%|███▍ | 17/50 [00:11<00:21, 1.51it/s]\n 36%|███▌ | 18/50 [00:11<00:21, 1.51it/s]\n 38%|███▊ | 19/50 [00:12<00:20, 1.51it/s]\n 40%|████ | 20/50 [00:13<00:19, 1.51it/s]\n 42%|████▏ | 21/50 [00:13<00:19, 1.51it/s]\n 44%|████▍ | 22/50 [00:14<00:18, 1.51it/s]\n 46%|████▌ | 23/50 [00:15<00:17, 1.51it/s]\n 48%|████▊ | 24/50 [00:15<00:17, 1.51it/s]\n 50%|█████ | 25/50 [00:16<00:16, 1.51it/s]\n 52%|█████▏ | 26/50 [00:17<00:15, 1.51it/s]\n 54%|█████▍ | 27/50 [00:17<00:15, 1.51it/s]\n 56%|█████▌ | 28/50 [00:18<00:14, 1.51it/s]\n 58%|█████▊ | 29/50 [00:19<00:13, 1.51it/s]\n 60%|██████ | 30/50 [00:19<00:13, 1.51it/s]\n 62%|██████▏ | 31/50 [00:20<00:12, 1.51it/s]\n 64%|██████▍ | 32/50 [00:21<00:11, 1.51it/s]\n 66%|██████▌ | 33/50 [00:21<00:11, 1.51it/s]\n 68%|██████▊ | 34/50 [00:22<00:10, 1.51it/s]\n 70%|███████ | 35/50 [00:23<00:09, 1.51it/s]\n 72%|███████▏ | 36/50 [00:23<00:09, 1.51it/s]\n 74%|███████▍ | 37/50 [00:24<00:08, 1.51it/s]\n 76%|███████▌ | 38/50 [00:25<00:07, 1.51it/s]\n 78%|███████▊ | 39/50 [00:25<00:07, 1.51it/s]\n 80%|████████ | 40/50 [00:26<00:06, 1.51it/s]\n 82%|████████▏ | 41/50 [00:27<00:05, 1.51it/s]\n 84%|████████▍ | 42/50 [00:27<00:05, 1.51it/s]\n 86%|████████▌ | 43/50 [00:28<00:04, 1.51it/s]\n 88%|████████▊ | 44/50 [00:29<00:03, 1.51it/s]\n 90%|█████████ | 45/50 [00:29<00:03, 1.51it/s]\n 92%|█████████▏| 46/50 [00:30<00:02, 1.51it/s]\n 94%|█████████▍| 47/50 [00:31<00:01, 1.51it/s]\n 96%|█████████▌| 48/50 [00:31<00:01, 1.51it/s]\n 98%|█████████▊| 49/50 [00:32<00:00, 1.51it/s]\n100%|██████████| 50/50 [00:33<00:00, 1.51it/s]\n100%|██████████| 50/50 [00:33<00:00, 1.51it/s]", "metrics": { "predict_time": 35.719664346, "total_time": 35.727394 }, "output": [ "https://replicate.delivery/yhqm/UYrqMVrXtv7oMpAF11VE6AeX4DJ2Wew2JQsXwhQfIU8wfKkOB/out-0.webp", "https://replicate.delivery/yhqm/D8Je2yPD2GUdAqhkJ7bJrEIQ8B4ShJRFFvLKjnG5ff4xfKkOB/out-1.webp" ], "started_at": "2024-10-21T15:57:08.857729Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/j99a2aq7e9rm00cjnz5vhdekrr", "cancel": "https://api.replicate.com/v1/predictions/j99a2aq7e9rm00cjnz5vhdekrr/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 32623 Prompt: Amazing photorealistic picture of a gorgeous athletic and classy model in an elegant dress in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style [!] txt2img mode Using dev model free=6441540636672 Downloading weights 2024-10-21T15:57:08Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpw4kyupbs/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar 2024-10-21T15:57:10Z | INFO | [ Complete ] dest=/tmp/tmpw4kyupbs/weights size="172 MB" total_elapsed=1.345s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar Downloaded weights in 1.37s Loaded LoRAs in 1.97s 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:32, 1.49it/s] 4%|▍ | 2/50 [00:01<00:29, 1.64it/s] 6%|▌ | 3/50 [00:01<00:29, 1.58it/s] 8%|▊ | 4/50 [00:02<00:29, 1.55it/s] 10%|█ | 5/50 [00:03<00:29, 1.53it/s] 12%|█▏ | 6/50 [00:03<00:28, 1.52it/s] 14%|█▍ | 7/50 [00:04<00:28, 1.52it/s] 16%|█▌ | 8/50 [00:05<00:27, 1.52it/s] 18%|█▊ | 9/50 [00:05<00:27, 1.51it/s] 20%|██ | 10/50 [00:06<00:26, 1.51it/s] 22%|██▏ | 11/50 [00:07<00:25, 1.51it/s] 24%|██▍ | 12/50 [00:07<00:25, 1.51it/s] 26%|██▌ | 13/50 [00:08<00:24, 1.51it/s] 28%|██▊ | 14/50 [00:09<00:23, 1.51it/s] 30%|███ | 15/50 [00:09<00:23, 1.51it/s] 32%|███▏ | 16/50 [00:10<00:22, 1.51it/s] 34%|███▍ | 17/50 [00:11<00:21, 1.51it/s] 36%|███▌ | 18/50 [00:11<00:21, 1.51it/s] 38%|███▊ | 19/50 [00:12<00:20, 1.51it/s] 40%|████ | 20/50 [00:13<00:19, 1.51it/s] 42%|████▏ | 21/50 [00:13<00:19, 1.51it/s] 44%|████▍ | 22/50 [00:14<00:18, 1.51it/s] 46%|████▌ | 23/50 [00:15<00:17, 1.51it/s] 48%|████▊ | 24/50 [00:15<00:17, 1.51it/s] 50%|█████ | 25/50 [00:16<00:16, 1.51it/s] 52%|█████▏ | 26/50 [00:17<00:15, 1.51it/s] 54%|█████▍ | 27/50 [00:17<00:15, 1.51it/s] 56%|█████▌ | 28/50 [00:18<00:14, 1.51it/s] 58%|█████▊ | 29/50 [00:19<00:13, 1.51it/s] 60%|██████ | 30/50 [00:19<00:13, 1.51it/s] 62%|██████▏ | 31/50 [00:20<00:12, 1.51it/s] 64%|██████▍ | 32/50 [00:21<00:11, 1.51it/s] 66%|██████▌ | 33/50 [00:21<00:11, 1.51it/s] 68%|██████▊ | 34/50 [00:22<00:10, 1.51it/s] 70%|███████ | 35/50 [00:23<00:09, 1.51it/s] 72%|███████▏ | 36/50 [00:23<00:09, 1.51it/s] 74%|███████▍ | 37/50 [00:24<00:08, 1.51it/s] 76%|███████▌ | 38/50 [00:25<00:07, 1.51it/s] 78%|███████▊ | 39/50 [00:25<00:07, 1.51it/s] 80%|████████ | 40/50 [00:26<00:06, 1.51it/s] 82%|████████▏ | 41/50 [00:27<00:05, 1.51it/s] 84%|████████▍ | 42/50 [00:27<00:05, 1.51it/s] 86%|████████▌ | 43/50 [00:28<00:04, 1.51it/s] 88%|████████▊ | 44/50 [00:29<00:03, 1.51it/s] 90%|█████████ | 45/50 [00:29<00:03, 1.51it/s] 92%|█████████▏| 46/50 [00:30<00:02, 1.51it/s] 94%|█████████▍| 47/50 [00:31<00:01, 1.51it/s] 96%|█████████▌| 48/50 [00:31<00:01, 1.51it/s] 98%|█████████▊| 49/50 [00:32<00:00, 1.51it/s] 100%|██████████| 50/50 [00:33<00:00, 1.51it/s] 100%|██████████| 50/50 [00:33<00:00, 1.51it/s]Prediction
maxvanderwerf/crocs:7cc5327fIDnaxb6nvnkdrm40cjnz6ryanr8mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style
- lora_scale
- 0.7
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 2.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", lora_scale: 0.7, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 2.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } ) # 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T15:59:27.160193Z", "created_at": "2024-10-21T15:58:50.779000Z", "data_removed": false, "error": null, "id": "naxb6nvnkdrm40cjnz6ryanr8m", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style", "lora_scale": 0.7, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 2.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "Using seed: 34089\nPrompt: Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style\n[!] txt2img mode\nUsing dev model\nfree=6981928312832\nDownloading weights\n2024-10-21T15:58:50Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpog8aorhz/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\n2024-10-21T15:58:52Z | INFO | [ Complete ] dest=/tmp/tmpog8aorhz/weights size=\"172 MB\" total_elapsed=2.016s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar\nDownloaded weights in 2.04s\nLoaded LoRAs in 2.65s\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:32, 1.49it/s]\n 4%|▍ | 2/50 [00:01<00:29, 1.65it/s]\n 6%|▌ | 3/50 [00:01<00:29, 1.58it/s]\n 8%|▊ | 4/50 [00:02<00:29, 1.55it/s]\n 10%|█ | 5/50 [00:03<00:29, 1.54it/s]\n 12%|█▏ | 6/50 [00:03<00:28, 1.53it/s]\n 14%|█▍ | 7/50 [00:04<00:28, 1.52it/s]\n 16%|█▌ | 8/50 [00:05<00:27, 1.52it/s]\n 18%|█▊ | 9/50 [00:05<00:27, 1.51it/s]\n 20%|██ | 10/50 [00:06<00:26, 1.51it/s]\n 22%|██▏ | 11/50 [00:07<00:25, 1.51it/s]\n 24%|██▍ | 12/50 [00:07<00:25, 1.51it/s]\n 26%|██▌ | 13/50 [00:08<00:24, 1.51it/s]\n 28%|██▊ | 14/50 [00:09<00:23, 1.51it/s]\n 30%|███ | 15/50 [00:09<00:23, 1.51it/s]\n 32%|███▏ | 16/50 [00:10<00:22, 1.51it/s]\n 34%|███▍ | 17/50 [00:11<00:21, 1.51it/s]\n 36%|███▌ | 18/50 [00:11<00:21, 1.51it/s]\n 38%|███▊ | 19/50 [00:12<00:20, 1.51it/s]\n 40%|████ | 20/50 [00:13<00:19, 1.51it/s]\n 42%|████▏ | 21/50 [00:13<00:19, 1.51it/s]\n 44%|████▍ | 22/50 [00:14<00:18, 1.51it/s]\n 46%|████▌ | 23/50 [00:15<00:17, 1.51it/s]\n 48%|████▊ | 24/50 [00:15<00:17, 1.51it/s]\n 50%|█████ | 25/50 [00:16<00:16, 1.51it/s]\n 52%|█████▏ | 26/50 [00:17<00:15, 1.51it/s]\n 54%|█████▍ | 27/50 [00:17<00:15, 1.51it/s]\n 56%|█████▌ | 28/50 [00:18<00:14, 1.51it/s]\n 58%|█████▊ | 29/50 [00:19<00:13, 1.51it/s]\n 60%|██████ | 30/50 [00:19<00:13, 1.51it/s]\n 62%|██████▏ | 31/50 [00:20<00:12, 1.51it/s]\n 64%|██████▍ | 32/50 [00:21<00:11, 1.51it/s]\n 66%|██████▌ | 33/50 [00:21<00:11, 1.51it/s]\n 68%|██████▊ | 34/50 [00:22<00:10, 1.51it/s]\n 70%|███████ | 35/50 [00:23<00:09, 1.51it/s]\n 72%|███████▏ | 36/50 [00:23<00:09, 1.51it/s]\n 74%|███████▍ | 37/50 [00:24<00:08, 1.51it/s]\n 76%|███████▌ | 38/50 [00:25<00:07, 1.51it/s]\n 78%|███████▊ | 39/50 [00:25<00:07, 1.51it/s]\n 80%|████████ | 40/50 [00:26<00:06, 1.51it/s]\n 82%|████████▏ | 41/50 [00:27<00:05, 1.51it/s]\n 84%|████████▍ | 42/50 [00:27<00:05, 1.51it/s]\n 86%|████████▌ | 43/50 [00:28<00:04, 1.51it/s]\n 88%|████████▊ | 44/50 [00:29<00:03, 1.51it/s]\n 90%|█████████ | 45/50 [00:29<00:03, 1.51it/s]\n 92%|█████████▏| 46/50 [00:30<00:02, 1.51it/s]\n 94%|█████████▍| 47/50 [00:31<00:01, 1.51it/s]\n 96%|█████████▌| 48/50 [00:31<00:01, 1.51it/s]\n 98%|█████████▊| 49/50 [00:32<00:00, 1.51it/s]\n100%|██████████| 50/50 [00:33<00:00, 1.51it/s]\n100%|██████████| 50/50 [00:33<00:00, 1.51it/s]", "metrics": { "predict_time": 36.34956792, "total_time": 36.381193 }, "output": [ "https://replicate.delivery/yhqm/WhI48E4gmF5pJROfR52r0ie5qANv7U4xfca5JiLA64ffLWIdC/out-0.webp", "https://replicate.delivery/yhqm/1QL8Jsnlx877FdAjT10pYW1GkfkYT7BEeHalsV4LW0tfiFSnA/out-1.webp" ], "started_at": "2024-10-21T15:58:50.810625Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/naxb6nvnkdrm40cjnz6ryanr8m", "cancel": "https://api.replicate.com/v1/predictions/naxb6nvnkdrm40cjnz6ryanr8m/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 34089 Prompt: Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing peppa pig crocs in the TOK style. Make it look like advertisement for the crocs in vintage photo style [!] txt2img mode Using dev model free=6981928312832 Downloading weights 2024-10-21T15:58:50Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpog8aorhz/weights url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar 2024-10-21T15:58:52Z | INFO | [ Complete ] dest=/tmp/tmpog8aorhz/weights size="172 MB" total_elapsed=2.016s url=https://replicate.delivery/yhqm/iWxTy4MaslJfPiFSIQ8xSIJ37bHb2Yo2MLcDLbF0mjflTfRnA/trained_model.tar Downloaded weights in 2.04s Loaded LoRAs in 2.65s 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:32, 1.49it/s] 4%|▍ | 2/50 [00:01<00:29, 1.65it/s] 6%|▌ | 3/50 [00:01<00:29, 1.58it/s] 8%|▊ | 4/50 [00:02<00:29, 1.55it/s] 10%|█ | 5/50 [00:03<00:29, 1.54it/s] 12%|█▏ | 6/50 [00:03<00:28, 1.53it/s] 14%|█▍ | 7/50 [00:04<00:28, 1.52it/s] 16%|█▌ | 8/50 [00:05<00:27, 1.52it/s] 18%|█▊ | 9/50 [00:05<00:27, 1.51it/s] 20%|██ | 10/50 [00:06<00:26, 1.51it/s] 22%|██▏ | 11/50 [00:07<00:25, 1.51it/s] 24%|██▍ | 12/50 [00:07<00:25, 1.51it/s] 26%|██▌ | 13/50 [00:08<00:24, 1.51it/s] 28%|██▊ | 14/50 [00:09<00:23, 1.51it/s] 30%|███ | 15/50 [00:09<00:23, 1.51it/s] 32%|███▏ | 16/50 [00:10<00:22, 1.51it/s] 34%|███▍ | 17/50 [00:11<00:21, 1.51it/s] 36%|███▌ | 18/50 [00:11<00:21, 1.51it/s] 38%|███▊ | 19/50 [00:12<00:20, 1.51it/s] 40%|████ | 20/50 [00:13<00:19, 1.51it/s] 42%|████▏ | 21/50 [00:13<00:19, 1.51it/s] 44%|████▍ | 22/50 [00:14<00:18, 1.51it/s] 46%|████▌ | 23/50 [00:15<00:17, 1.51it/s] 48%|████▊ | 24/50 [00:15<00:17, 1.51it/s] 50%|█████ | 25/50 [00:16<00:16, 1.51it/s] 52%|█████▏ | 26/50 [00:17<00:15, 1.51it/s] 54%|█████▍ | 27/50 [00:17<00:15, 1.51it/s] 56%|█████▌ | 28/50 [00:18<00:14, 1.51it/s] 58%|█████▊ | 29/50 [00:19<00:13, 1.51it/s] 60%|██████ | 30/50 [00:19<00:13, 1.51it/s] 62%|██████▏ | 31/50 [00:20<00:12, 1.51it/s] 64%|██████▍ | 32/50 [00:21<00:11, 1.51it/s] 66%|██████▌ | 33/50 [00:21<00:11, 1.51it/s] 68%|██████▊ | 34/50 [00:22<00:10, 1.51it/s] 70%|███████ | 35/50 [00:23<00:09, 1.51it/s] 72%|███████▏ | 36/50 [00:23<00:09, 1.51it/s] 74%|███████▍ | 37/50 [00:24<00:08, 1.51it/s] 76%|███████▌ | 38/50 [00:25<00:07, 1.51it/s] 78%|███████▊ | 39/50 [00:25<00:07, 1.51it/s] 80%|████████ | 40/50 [00:26<00:06, 1.51it/s] 82%|████████▏ | 41/50 [00:27<00:05, 1.51it/s] 84%|████████▍ | 42/50 [00:27<00:05, 1.51it/s] 86%|████████▌ | 43/50 [00:28<00:04, 1.51it/s] 88%|████████▊ | 44/50 [00:29<00:03, 1.51it/s] 90%|█████████ | 45/50 [00:29<00:03, 1.51it/s] 92%|█████████▏| 46/50 [00:30<00:02, 1.51it/s] 94%|█████████▍| 47/50 [00:31<00:01, 1.51it/s] 96%|█████████▌| 48/50 [00:31<00:01, 1.51it/s] 98%|█████████▊| 49/50 [00:32<00:00, 1.51it/s] 100%|██████████| 50/50 [00:33<00:00, 1.51it/s] 100%|██████████| 50/50 [00:33<00:00, 1.51it/s]Prediction
maxvanderwerf/crocs:7cc5327fIDm4wd31rbnhrm20cjnzjarsv1wrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style.
- extra_lora
- levelsio/analog-film
- lora_scale
- 1.05
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", extra_lora: "levelsio/analog-film", lora_scale: 1.05, num_outputs: 2, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } ) # 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T16:24:12.099404Z", "created_at": "2024-10-21T16:23:30.988000Z", "data_removed": false, "error": null, "id": "m4wd31rbnhrm20cjnzjarsv1wr", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "Using seed: 27452\nPrompt: Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style.\n[!] txt2img mode\nUsing dev model\nLoading extra LoRA weights from: levelsio/analog-film\nLoaded LoRAs in 1.39s\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:37, 1.31it/s]\n 4%|▍ | 2/50 [00:01<00:33, 1.42it/s]\n 6%|▌ | 3/50 [00:02<00:34, 1.36it/s]\n 8%|▊ | 4/50 [00:02<00:34, 1.34it/s]\n 10%|█ | 5/50 [00:03<00:33, 1.33it/s]\n 12%|█▏ | 6/50 [00:04<00:33, 1.32it/s]\n 14%|█▍ | 7/50 [00:05<00:32, 1.32it/s]\n 16%|█▌ | 8/50 [00:06<00:31, 1.31it/s]\n 18%|█▊ | 9/50 [00:06<00:31, 1.31it/s]\n 20%|██ | 10/50 [00:07<00:30, 1.31it/s]\n 22%|██▏ | 11/50 [00:08<00:29, 1.31it/s]\n 24%|██▍ | 12/50 [00:09<00:29, 1.31it/s]\n 26%|██▌ | 13/50 [00:09<00:28, 1.31it/s]\n 28%|██▊ | 14/50 [00:10<00:27, 1.31it/s]\n 30%|███ | 15/50 [00:11<00:26, 1.31it/s]\n 32%|███▏ | 16/50 [00:12<00:26, 1.31it/s]\n 34%|███▍ | 17/50 [00:12<00:25, 1.31it/s]\n 36%|███▌ | 18/50 [00:13<00:24, 1.31it/s]\n 38%|███▊ | 19/50 [00:14<00:23, 1.31it/s]\n 40%|████ | 20/50 [00:15<00:22, 1.31it/s]\n 42%|████▏ | 21/50 [00:15<00:22, 1.31it/s]\n 44%|████▍ | 22/50 [00:16<00:21, 1.31it/s]\n 46%|████▌ | 23/50 [00:17<00:20, 1.31it/s]\n 48%|████▊ | 24/50 [00:18<00:19, 1.31it/s]\n 50%|█████ | 25/50 [00:19<00:19, 1.31it/s]\n 52%|█████▏ | 26/50 [00:19<00:18, 1.31it/s]\n 54%|█████▍ | 27/50 [00:20<00:17, 1.31it/s]\n 56%|█████▌ | 28/50 [00:21<00:16, 1.31it/s]\n 58%|█████▊ | 29/50 [00:22<00:16, 1.31it/s]\n 60%|██████ | 30/50 [00:22<00:15, 1.31it/s]\n 62%|██████▏ | 31/50 [00:23<00:14, 1.31it/s]\n 64%|██████▍ | 32/50 [00:24<00:13, 1.31it/s]\n 66%|██████▌ | 33/50 [00:25<00:13, 1.31it/s]\n 68%|██████▊ | 34/50 [00:25<00:12, 1.31it/s]\n 70%|███████ | 35/50 [00:26<00:11, 1.31it/s]\n 72%|███████▏ | 36/50 [00:27<00:10, 1.31it/s]\n 74%|███████▍ | 37/50 [00:28<00:09, 1.31it/s]\n 76%|███████▌ | 38/50 [00:29<00:09, 1.31it/s]\n 78%|███████▊ | 39/50 [00:29<00:08, 1.31it/s]\n 80%|████████ | 40/50 [00:30<00:07, 1.31it/s]\n 82%|████████▏ | 41/50 [00:31<00:06, 1.31it/s]\n 84%|████████▍ | 42/50 [00:32<00:06, 1.31it/s]\n 86%|████████▌ | 43/50 [00:32<00:05, 1.31it/s]\n 88%|████████▊ | 44/50 [00:33<00:04, 1.31it/s]\n 90%|█████████ | 45/50 [00:34<00:03, 1.31it/s]\n 92%|█████████▏| 46/50 [00:35<00:03, 1.31it/s]\n 94%|█████████▍| 47/50 [00:35<00:02, 1.31it/s]\n 96%|█████████▌| 48/50 [00:36<00:01, 1.30it/s]\n 98%|█████████▊| 49/50 [00:37<00:00, 1.30it/s]\n100%|██████████| 50/50 [00:38<00:00, 1.30it/s]\n100%|██████████| 50/50 [00:38<00:00, 1.31it/s]", "metrics": { "predict_time": 40.998000402, "total_time": 41.111404 }, "output": [ "https://replicate.delivery/yhqm/JuRRfg29IvzXGC406FIjBuE1NUCHF12QJkodB1enwHBsIDpTA/out-0.png", "https://replicate.delivery/yhqm/UzqZfLDfN6jFaEhMra93pN1PPh0PfJufAMdPi2znzQjyiMkOB/out-1.png" ], "started_at": "2024-10-21T16:23:31.101403Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/m4wd31rbnhrm20cjnzjarsv1wr", "cancel": "https://api.replicate.com/v1/predictions/m4wd31rbnhrm20cjnzjarsv1wr/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 27452 Prompt: Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. [!] txt2img mode Using dev model Loading extra LoRA weights from: levelsio/analog-film Loaded LoRAs in 1.39s 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:37, 1.31it/s] 4%|▍ | 2/50 [00:01<00:33, 1.42it/s] 6%|▌ | 3/50 [00:02<00:34, 1.36it/s] 8%|▊ | 4/50 [00:02<00:34, 1.34it/s] 10%|█ | 5/50 [00:03<00:33, 1.33it/s] 12%|█▏ | 6/50 [00:04<00:33, 1.32it/s] 14%|█▍ | 7/50 [00:05<00:32, 1.32it/s] 16%|█▌ | 8/50 [00:06<00:31, 1.31it/s] 18%|█▊ | 9/50 [00:06<00:31, 1.31it/s] 20%|██ | 10/50 [00:07<00:30, 1.31it/s] 22%|██▏ | 11/50 [00:08<00:29, 1.31it/s] 24%|██▍ | 12/50 [00:09<00:29, 1.31it/s] 26%|██▌ | 13/50 [00:09<00:28, 1.31it/s] 28%|██▊ | 14/50 [00:10<00:27, 1.31it/s] 30%|███ | 15/50 [00:11<00:26, 1.31it/s] 32%|███▏ | 16/50 [00:12<00:26, 1.31it/s] 34%|███▍ | 17/50 [00:12<00:25, 1.31it/s] 36%|███▌ | 18/50 [00:13<00:24, 1.31it/s] 38%|███▊ | 19/50 [00:14<00:23, 1.31it/s] 40%|████ | 20/50 [00:15<00:22, 1.31it/s] 42%|████▏ | 21/50 [00:15<00:22, 1.31it/s] 44%|████▍ | 22/50 [00:16<00:21, 1.31it/s] 46%|████▌ | 23/50 [00:17<00:20, 1.31it/s] 48%|████▊ | 24/50 [00:18<00:19, 1.31it/s] 50%|█████ | 25/50 [00:19<00:19, 1.31it/s] 52%|█████▏ | 26/50 [00:19<00:18, 1.31it/s] 54%|█████▍ | 27/50 [00:20<00:17, 1.31it/s] 56%|█████▌ | 28/50 [00:21<00:16, 1.31it/s] 58%|█████▊ | 29/50 [00:22<00:16, 1.31it/s] 60%|██████ | 30/50 [00:22<00:15, 1.31it/s] 62%|██████▏ | 31/50 [00:23<00:14, 1.31it/s] 64%|██████▍ | 32/50 [00:24<00:13, 1.31it/s] 66%|██████▌ | 33/50 [00:25<00:13, 1.31it/s] 68%|██████▊ | 34/50 [00:25<00:12, 1.31it/s] 70%|███████ | 35/50 [00:26<00:11, 1.31it/s] 72%|███████▏ | 36/50 [00:27<00:10, 1.31it/s] 74%|███████▍ | 37/50 [00:28<00:09, 1.31it/s] 76%|███████▌ | 38/50 [00:29<00:09, 1.31it/s] 78%|███████▊ | 39/50 [00:29<00:08, 1.31it/s] 80%|████████ | 40/50 [00:30<00:07, 1.31it/s] 82%|████████▏ | 41/50 [00:31<00:06, 1.31it/s] 84%|████████▍ | 42/50 [00:32<00:06, 1.31it/s] 86%|████████▌ | 43/50 [00:32<00:05, 1.31it/s] 88%|████████▊ | 44/50 [00:33<00:04, 1.31it/s] 90%|█████████ | 45/50 [00:34<00:03, 1.31it/s] 92%|█████████▏| 46/50 [00:35<00:03, 1.31it/s] 94%|█████████▍| 47/50 [00:35<00:02, 1.31it/s] 96%|█████████▌| 48/50 [00:36<00:01, 1.30it/s] 98%|█████████▊| 49/50 [00:37<00:00, 1.30it/s] 100%|██████████| 50/50 [00:38<00:00, 1.30it/s] 100%|██████████| 50/50 [00:38<00:00, 1.31it/s]Prediction
maxvanderwerf/crocs:7cc5327fIDte3wwstgpdrm40cjnzjr6qvpvcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style.
- extra_lora
- levelsio/analog-film
- lora_scale
- 1.05
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 2.01
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", extra_lora: "levelsio/analog-film", lora_scale: 1.05, num_outputs: 2, aspect_ratio: "1:1", output_format: "png", guidance_scale: 2.01, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } ) # 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T16:25:35.208558Z", "created_at": "2024-10-21T16:24:54.195000Z", "data_removed": false, "error": null, "id": "te3wwstgpdrm40cjnzjr6qvpvc", "input": { "model": "dev", "prompt": "Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. ", "extra_lora": "levelsio/analog-film", "lora_scale": 1.05, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "Using seed: 14463\nPrompt: Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style.\n[!] txt2img mode\nUsing dev model\nLoading extra LoRA weights from: levelsio/analog-film\nLoaded LoRAs in 1.30s\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:37, 1.31it/s]\n 4%|▍ | 2/50 [00:01<00:33, 1.42it/s]\n 6%|▌ | 3/50 [00:02<00:34, 1.36it/s]\n 8%|▊ | 4/50 [00:02<00:34, 1.34it/s]\n 10%|█ | 5/50 [00:03<00:33, 1.33it/s]\n 12%|█▏ | 6/50 [00:04<00:33, 1.32it/s]\n 14%|█▍ | 7/50 [00:05<00:32, 1.32it/s]\n 16%|█▌ | 8/50 [00:06<00:31, 1.31it/s]\n 18%|█▊ | 9/50 [00:06<00:31, 1.31it/s]\n 20%|██ | 10/50 [00:07<00:30, 1.31it/s]\n 22%|██▏ | 11/50 [00:08<00:29, 1.31it/s]\n 24%|██▍ | 12/50 [00:09<00:29, 1.31it/s]\n 26%|██▌ | 13/50 [00:09<00:28, 1.31it/s]\n 28%|██▊ | 14/50 [00:10<00:27, 1.31it/s]\n 30%|███ | 15/50 [00:11<00:26, 1.31it/s]\n 32%|███▏ | 16/50 [00:12<00:26, 1.31it/s]\n 34%|███▍ | 17/50 [00:12<00:25, 1.31it/s]\n 36%|███▌ | 18/50 [00:13<00:24, 1.31it/s]\n 38%|███▊ | 19/50 [00:14<00:23, 1.31it/s]\n 40%|████ | 20/50 [00:15<00:22, 1.31it/s]\n 42%|████▏ | 21/50 [00:15<00:22, 1.31it/s]\n 44%|████▍ | 22/50 [00:16<00:21, 1.31it/s]\n 46%|████▌ | 23/50 [00:17<00:20, 1.31it/s]\n 48%|████▊ | 24/50 [00:18<00:19, 1.31it/s]\n 50%|█████ | 25/50 [00:19<00:19, 1.31it/s]\n 52%|█████▏ | 26/50 [00:19<00:18, 1.31it/s]\n 54%|█████▍ | 27/50 [00:20<00:17, 1.31it/s]\n 56%|█████▌ | 28/50 [00:21<00:16, 1.31it/s]\n 58%|█████▊ | 29/50 [00:22<00:16, 1.31it/s]\n 60%|██████ | 30/50 [00:22<00:15, 1.31it/s]\n 62%|██████▏ | 31/50 [00:23<00:14, 1.31it/s]\n 64%|██████▍ | 32/50 [00:24<00:13, 1.31it/s]\n 66%|██████▌ | 33/50 [00:25<00:13, 1.31it/s]\n 68%|██████▊ | 34/50 [00:25<00:12, 1.31it/s]\n 70%|███████ | 35/50 [00:26<00:11, 1.31it/s]\n 72%|███████▏ | 36/50 [00:27<00:10, 1.31it/s]\n 74%|███████▍ | 37/50 [00:28<00:09, 1.31it/s]\n 76%|███████▌ | 38/50 [00:28<00:09, 1.31it/s]\n 78%|███████▊ | 39/50 [00:29<00:08, 1.31it/s]\n 80%|████████ | 40/50 [00:30<00:07, 1.31it/s]\n 82%|████████▏ | 41/50 [00:31<00:06, 1.31it/s]\n 84%|████████▍ | 42/50 [00:32<00:06, 1.31it/s]\n 86%|████████▌ | 43/50 [00:32<00:05, 1.31it/s]\n 88%|████████▊ | 44/50 [00:33<00:04, 1.31it/s]\n 90%|█████████ | 45/50 [00:34<00:03, 1.31it/s]\n 92%|█████████▏| 46/50 [00:35<00:03, 1.31it/s]\n 94%|█████████▍| 47/50 [00:35<00:02, 1.31it/s]\n 96%|█████████▌| 48/50 [00:36<00:01, 1.31it/s]\n 98%|█████████▊| 49/50 [00:37<00:00, 1.31it/s]\n100%|██████████| 50/50 [00:38<00:00, 1.31it/s]\n100%|██████████| 50/50 [00:38<00:00, 1.31it/s]", "metrics": { "predict_time": 40.982931461, "total_time": 41.013558 }, "output": [ "https://replicate.delivery/yhqm/1ZzKEae3yqyvZKee92WqH8OhWQfpI5i9FrgFtEKfQw4efkh0JA/out-0.png", "https://replicate.delivery/yhqm/YLfHih2UY0zEMi1rUBDeMoBLbiaDfPlxqITNm5vdjSPfnMkOB/out-1.png" ], "started_at": "2024-10-21T16:24:54.225627Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/te3wwstgpdrm40cjnzjr6qvpvc", "cancel": "https://api.replicate.com/v1/predictions/te3wwstgpdrm40cjnzjr6qvpvc/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 14463 Prompt: Amazing photorealistic picture of an athletic and classy male model in an elegant suit in the casino playing russian roulette, wearing black crocs in the TOK style. [!] txt2img mode Using dev model Loading extra LoRA weights from: levelsio/analog-film Loaded LoRAs in 1.30s 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:37, 1.31it/s] 4%|▍ | 2/50 [00:01<00:33, 1.42it/s] 6%|▌ | 3/50 [00:02<00:34, 1.36it/s] 8%|▊ | 4/50 [00:02<00:34, 1.34it/s] 10%|█ | 5/50 [00:03<00:33, 1.33it/s] 12%|█▏ | 6/50 [00:04<00:33, 1.32it/s] 14%|█▍ | 7/50 [00:05<00:32, 1.32it/s] 16%|█▌ | 8/50 [00:06<00:31, 1.31it/s] 18%|█▊ | 9/50 [00:06<00:31, 1.31it/s] 20%|██ | 10/50 [00:07<00:30, 1.31it/s] 22%|██▏ | 11/50 [00:08<00:29, 1.31it/s] 24%|██▍ | 12/50 [00:09<00:29, 1.31it/s] 26%|██▌ | 13/50 [00:09<00:28, 1.31it/s] 28%|██▊ | 14/50 [00:10<00:27, 1.31it/s] 30%|███ | 15/50 [00:11<00:26, 1.31it/s] 32%|███▏ | 16/50 [00:12<00:26, 1.31it/s] 34%|███▍ | 17/50 [00:12<00:25, 1.31it/s] 36%|███▌ | 18/50 [00:13<00:24, 1.31it/s] 38%|███▊ | 19/50 [00:14<00:23, 1.31it/s] 40%|████ | 20/50 [00:15<00:22, 1.31it/s] 42%|████▏ | 21/50 [00:15<00:22, 1.31it/s] 44%|████▍ | 22/50 [00:16<00:21, 1.31it/s] 46%|████▌ | 23/50 [00:17<00:20, 1.31it/s] 48%|████▊ | 24/50 [00:18<00:19, 1.31it/s] 50%|█████ | 25/50 [00:19<00:19, 1.31it/s] 52%|█████▏ | 26/50 [00:19<00:18, 1.31it/s] 54%|█████▍ | 27/50 [00:20<00:17, 1.31it/s] 56%|█████▌ | 28/50 [00:21<00:16, 1.31it/s] 58%|█████▊ | 29/50 [00:22<00:16, 1.31it/s] 60%|██████ | 30/50 [00:22<00:15, 1.31it/s] 62%|██████▏ | 31/50 [00:23<00:14, 1.31it/s] 64%|██████▍ | 32/50 [00:24<00:13, 1.31it/s] 66%|██████▌ | 33/50 [00:25<00:13, 1.31it/s] 68%|██████▊ | 34/50 [00:25<00:12, 1.31it/s] 70%|███████ | 35/50 [00:26<00:11, 1.31it/s] 72%|███████▏ | 36/50 [00:27<00:10, 1.31it/s] 74%|███████▍ | 37/50 [00:28<00:09, 1.31it/s] 76%|███████▌ | 38/50 [00:28<00:09, 1.31it/s] 78%|███████▊ | 39/50 [00:29<00:08, 1.31it/s] 80%|████████ | 40/50 [00:30<00:07, 1.31it/s] 82%|████████▏ | 41/50 [00:31<00:06, 1.31it/s] 84%|████████▍ | 42/50 [00:32<00:06, 1.31it/s] 86%|████████▌ | 43/50 [00:32<00:05, 1.31it/s] 88%|████████▊ | 44/50 [00:33<00:04, 1.31it/s] 90%|█████████ | 45/50 [00:34<00:03, 1.31it/s] 92%|█████████▏| 46/50 [00:35<00:03, 1.31it/s] 94%|█████████▍| 47/50 [00:35<00:02, 1.31it/s] 96%|█████████▌| 48/50 [00:36<00:01, 1.31it/s] 98%|█████████▊| 49/50 [00:37<00:00, 1.31it/s] 100%|██████████| 50/50 [00:38<00:00, 1.31it/s] 100%|██████████| 50/50 [00:38<00:00, 1.31it/s]Prediction
maxvanderwerf/crocs:7cc5327fID11m8bmqgmxrm40cjp0sbcxeem8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 2.01
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 18
{ "model": "dev", "prompt": "HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "png", guidance_scale: 2.01, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 18 } } ); // 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 replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 } ) # 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T17:49:55.322581Z", "created_at": "2024-10-21T17:49:41.415000Z", "data_removed": false, "error": null, "id": "11m8bmqgmxrm40cjp0sbcxeem8", "input": { "model": "dev", "prompt": "HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 }, "logs": "Using seed: 38814\nPrompt: HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.69s\n 0%| | 0/18 [00:00<?, ?it/s]\n 6%|▌ | 1/18 [00:00<00:11, 1.51it/s]\n 11%|█ | 2/18 [00:01<00:09, 1.68it/s]\n 17%|█▋ | 3/18 [00:01<00:09, 1.60it/s]\n 22%|██▏ | 4/18 [00:02<00:08, 1.56it/s]\n 28%|██▊ | 5/18 [00:03<00:08, 1.54it/s]\n 33%|███▎ | 6/18 [00:03<00:07, 1.53it/s]\n 39%|███▉ | 7/18 [00:04<00:07, 1.53it/s]\n 44%|████▍ | 8/18 [00:05<00:06, 1.52it/s]\n 50%|█████ | 9/18 [00:05<00:05, 1.52it/s]\n 56%|█████▌ | 10/18 [00:06<00:05, 1.51it/s]\n 61%|██████ | 11/18 [00:07<00:04, 1.51it/s]\n 67%|██████▋ | 12/18 [00:07<00:03, 1.51it/s]\n 72%|███████▏ | 13/18 [00:08<00:03, 1.51it/s]\n 78%|███████▊ | 14/18 [00:09<00:02, 1.51it/s]\n 83%|████████▎ | 15/18 [00:09<00:01, 1.51it/s]\n 89%|████████▉ | 16/18 [00:10<00:01, 1.51it/s]\n 94%|█████████▍| 17/18 [00:11<00:00, 1.51it/s]\n100%|██████████| 18/18 [00:11<00:00, 1.51it/s]\n100%|██████████| 18/18 [00:11<00:00, 1.52it/s]", "metrics": { "predict_time": 13.874520937, "total_time": 13.907581 }, "output": [ "https://replicate.delivery/yhqm/0hfbfXh4vukKpUoWuYEgIHxA4gjXMtV1R8j42LUIFLBDZEpTA/out-0.png", "https://replicate.delivery/yhqm/8axzyD4OFPaaAtmewZNce4eGEDUuyC3EZoHBgxkHueCPkRkOB/out-1.png" ], "started_at": "2024-10-21T17:49:41.448060Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/11m8bmqgmxrm40cjp0sbcxeem8", "cancel": "https://api.replicate.com/v1/predictions/11m8bmqgmxrm40cjp0sbcxeem8/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 38814 Prompt: HDR 4k blonde young hip model wearing pinks TOK crocs on the beach, vintage fisheye photo [!] txt2img mode Using dev model Loaded LoRAs in 0.69s 0%| | 0/18 [00:00<?, ?it/s] 6%|▌ | 1/18 [00:00<00:11, 1.51it/s] 11%|█ | 2/18 [00:01<00:09, 1.68it/s] 17%|█▋ | 3/18 [00:01<00:09, 1.60it/s] 22%|██▏ | 4/18 [00:02<00:08, 1.56it/s] 28%|██▊ | 5/18 [00:03<00:08, 1.54it/s] 33%|███▎ | 6/18 [00:03<00:07, 1.53it/s] 39%|███▉ | 7/18 [00:04<00:07, 1.53it/s] 44%|████▍ | 8/18 [00:05<00:06, 1.52it/s] 50%|█████ | 9/18 [00:05<00:05, 1.52it/s] 56%|█████▌ | 10/18 [00:06<00:05, 1.51it/s] 61%|██████ | 11/18 [00:07<00:04, 1.51it/s] 67%|██████▋ | 12/18 [00:07<00:03, 1.51it/s] 72%|███████▏ | 13/18 [00:08<00:03, 1.51it/s] 78%|███████▊ | 14/18 [00:09<00:02, 1.51it/s] 83%|████████▎ | 15/18 [00:09<00:01, 1.51it/s] 89%|████████▉ | 16/18 [00:10<00:01, 1.51it/s] 94%|█████████▍| 17/18 [00:11<00:00, 1.51it/s] 100%|██████████| 18/18 [00:11<00:00, 1.51it/s] 100%|██████████| 18/18 [00:11<00:00, 1.52it/s]Prediction
maxvanderwerf/crocs:7cc5327fIDtx5ye96rynrm40cjp0sseajjfgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach,
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 2.01
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 18
{ "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach, ", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach, ", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "png", guidance_scale: 2.01, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 18 } } ); // 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 replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach, ", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 } ) # 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach, ", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T17:50:54.110046Z", "created_at": "2024-10-21T17:50:40.885000Z", "data_removed": false, "error": null, "id": "tx5ye96rynrm40cjp0sseajjfg", "input": { "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach, ", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 }, "logs": "Using seed: 34365\nPrompt: HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach,\n[!] txt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.03s\n 0%| | 0/18 [00:00<?, ?it/s]\n 6%|▌ | 1/18 [00:00<00:11, 1.51it/s]\n 11%|█ | 2/18 [00:01<00:09, 1.68it/s]\n 17%|█▋ | 3/18 [00:01<00:09, 1.60it/s]\n 22%|██▏ | 4/18 [00:02<00:08, 1.56it/s]\n 28%|██▊ | 5/18 [00:03<00:08, 1.54it/s]\n 33%|███▎ | 6/18 [00:03<00:07, 1.53it/s]\n 39%|███▉ | 7/18 [00:04<00:07, 1.52it/s]\n 44%|████▍ | 8/18 [00:05<00:06, 1.52it/s]\n 50%|█████ | 9/18 [00:05<00:05, 1.52it/s]\n 56%|█████▌ | 10/18 [00:06<00:05, 1.51it/s]\n 61%|██████ | 11/18 [00:07<00:04, 1.51it/s]\n 67%|██████▋ | 12/18 [00:07<00:03, 1.51it/s]\n 72%|███████▏ | 13/18 [00:08<00:03, 1.51it/s]\n 78%|███████▊ | 14/18 [00:09<00:02, 1.51it/s]\n 83%|████████▎ | 15/18 [00:09<00:01, 1.51it/s]\n 89%|████████▉ | 16/18 [00:10<00:01, 1.51it/s]\n 94%|█████████▍| 17/18 [00:11<00:00, 1.51it/s]\n100%|██████████| 18/18 [00:11<00:00, 1.51it/s]\n100%|██████████| 18/18 [00:11<00:00, 1.52it/s]", "metrics": { "predict_time": 13.218810356, "total_time": 13.225046 }, "output": [ "https://replicate.delivery/yhqm/MHqpOAzcnkIdIFsbO0Qoeth7xYkwyDqzd44jBOusFnHfZEpTA/out-0.png", "https://replicate.delivery/yhqm/Vbi2Z6u5BUaBLZILcGsg6m5ZyBoWEJb9DwcKMH6FTePfZEpTA/out-1.png" ], "started_at": "2024-10-21T17:50:40.891236Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/tx5ye96rynrm40cjp0sseajjfg", "cancel": "https://api.replicate.com/v1/predictions/tx5ye96rynrm40cjp0sseajjfg/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 34365 Prompt: HDR vintage fisheye photo blonde young hip model wearing pinks TOK crocs on the beach, [!] txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.03s 0%| | 0/18 [00:00<?, ?it/s] 6%|▌ | 1/18 [00:00<00:11, 1.51it/s] 11%|█ | 2/18 [00:01<00:09, 1.68it/s] 17%|█▋ | 3/18 [00:01<00:09, 1.60it/s] 22%|██▏ | 4/18 [00:02<00:08, 1.56it/s] 28%|██▊ | 5/18 [00:03<00:08, 1.54it/s] 33%|███▎ | 6/18 [00:03<00:07, 1.53it/s] 39%|███▉ | 7/18 [00:04<00:07, 1.52it/s] 44%|████▍ | 8/18 [00:05<00:06, 1.52it/s] 50%|█████ | 9/18 [00:05<00:05, 1.52it/s] 56%|█████▌ | 10/18 [00:06<00:05, 1.51it/s] 61%|██████ | 11/18 [00:07<00:04, 1.51it/s] 67%|██████▋ | 12/18 [00:07<00:03, 1.51it/s] 72%|███████▏ | 13/18 [00:08<00:03, 1.51it/s] 78%|███████▊ | 14/18 [00:09<00:02, 1.51it/s] 83%|████████▎ | 15/18 [00:09<00:01, 1.51it/s] 89%|████████▉ | 16/18 [00:10<00:01, 1.51it/s] 94%|█████████▍| 17/18 [00:11<00:00, 1.51it/s] 100%|██████████| 18/18 [00:11<00:00, 1.51it/s] 100%|██████████| 18/18 [00:11<00:00, 1.52it/s]Prediction
maxvanderwerf/crocs:7cc5327fID94b8jq8m0hrm60cjp0tte1wr8wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 2.01
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 18
{ "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 }Install Replicate’s Node.js client library:npm install replicateImport 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 maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", { input: { model: "dev", prompt: "HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "png", guidance_scale: 2.01, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 18 } } ); // 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 replicateImport the client:import replicateRun maxvanderwerf/crocs using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", input={ "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 } ) # 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 maxvanderwerf/crocs 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": "maxvanderwerf/crocs:7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90", "input": { "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-21T17:52:14.946799Z", "created_at": "2024-10-21T17:52:01.540000Z", "data_removed": false, "error": null, "id": "94b8jq8m0hrm60cjp0tte1wr8w", "input": { "model": "dev", "prompt": "HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.01, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 18 }, "logs": "Using seed: 39619\nPrompt: HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan\n[!] txt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.03s\n 0%| | 0/18 [00:00<?, ?it/s]\n 6%|▌ | 1/18 [00:00<00:11, 1.51it/s]\n 11%|█ | 2/18 [00:01<00:09, 1.68it/s]\n 17%|█▋ | 3/18 [00:01<00:09, 1.60it/s]\n 22%|██▏ | 4/18 [00:02<00:08, 1.56it/s]\n 28%|██▊ | 5/18 [00:03<00:08, 1.54it/s]\n 33%|███▎ | 6/18 [00:03<00:07, 1.53it/s]\n 39%|███▉ | 7/18 [00:04<00:07, 1.52it/s]\n 44%|████▍ | 8/18 [00:05<00:06, 1.52it/s]\n 50%|█████ | 9/18 [00:05<00:05, 1.52it/s]\n 56%|█████▌ | 10/18 [00:06<00:05, 1.51it/s]\n 61%|██████ | 11/18 [00:07<00:04, 1.51it/s]\n 67%|██████▋ | 12/18 [00:07<00:03, 1.51it/s]\n 72%|███████▏ | 13/18 [00:08<00:03, 1.51it/s]\n 78%|███████▊ | 14/18 [00:09<00:02, 1.51it/s]\n 83%|████████▎ | 15/18 [00:09<00:01, 1.51it/s]\n 89%|████████▉ | 16/18 [00:10<00:01, 1.51it/s]\n 94%|█████████▍| 17/18 [00:11<00:00, 1.51it/s]\n100%|██████████| 18/18 [00:11<00:00, 1.51it/s]\n100%|██████████| 18/18 [00:11<00:00, 1.52it/s]", "metrics": { "predict_time": 13.399664965, "total_time": 13.406799 }, "output": [ "https://replicate.delivery/yhqm/WCqbrZgdJV73LFupreXVendpnrcTogdt7Qkf7J7o9W4d2ISnA/out-0.png", "https://replicate.delivery/yhqm/hFhgUyCAeNx6TiYTfZDYQyLBLwFrvY2evdpdl77w6A0d2ISnA/out-1.png" ], "started_at": "2024-10-21T17:52:01.547134Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/94b8jq8m0hrm60cjp0tte1wr8w", "cancel": "https://api.replicate.com/v1/predictions/94b8jq8m0hrm60cjp0tte1wr8w/cancel" }, "version": "7cc5327f03f548c7b60db71124a3977e963c73b9f00469b3ded7175e53a5ff90" }Generated inUsing seed: 39619 Prompt: HDR vintage fisheye photo blonde young hip model wearing black TOK crocs in Nyc manhattan [!] txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.03s 0%| | 0/18 [00:00<?, ?it/s] 6%|▌ | 1/18 [00:00<00:11, 1.51it/s] 11%|█ | 2/18 [00:01<00:09, 1.68it/s] 17%|█▋ | 3/18 [00:01<00:09, 1.60it/s] 22%|██▏ | 4/18 [00:02<00:08, 1.56it/s] 28%|██▊ | 5/18 [00:03<00:08, 1.54it/s] 33%|███▎ | 6/18 [00:03<00:07, 1.53it/s] 39%|███▉ | 7/18 [00:04<00:07, 1.52it/s] 44%|████▍ | 8/18 [00:05<00:06, 1.52it/s] 50%|█████ | 9/18 [00:05<00:05, 1.52it/s] 56%|█████▌ | 10/18 [00:06<00:05, 1.51it/s] 61%|██████ | 11/18 [00:07<00:04, 1.51it/s] 67%|██████▋ | 12/18 [00:07<00:03, 1.51it/s] 72%|███████▏ | 13/18 [00:08<00:03, 1.51it/s] 78%|███████▊ | 14/18 [00:09<00:02, 1.51it/s] 83%|████████▎ | 15/18 [00:09<00:01, 1.51it/s] 89%|████████▉ | 16/18 [00:10<00:01, 1.51it/s] 94%|█████████▍| 17/18 [00:11<00:00, 1.51it/s] 100%|██████████| 18/18 [00:11<00:00, 1.51it/s] 100%|██████████| 18/18 [00:11<00:00, 1.52it/s]
Want to make some of these yourself?
Run this model






















