davidbarker / sdxl-film-noir
SDXL fine-tuned on film noir movie stills
- Public
- 873 runs
-
L40S
- SDXL fine-tune
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636IDn7xme3tbt6zfoi6jvyzwsrzbtmStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, Marilyn Monroe, close up, beautiful, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, Marilyn Monroe, close up, beautiful, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, Marilyn Monroe, close up, beautiful, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, Marilyn Monroe, close up, beautiful, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, Marilyn Monroe, close up, beautiful, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-08-31T22:17:42.715831Z", "created_at": "2023-08-31T22:17:27.443707Z", "data_removed": false, "error": null, "id": "n7xme3tbt6zfoi6jvyzwsrzbtm", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, Marilyn Monroe, close up, beautiful, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 7963\nPrompt: A still from a film noir movie in the style of <s0><s1>, Marilyn Monroe, close up, beautiful, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.71it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.70it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.70it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.69it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.69it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.69it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.68it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.69it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.69it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.70it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.70it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.70it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.70it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.70it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.70it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.70it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.70it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.70it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.70it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.70it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.70it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.70it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.70it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.70it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.70it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.70it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s]\n 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.70it/s]", "metrics": { "predict_time": 15.325544, "total_time": 15.272124 }, "output": [ "https://replicate.delivery/pbxt/vP0yH9yQGj6nCpshIwDN2pYSlcGYctgqCHFNRtbynZfCH2vIA/out-0.png" ], "started_at": "2023-08-31T22:17:27.390287Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/n7xme3tbt6zfoi6jvyzwsrzbtm", "cancel": "https://api.replicate.com/v1/predictions/n7xme3tbt6zfoi6jvyzwsrzbtm/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 7963 Prompt: A still from a film noir movie in the style of <s0><s1>, Marilyn Monroe, close up, beautiful, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.71it/s] 4%|▍ | 2/50 [00:00<00:12, 3.70it/s] 6%|▌ | 3/50 [00:00<00:12, 3.70it/s] 8%|▊ | 4/50 [00:01<00:12, 3.69it/s] 10%|█ | 5/50 [00:01<00:12, 3.69it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.69it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.68it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.69it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.69it/s] 20%|██ | 10/50 [00:02<00:10, 3.70it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s] 30%|███ | 15/50 [00:04<00:09, 3.70it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.70it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.70it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.70it/s] 40%|████ | 20/50 [00:05<00:08, 3.70it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.70it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.70it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.70it/s] 50%|█████ | 25/50 [00:06<00:06, 3.70it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s] 60%|██████ | 30/50 [00:08<00:05, 3.70it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.70it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s] 70%|███████ | 35/50 [00:09<00:04, 3.70it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.70it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.70it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s] 80%|████████ | 40/50 [00:10<00:02, 3.70it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.70it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s] 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.70it/s]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636ID7ha77hlbt6bfxtc5up47rrskeqStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, an elephant in a back alley, light play, god rays, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, an elephant in a back alley, light play, god rays, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, an elephant in a back alley, light play, god rays, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, an elephant in a back alley, light play, god rays, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, an elephant in a back alley, light play, god rays, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-08-31T22:12:57.004265Z", "created_at": "2023-08-31T22:12:41.557697Z", "data_removed": false, "error": null, "id": "7ha77hlbt6bfxtc5up47rrskeq", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, an elephant in a back alley, light play, god rays, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 7675\nPrompt: A still from a film noir movie in the style of <s0><s1>, an elephant in a back alley, light play, god rays, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.71it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.70it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.70it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.69it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.69it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.70it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.70it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.71it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.71it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.71it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.72it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.71it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.71it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.71it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.71it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.71it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.71it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.71it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.71it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.71it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.71it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.71it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.71it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.71it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.71it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.71it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.71it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.71it/s]\n 74%|███████▍ | 37/50 [00:09<00:03, 3.71it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.71it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.70it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s]\n 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.70it/s]", "metrics": { "predict_time": 15.482663, "total_time": 15.446568 }, "output": [ "https://replicate.delivery/pbxt/5KzGFWEmV2YhLVbJvHaNRPEtiGt1JfKVye7upUATUPAnJsfiA/out-0.png" ], "started_at": "2023-08-31T22:12:41.521602Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7ha77hlbt6bfxtc5up47rrskeq", "cancel": "https://api.replicate.com/v1/predictions/7ha77hlbt6bfxtc5up47rrskeq/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 7675 Prompt: A still from a film noir movie in the style of <s0><s1>, an elephant in a back alley, light play, god rays, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.71it/s] 4%|▍ | 2/50 [00:00<00:12, 3.70it/s] 6%|▌ | 3/50 [00:00<00:12, 3.70it/s] 8%|▊ | 4/50 [00:01<00:12, 3.69it/s] 10%|█ | 5/50 [00:01<00:12, 3.69it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.70it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.70it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.71it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.71it/s] 20%|██ | 10/50 [00:02<00:10, 3.71it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.72it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.71it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.71it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s] 30%|███ | 15/50 [00:04<00:09, 3.71it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s] 40%|████ | 20/50 [00:05<00:08, 3.71it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.71it/s] 50%|█████ | 25/50 [00:06<00:06, 3.71it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.71it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.71it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.71it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.71it/s] 60%|██████ | 30/50 [00:08<00:05, 3.71it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.71it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.71it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.71it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.71it/s] 70%|███████ | 35/50 [00:09<00:04, 3.71it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.71it/s] 74%|███████▍ | 37/50 [00:09<00:03, 3.71it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.71it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s] 80%|████████ | 40/50 [00:10<00:02, 3.70it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s] 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.70it/s]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636IDddhbje3bjorjq6jh3samhsbzamStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-08-31T22:16:19.432118Z", "created_at": "2023-08-31T22:16:04.040436Z", "data_removed": false, "error": null, "id": "ddhbje3bjorjq6jh3samhsbzam", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 32085\nPrompt: A still from a film noir movie in the style of <s0><s1>, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.71it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.69it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.70it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.71it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.71it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.71it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.70it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.70it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.70it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.70it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.70it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.70it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.70it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.70it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.70it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.70it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.70it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.70it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.70it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.70it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.69it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.69it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.69it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.69it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.69it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.69it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.69it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.69it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.69it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.69it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.69it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.69it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.69it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.69it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s]\n 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.70it/s]", "metrics": { "predict_time": 15.390495, "total_time": 15.391682 }, "output": [ "https://replicate.delivery/pbxt/XPJ7SyURfs20E617cgO8mSrNNjoJxG3DiXJdBf5gZu1yMsfiA/out-0.png" ], "started_at": "2023-08-31T22:16:04.041623Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ddhbje3bjorjq6jh3samhsbzam", "cancel": "https://api.replicate.com/v1/predictions/ddhbje3bjorjq6jh3samhsbzam/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 32085 Prompt: A still from a film noir movie in the style of <s0><s1>, a beach scene at sunset with palm trees and a vintage car parked nearby, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.71it/s] 4%|▍ | 2/50 [00:00<00:12, 3.69it/s] 6%|▌ | 3/50 [00:00<00:12, 3.70it/s] 8%|▊ | 4/50 [00:01<00:12, 3.71it/s] 10%|█ | 5/50 [00:01<00:12, 3.71it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.71it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.70it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.70it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.70it/s] 20%|██ | 10/50 [00:02<00:10, 3.70it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s] 30%|███ | 15/50 [00:04<00:09, 3.70it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.70it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.70it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.70it/s] 40%|████ | 20/50 [00:05<00:08, 3.70it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.70it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.70it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.70it/s] 50%|█████ | 25/50 [00:06<00:06, 3.70it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s] 60%|██████ | 30/50 [00:08<00:05, 3.70it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.69it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.69it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.69it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.69it/s] 70%|███████ | 35/50 [00:09<00:04, 3.69it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.69it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.69it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.69it/s] 80%|████████ | 40/50 [00:10<00:02, 3.69it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.69it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.69it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.69it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.69it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.69it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s] 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.70it/s]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636IDcz66lnlbjvkm63mirx7vcqnbqeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-08-31T22:19:10.436580Z", "created_at": "2023-08-31T22:18:55.010593Z", "data_removed": false, "error": null, "id": "cz66lnlbjvkm63mirx7vcqnbqe", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 7390\nPrompt: A still from a film noir movie in the style of <s0><s1>, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.73it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.72it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.71it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.71it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.71it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.71it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.71it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.70it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.70it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.70it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.70it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.70it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.70it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.70it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.70it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.70it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.69it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.69it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.69it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.69it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.69it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.69it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.69it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.69it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.69it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.69it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.69it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.69it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.69it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.69it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.69it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.69it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.69it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.69it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.69it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.69it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.69it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.69it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s]\n 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.70it/s]", "metrics": { "predict_time": 15.423061, "total_time": 15.425987 }, "output": [ "https://replicate.delivery/pbxt/pE6iQ3Fj946CDNradwXHqs1eefVjUjDRP4fht9fJfMfyuH2vIA/out-0.png" ], "started_at": "2023-08-31T22:18:55.013519Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cz66lnlbjvkm63mirx7vcqnbqe", "cancel": "https://api.replicate.com/v1/predictions/cz66lnlbjvkm63mirx7vcqnbqe/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 7390 Prompt: A still from a film noir movie in the style of <s0><s1>, man taking a selfie with an (((iPhone))), close-up, face, detailed, perfect iPhone, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.73it/s] 4%|▍ | 2/50 [00:00<00:12, 3.72it/s] 6%|▌ | 3/50 [00:00<00:12, 3.71it/s] 8%|▊ | 4/50 [00:01<00:12, 3.71it/s] 10%|█ | 5/50 [00:01<00:12, 3.71it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.71it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.71it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.70it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.70it/s] 20%|██ | 10/50 [00:02<00:10, 3.70it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s] 30%|███ | 15/50 [00:04<00:09, 3.70it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.70it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.70it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.70it/s] 40%|████ | 20/50 [00:05<00:08, 3.70it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.70it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.69it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.69it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.69it/s] 50%|█████ | 25/50 [00:06<00:06, 3.69it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.69it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.69it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.69it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.69it/s] 60%|██████ | 30/50 [00:08<00:05, 3.69it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.69it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.69it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.69it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.69it/s] 70%|███████ | 35/50 [00:09<00:04, 3.69it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.69it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.69it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.69it/s] 80%|████████ | 40/50 [00:10<00:02, 3.69it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.69it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.69it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.69it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.69it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.69it/s] 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.70it/s]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636IDsecskclbirkln22i7z6jca7puaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, a woman wearing a VR headset, extreme close up, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman wearing a VR headset, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, a woman wearing a VR headset, extreme close up, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman wearing a VR headset, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman wearing a VR headset, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-08-31T22:19:56.093143Z", "created_at": "2023-08-31T22:19:40.804086Z", "data_removed": false, "error": null, "id": "secskclbirkln22i7z6jca7pua", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman wearing a VR headset, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 56907\nPrompt: A still from a film noir movie in the style of <s0><s1>, a woman wearing a VR headset, extreme close up, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.71it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.72it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.72it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.72it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.72it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.72it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.72it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.71it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.72it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.72it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.72it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.72it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.72it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.71it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.71it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.71it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.71it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.70it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.70it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.70it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.70it/s]\n 74%|███████▍ | 37/50 [00:09<00:03, 3.70it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.70it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.70it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.70it/s]\n 96%|█████████▌| 48/50 [00:12<00:00, 3.70it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.70it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.70it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.71it/s]", "metrics": { "predict_time": 15.297949, "total_time": 15.289057 }, "output": [ "https://replicate.delivery/pbxt/JYXWjghTdfR1byBDawe0XPA4XC0ZzV5Sex5qHC7DyOcWgYfFB/out-0.png" ], "started_at": "2023-08-31T22:19:40.795194Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/secskclbirkln22i7z6jca7pua", "cancel": "https://api.replicate.com/v1/predictions/secskclbirkln22i7z6jca7pua/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 56907 Prompt: A still from a film noir movie in the style of <s0><s1>, a woman wearing a VR headset, extreme close up, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.71it/s] 4%|▍ | 2/50 [00:00<00:12, 3.72it/s] 6%|▌ | 3/50 [00:00<00:12, 3.72it/s] 8%|▊ | 4/50 [00:01<00:12, 3.72it/s] 10%|█ | 5/50 [00:01<00:12, 3.72it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.72it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.72it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.71it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.72it/s] 20%|██ | 10/50 [00:02<00:10, 3.72it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.72it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.72it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.72it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s] 30%|███ | 15/50 [00:04<00:09, 3.71it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s] 40%|████ | 20/50 [00:05<00:08, 3.71it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.71it/s] 50%|█████ | 25/50 [00:06<00:06, 3.71it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s] 60%|██████ | 30/50 [00:08<00:05, 3.70it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.70it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s] 70%|███████ | 35/50 [00:09<00:04, 3.70it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.70it/s] 74%|███████▍ | 37/50 [00:09<00:03, 3.70it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s] 80%|████████ | 40/50 [00:10<00:02, 3.70it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.70it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.70it/s] 96%|█████████▌| 48/50 [00:12<00:00, 3.70it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.70it/s] 100%|██████████| 50/50 [00:13<00:00, 3.70it/s] 100%|██████████| 50/50 [00:13<00:00, 3.71it/s]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636IDex665d3b64mefldqvnmhsk2wieStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, a woman disappointed with her hamster, extreme close up, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 4
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman disappointed with her hamster, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 4, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, a woman disappointed with her hamster, extreme close up, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 4, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman disappointed with her hamster, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 4, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman disappointed with her hamster, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 4, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-01T22:19:21.955579Z", "created_at": "2023-09-01T22:17:17.788952Z", "data_removed": false, "error": null, "id": "ex665d3b64mefldqvnmhsk2wie", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman disappointed with her hamster, extreme close up, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 4, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 36692\nPrompt: A still from a film noir movie in the style of <s0><s1>, a woman disappointed with her hamster, extreme close up, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:01<01:15, 1.55s/it]\n 4%|▍ | 2/50 [00:02<00:58, 1.23s/it]\n 6%|▌ | 3/50 [00:03<00:52, 1.12s/it]\n 8%|▊ | 4/50 [00:04<00:49, 1.08s/it]\n 10%|█ | 5/50 [00:05<00:47, 1.05s/it]\n 12%|█▏ | 6/50 [00:06<00:45, 1.04s/it]\n 14%|█▍ | 7/50 [00:07<00:44, 1.03s/it]\n 16%|█▌ | 8/50 [00:08<00:42, 1.02s/it]\n 18%|█▊ | 9/50 [00:09<00:41, 1.02s/it]\n 20%|██ | 10/50 [00:10<00:40, 1.01s/it]\n 22%|██▏ | 11/50 [00:11<00:39, 1.01s/it]\n 24%|██▍ | 12/50 [00:12<00:38, 1.01s/it]\n 26%|██▌ | 13/50 [00:13<00:37, 1.01s/it]\n 28%|██▊ | 14/50 [00:14<00:36, 1.01s/it]\n 30%|███ | 15/50 [00:15<00:35, 1.01s/it]\n 32%|███▏ | 16/50 [00:16<00:34, 1.01s/it]\n 34%|███▍ | 17/50 [00:17<00:33, 1.01s/it]\n 36%|███▌ | 18/50 [00:18<00:32, 1.01s/it]\n 38%|███▊ | 19/50 [00:19<00:31, 1.01s/it]\n 40%|████ | 20/50 [00:20<00:30, 1.01s/it]\n 42%|████▏ | 21/50 [00:21<00:29, 1.01s/it]\n 44%|████▍ | 22/50 [00:22<00:28, 1.01s/it]\n 46%|████▌ | 23/50 [00:23<00:27, 1.01s/it]\n 48%|████▊ | 24/50 [00:24<00:26, 1.01s/it]\n 50%|█████ | 25/50 [00:25<00:25, 1.01s/it]\n 52%|█████▏ | 26/50 [00:26<00:24, 1.01s/it]\n 54%|█████▍ | 27/50 [00:27<00:23, 1.01s/it]\n 56%|█████▌ | 28/50 [00:28<00:22, 1.01s/it]\n 58%|█████▊ | 29/50 [00:29<00:21, 1.01s/it]\n 60%|██████ | 30/50 [00:30<00:20, 1.01s/it]\n 62%|██████▏ | 31/50 [00:31<00:19, 1.01s/it]\n 64%|██████▍ | 32/50 [00:32<00:18, 1.01s/it]\n 66%|██████▌ | 33/50 [00:33<00:17, 1.01s/it]\n 68%|██████▊ | 34/50 [00:34<00:16, 1.01s/it]\n 70%|███████ | 35/50 [00:35<00:15, 1.01s/it]\n 72%|███████▏ | 36/50 [00:36<00:14, 1.01s/it]\n 74%|███████▍ | 37/50 [00:37<00:13, 1.01s/it]\n 76%|███████▌ | 38/50 [00:38<00:12, 1.01s/it]\n 78%|███████▊ | 39/50 [00:39<00:11, 1.01s/it]\n 80%|████████ | 40/50 [00:40<00:10, 1.01s/it]\n 82%|████████▏ | 41/50 [00:41<00:09, 1.01s/it]\n 84%|████████▍ | 42/50 [00:42<00:08, 1.01s/it]\n 86%|████████▌ | 43/50 [00:43<00:07, 1.01s/it]\n 88%|████████▊ | 44/50 [00:44<00:06, 1.01s/it]\n 90%|█████████ | 45/50 [00:45<00:05, 1.01s/it]\n 92%|█████████▏| 46/50 [00:46<00:04, 1.01s/it]\n 94%|█████████▍| 47/50 [00:47<00:03, 1.01s/it]\n 96%|█████████▌| 48/50 [00:48<00:02, 1.01s/it]\n 98%|█████████▊| 49/50 [00:49<00:01, 1.01s/it]\n100%|██████████| 50/50 [00:50<00:00, 1.01s/it]\n100%|██████████| 50/50 [00:50<00:00, 1.02s/it]", "metrics": { "predict_time": 58.021451, "total_time": 124.166627 }, "output": [ "https://replicate.delivery/pbxt/gkC58qXGjto9JF3P0Mj28TfeGLsgX6KO10dn8B0lnzbmVBgRA/out-0.png", "https://replicate.delivery/pbxt/zWvKpcLG0CYecy6WiKnwaFfsNYC3YN1H0z17rlt0f5fcWFAGB/out-1.png", "https://replicate.delivery/pbxt/9E1vDz6HCvboPp7GMfwdof7P1ewtiMFpxwmAwrcalExTrCAjA/out-2.png", "https://replicate.delivery/pbxt/yf4k43H7O0RlTKw2fyJloNidjlWKftJPGYTX2uyp9iOSrCAjA/out-3.png" ], "started_at": "2023-09-01T22:18:23.934128Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ex665d3b64mefldqvnmhsk2wie", "cancel": "https://api.replicate.com/v1/predictions/ex665d3b64mefldqvnmhsk2wie/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 36692 Prompt: A still from a film noir movie in the style of <s0><s1>, a woman disappointed with her hamster, extreme close up, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:01<01:15, 1.55s/it] 4%|▍ | 2/50 [00:02<00:58, 1.23s/it] 6%|▌ | 3/50 [00:03<00:52, 1.12s/it] 8%|▊ | 4/50 [00:04<00:49, 1.08s/it] 10%|█ | 5/50 [00:05<00:47, 1.05s/it] 12%|█▏ | 6/50 [00:06<00:45, 1.04s/it] 14%|█▍ | 7/50 [00:07<00:44, 1.03s/it] 16%|█▌ | 8/50 [00:08<00:42, 1.02s/it] 18%|█▊ | 9/50 [00:09<00:41, 1.02s/it] 20%|██ | 10/50 [00:10<00:40, 1.01s/it] 22%|██▏ | 11/50 [00:11<00:39, 1.01s/it] 24%|██▍ | 12/50 [00:12<00:38, 1.01s/it] 26%|██▌ | 13/50 [00:13<00:37, 1.01s/it] 28%|██▊ | 14/50 [00:14<00:36, 1.01s/it] 30%|███ | 15/50 [00:15<00:35, 1.01s/it] 32%|███▏ | 16/50 [00:16<00:34, 1.01s/it] 34%|███▍ | 17/50 [00:17<00:33, 1.01s/it] 36%|███▌ | 18/50 [00:18<00:32, 1.01s/it] 38%|███▊ | 19/50 [00:19<00:31, 1.01s/it] 40%|████ | 20/50 [00:20<00:30, 1.01s/it] 42%|████▏ | 21/50 [00:21<00:29, 1.01s/it] 44%|████▍ | 22/50 [00:22<00:28, 1.01s/it] 46%|████▌ | 23/50 [00:23<00:27, 1.01s/it] 48%|████▊ | 24/50 [00:24<00:26, 1.01s/it] 50%|█████ | 25/50 [00:25<00:25, 1.01s/it] 52%|█████▏ | 26/50 [00:26<00:24, 1.01s/it] 54%|█████▍ | 27/50 [00:27<00:23, 1.01s/it] 56%|█████▌ | 28/50 [00:28<00:22, 1.01s/it] 58%|█████▊ | 29/50 [00:29<00:21, 1.01s/it] 60%|██████ | 30/50 [00:30<00:20, 1.01s/it] 62%|██████▏ | 31/50 [00:31<00:19, 1.01s/it] 64%|██████▍ | 32/50 [00:32<00:18, 1.01s/it] 66%|██████▌ | 33/50 [00:33<00:17, 1.01s/it] 68%|██████▊ | 34/50 [00:34<00:16, 1.01s/it] 70%|███████ | 35/50 [00:35<00:15, 1.01s/it] 72%|███████▏ | 36/50 [00:36<00:14, 1.01s/it] 74%|███████▍ | 37/50 [00:37<00:13, 1.01s/it] 76%|███████▌ | 38/50 [00:38<00:12, 1.01s/it] 78%|███████▊ | 39/50 [00:39<00:11, 1.01s/it] 80%|████████ | 40/50 [00:40<00:10, 1.01s/it] 82%|████████▏ | 41/50 [00:41<00:09, 1.01s/it] 84%|████████▍ | 42/50 [00:42<00:08, 1.01s/it] 86%|████████▌ | 43/50 [00:43<00:07, 1.01s/it] 88%|████████▊ | 44/50 [00:44<00:06, 1.01s/it] 90%|█████████ | 45/50 [00:45<00:05, 1.01s/it] 92%|█████████▏| 46/50 [00:46<00:04, 1.01s/it] 94%|█████████▍| 47/50 [00:47<00:03, 1.01s/it] 96%|█████████▌| 48/50 [00:48<00:02, 1.01s/it] 98%|█████████▊| 49/50 [00:49<00:01, 1.01s/it] 100%|██████████| 50/50 [00:50<00:00, 1.01s/it] 100%|██████████| 50/50 [00:50<00:00, 1.02s/it]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636IDmxw2gvtbo7hqo5g6j3mx7hmi5yStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, a view of the Golden Gate Bridge, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a view of the Golden Gate Bridge, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, a view of the Golden Gate Bridge, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a view of the Golden Gate Bridge, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a view of the Golden Gate Bridge, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-08-31T22:15:22.429214Z", "created_at": "2023-08-31T22:15:07.079685Z", "data_removed": false, "error": null, "id": "mxw2gvtbo7hqo5g6j3mx7hmi5y", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a view of the Golden Gate Bridge, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 22573\nPrompt: A still from a film noir movie in the style of <s0><s1>, a view of the Golden Gate Bridge, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.72it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.70it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.70it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.70it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.70it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.70it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.69it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.69it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.69it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.69it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.71it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.71it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.71it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.71it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.71it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.71it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.71it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.71it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.71it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.70it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.71it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.70it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.71it/s]\n 74%|███████▍ | 37/50 [00:09<00:03, 3.70it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.70it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.70it/s]\n 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.70it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.70it/s]", "metrics": { "predict_time": 15.342504, "total_time": 15.349529 }, "output": [ "https://replicate.delivery/pbxt/mbozZDmAnirsPFeYygm2Upf4fqOpjmuPSWQZ8oIVnnqzXYfFB/out-0.png" ], "started_at": "2023-08-31T22:15:07.086710Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mxw2gvtbo7hqo5g6j3mx7hmi5y", "cancel": "https://api.replicate.com/v1/predictions/mxw2gvtbo7hqo5g6j3mx7hmi5y/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 22573 Prompt: A still from a film noir movie in the style of <s0><s1>, a view of the Golden Gate Bridge, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.72it/s] 4%|▍ | 2/50 [00:00<00:12, 3.70it/s] 6%|▌ | 3/50 [00:00<00:12, 3.70it/s] 8%|▊ | 4/50 [00:01<00:12, 3.70it/s] 10%|█ | 5/50 [00:01<00:12, 3.70it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.70it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.69it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.69it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.69it/s] 20%|██ | 10/50 [00:02<00:10, 3.69it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.71it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.71it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s] 30%|███ | 15/50 [00:04<00:09, 3.71it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s] 40%|████ | 20/50 [00:05<00:08, 3.71it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.71it/s] 50%|█████ | 25/50 [00:06<00:06, 3.71it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.71it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.71it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.71it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s] 60%|██████ | 30/50 [00:08<00:05, 3.70it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.71it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s] 70%|███████ | 35/50 [00:09<00:04, 3.70it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.71it/s] 74%|███████▍ | 37/50 [00:09<00:03, 3.70it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s] 80%|████████ | 40/50 [00:10<00:02, 3.70it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.70it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.70it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.69it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.70it/s] 96%|█████████▌| 48/50 [00:12<00:00, 3.69it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.70it/s] 100%|██████████| 50/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:13<00:00, 3.70it/s]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636ID5qx6yidbfiths5td4dxfjj2zxqStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, a woman buying an air conditioning unit, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman buying an air conditioning unit, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, a woman buying an air conditioning unit, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman buying an air conditioning unit, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman buying an air conditioning unit, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-01T01:13:54.546833Z", "created_at": "2023-09-01T01:12:46.177880Z", "data_removed": false, "error": null, "id": "5qx6yidbfiths5td4dxfjj2zxq", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a woman buying an air conditioning unit, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 20271\nPrompt: A still from a film noir movie in the style of <s0><s1>, a woman buying an air conditioning unit, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:39, 1.25it/s]\n 4%|▍ | 2/50 [00:01<00:23, 2.05it/s]\n 6%|▌ | 3/50 [00:01<00:18, 2.58it/s]\n 8%|▊ | 4/50 [00:01<00:15, 2.93it/s]\n 10%|█ | 5/50 [00:01<00:14, 3.16it/s]\n 12%|█▏ | 6/50 [00:02<00:13, 3.33it/s]\n 14%|█▍ | 7/50 [00:02<00:12, 3.44it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.51it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.57it/s]\n 20%|██ | 10/50 [00:03<00:11, 3.60it/s]\n 22%|██▏ | 11/50 [00:03<00:10, 3.63it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.64it/s]\n 26%|██▌ | 13/50 [00:04<00:10, 3.66it/s]\n 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.68it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s]\n 34%|███▍ | 17/50 [00:05<00:08, 3.70it/s]\n 36%|███▌ | 18/50 [00:05<00:08, 3.71it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.71it/s]\n 42%|████▏ | 21/50 [00:06<00:07, 3.71it/s]\n 44%|████▍ | 22/50 [00:06<00:07, 3.71it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s]\n 48%|████▊ | 24/50 [00:07<00:07, 3.71it/s]\n 50%|█████ | 25/50 [00:07<00:06, 3.71it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.71it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.71it/s]\n 56%|█████▌ | 28/50 [00:08<00:05, 3.70it/s]\n 58%|█████▊ | 29/50 [00:08<00:05, 3.71it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.70it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s]\n 64%|██████▍ | 32/50 [00:09<00:04, 3.70it/s]\n 66%|██████▌ | 33/50 [00:09<00:04, 3.70it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.70it/s]\n 72%|███████▏ | 36/50 [00:10<00:03, 3.70it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.70it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s]\n 78%|███████▊ | 39/50 [00:11<00:02, 3.70it/s]\n 80%|████████ | 40/50 [00:11<00:02, 3.70it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s]\n 86%|████████▌ | 43/50 [00:12<00:01, 3.70it/s]\n 88%|████████▊ | 44/50 [00:12<00:01, 3.70it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.70it/s]\n 94%|█████████▍| 47/50 [00:13<00:00, 3.70it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.70it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.70it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.56it/s]", "metrics": { "predict_time": 16.712084, "total_time": 68.368953 }, "output": [ "https://replicate.delivery/pbxt/ZJy6Pu42ZSLMOtQUpGnrIblAFeCg4AePO3TZM4nt5M3RzufiA/out-0.png" ], "started_at": "2023-09-01T01:13:37.834749Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5qx6yidbfiths5td4dxfjj2zxq", "cancel": "https://api.replicate.com/v1/predictions/5qx6yidbfiths5td4dxfjj2zxq/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 20271 Prompt: A still from a film noir movie in the style of <s0><s1>, a woman buying an air conditioning unit, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:39, 1.25it/s] 4%|▍ | 2/50 [00:01<00:23, 2.05it/s] 6%|▌ | 3/50 [00:01<00:18, 2.58it/s] 8%|▊ | 4/50 [00:01<00:15, 2.93it/s] 10%|█ | 5/50 [00:01<00:14, 3.16it/s] 12%|█▏ | 6/50 [00:02<00:13, 3.33it/s] 14%|█▍ | 7/50 [00:02<00:12, 3.44it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.51it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.57it/s] 20%|██ | 10/50 [00:03<00:11, 3.60it/s] 22%|██▏ | 11/50 [00:03<00:10, 3.63it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.64it/s] 26%|██▌ | 13/50 [00:04<00:10, 3.66it/s] 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s] 30%|███ | 15/50 [00:04<00:09, 3.68it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s] 34%|███▍ | 17/50 [00:05<00:08, 3.70it/s] 36%|███▌ | 18/50 [00:05<00:08, 3.71it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s] 40%|████ | 20/50 [00:05<00:08, 3.71it/s] 42%|████▏ | 21/50 [00:06<00:07, 3.71it/s] 44%|████▍ | 22/50 [00:06<00:07, 3.71it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.71it/s] 48%|████▊ | 24/50 [00:07<00:07, 3.71it/s] 50%|█████ | 25/50 [00:07<00:06, 3.71it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.71it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.71it/s] 56%|█████▌ | 28/50 [00:08<00:05, 3.70it/s] 58%|█████▊ | 29/50 [00:08<00:05, 3.71it/s] 60%|██████ | 30/50 [00:08<00:05, 3.70it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s] 64%|██████▍ | 32/50 [00:09<00:04, 3.70it/s] 66%|██████▌ | 33/50 [00:09<00:04, 3.70it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s] 70%|███████ | 35/50 [00:09<00:04, 3.70it/s] 72%|███████▏ | 36/50 [00:10<00:03, 3.70it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.70it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s] 78%|███████▊ | 39/50 [00:11<00:02, 3.70it/s] 80%|████████ | 40/50 [00:11<00:02, 3.70it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.70it/s] 86%|████████▌ | 43/50 [00:12<00:01, 3.70it/s] 88%|████████▊ | 44/50 [00:12<00:01, 3.70it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.70it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.70it/s] 94%|█████████▍| 47/50 [00:13<00:00, 3.70it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.70it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.70it/s] 100%|██████████| 50/50 [00:14<00:00, 3.69it/s] 100%|██████████| 50/50 [00:14<00:00, 3.56it/s]
Prediction
davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636IDo26xdylbpq3m6ldn5kohh7trfmStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A still from a film noir movie in the style of TOK, a man looking curiously at a flamingo, strong shadows
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a man looking curiously at a flamingo, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", { input: { width: 1024, height: 1024, prompt: "A still from a film noir movie in the style of TOK, a man looking curiously at a flamingo, strong shadows", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run davidbarker/sdxl-film-noir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", input={ "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a man looking curiously at a flamingo, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run davidbarker/sdxl-film-noir 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": "davidbarker/sdxl-film-noir:125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a man looking curiously at a flamingo, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-01T01:17:11.268987Z", "created_at": "2023-09-01T01:16:55.826889Z", "data_removed": false, "error": null, "id": "o26xdylbpq3m6ldn5kohh7trfm", "input": { "width": 1024, "height": 1024, "prompt": "A still from a film noir movie in the style of TOK, a man looking curiously at a flamingo, strong shadows", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "deformed, text, watermark, logo, banner, extra digits, deformed fingers, deformed hands, cropped, signature, username, error, sketch, duplicate, ugly, geometry, mutation, disgusting", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 3568\nPrompt: A still from a film noir movie in the style of <s0><s1>, a man looking curiously at a flamingo, strong shadows\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.71it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.71it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.70it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.71it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.71it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.71it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.71it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.71it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.71it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.71it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.71it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.70it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.69it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.69it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.68it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.69it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.68it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.68it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.68it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.68it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.68it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.68it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.68it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.68it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.68it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.68it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.68it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.68it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.68it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.68it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.68it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.68it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.68it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.68it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.68it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.68it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.68it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.68it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.68it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.68it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.68it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.68it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.68it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.69it/s]", "metrics": { "predict_time": 15.435991, "total_time": 15.442098 }, "output": [ "https://replicate.delivery/pbxt/KMxx37xQo1p6Bph6MZkojkpzOlhwuWePBXEwu0ceZ7JW2ufiA/out-0.png" ], "started_at": "2023-09-01T01:16:55.832996Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/o26xdylbpq3m6ldn5kohh7trfm", "cancel": "https://api.replicate.com/v1/predictions/o26xdylbpq3m6ldn5kohh7trfm/cancel" }, "version": "125173ff2065196b88b672ba305b3fbf094353857fbe7e3868603b90e9e8a636" }
Generated inUsing seed: 3568 Prompt: A still from a film noir movie in the style of <s0><s1>, a man looking curiously at a flamingo, strong shadows txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.71it/s] 4%|▍ | 2/50 [00:00<00:12, 3.71it/s] 6%|▌ | 3/50 [00:00<00:12, 3.70it/s] 8%|▊ | 4/50 [00:01<00:12, 3.71it/s] 10%|█ | 5/50 [00:01<00:12, 3.71it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.71it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.71it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.71it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.71it/s] 20%|██ | 10/50 [00:02<00:10, 3.71it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.71it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.70it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s] 30%|███ | 15/50 [00:04<00:09, 3.70it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.70it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.69it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.69it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s] 40%|████ | 20/50 [00:05<00:08, 3.68it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.69it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.68it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.68it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.68it/s] 50%|█████ | 25/50 [00:06<00:06, 3.68it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.68it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.68it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.68it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.68it/s] 60%|██████ | 30/50 [00:08<00:05, 3.68it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.68it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.68it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.68it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.68it/s] 70%|███████ | 35/50 [00:09<00:04, 3.68it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.68it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.68it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.68it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.68it/s] 80%|████████ | 40/50 [00:10<00:02, 3.68it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.68it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.68it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.68it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.68it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.68it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.68it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.68it/s] 100%|██████████| 50/50 [00:13<00:00, 3.68it/s] 100%|██████████| 50/50 [00:13<00:00, 3.69it/s]
Want to make some of these yourself?
Run this model