genericdeag / comic-style
- Public
- 1K runs
-
H100
Prediction
genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482bIDsp36x0xtw5rm60chpy1bet1wqwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- jpg
- guidance_scale
- 3.52
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run genericdeag/comic-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", { input: { model: "dev", prompt: "a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "jpg", guidance_scale: 3.52, output_quality: 80, extra_lora_scale: 0.8, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run genericdeag/comic-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", input={ "model": "dev", "prompt": "a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run genericdeag/comic-style 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": "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", "input": { "model": "dev", "prompt": "a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-03T10:51:54.411071Z", "created_at": "2024-09-03T10:51:23.745000Z", "data_removed": false, "error": null, "id": "sp36x0xtw5rm60chpy1bet1wqw", "input": { "model": "dev", "prompt": "a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 40101\nPrompt: a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE\ntxt2img mode\nUsing dev model\nfree=9473873444864\nDownloading weights\n2024-09-03T10:51:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4j29nc_j/weights url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar\n2024-09-03T10:51:29Z | INFO | [ Complete ] dest=/tmp/tmp4j29nc_j/weights size=\"172 MB\" total_elapsed=2.390s url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar\nDownloaded weights in 2.42s\nLoaded LoRAs in 11.82s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:14, 1.93it/s]\n 7%|▋ | 2/28 [00:00<00:11, 2.21it/s]\n 11%|█ | 3/28 [00:01<00:12, 2.07it/s]\n 14%|█▍ | 4/28 [00:01<00:11, 2.00it/s]\n 18%|█▊ | 5/28 [00:02<00:11, 1.97it/s]\n 21%|██▏ | 6/28 [00:03<00:11, 1.95it/s]\n 25%|██▌ | 7/28 [00:03<00:10, 1.94it/s]\n 29%|██▊ | 8/28 [00:04<00:10, 1.93it/s]\n 32%|███▏ | 9/28 [00:04<00:09, 1.92it/s]\n 36%|███▌ | 10/28 [00:05<00:09, 1.92it/s]\n 39%|███▉ | 11/28 [00:05<00:08, 1.92it/s]\n 43%|████▎ | 12/28 [00:06<00:08, 1.91it/s]\n 46%|████▋ | 13/28 [00:06<00:07, 1.91it/s]\n 50%|█████ | 14/28 [00:07<00:07, 1.91it/s]\n 54%|█████▎ | 15/28 [00:07<00:06, 1.91it/s]\n 57%|█████▋ | 16/28 [00:08<00:06, 1.91it/s]\n 61%|██████ | 17/28 [00:08<00:05, 1.91it/s]\n 64%|██████▍ | 18/28 [00:09<00:05, 1.91it/s]\n 68%|██████▊ | 19/28 [00:09<00:04, 1.91it/s]\n 71%|███████▏ | 20/28 [00:10<00:04, 1.91it/s]\n 75%|███████▌ | 21/28 [00:10<00:03, 1.91it/s]\n 79%|███████▊ | 22/28 [00:11<00:03, 1.91it/s]\n 82%|████████▏ | 23/28 [00:11<00:02, 1.91it/s]\n 86%|████████▌ | 24/28 [00:12<00:02, 1.91it/s]\n 89%|████████▉ | 25/28 [00:12<00:01, 1.91it/s]\n 93%|█████████▎| 26/28 [00:13<00:01, 1.91it/s]\n 96%|█████████▋| 27/28 [00:14<00:00, 1.91it/s]\n100%|██████████| 28/28 [00:14<00:00, 1.91it/s]\n100%|██████████| 28/28 [00:14<00:00, 1.93it/s]", "metrics": { "predict_time": 27.132853754, "total_time": 30.666071 }, "output": [ "https://replicate.delivery/yhqm/4nVVVGh4MgJfbao65IZcnnxvFeZ6UdS1J59FDt2tt3SKxJZTA/out-0.jpg", "https://replicate.delivery/yhqm/B2LNDuJoBi6oBhLoPBLtQNHoUfLSxSjL14ZLDhwcgKXl4ksJA/out-1.jpg" ], "started_at": "2024-09-03T10:51:27.278217Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/sp36x0xtw5rm60chpy1bet1wqw", "cancel": "https://api.replicate.com/v1/predictions/sp36x0xtw5rm60chpy1bet1wqw/cancel" }, "version": "85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b" }
Generated inUsing seed: 40101 Prompt: a man with short brown hair, wearing a dark suit with a white shirt, simple, minimalist, flat design illustration, in style of GNRCDE txt2img mode Using dev model free=9473873444864 Downloading weights 2024-09-03T10:51:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4j29nc_j/weights url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar 2024-09-03T10:51:29Z | INFO | [ Complete ] dest=/tmp/tmp4j29nc_j/weights size="172 MB" total_elapsed=2.390s url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar Downloaded weights in 2.42s Loaded LoRAs in 11.82s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:14, 1.93it/s] 7%|▋ | 2/28 [00:00<00:11, 2.21it/s] 11%|█ | 3/28 [00:01<00:12, 2.07it/s] 14%|█▍ | 4/28 [00:01<00:11, 2.00it/s] 18%|█▊ | 5/28 [00:02<00:11, 1.97it/s] 21%|██▏ | 6/28 [00:03<00:11, 1.95it/s] 25%|██▌ | 7/28 [00:03<00:10, 1.94it/s] 29%|██▊ | 8/28 [00:04<00:10, 1.93it/s] 32%|███▏ | 9/28 [00:04<00:09, 1.92it/s] 36%|███▌ | 10/28 [00:05<00:09, 1.92it/s] 39%|███▉ | 11/28 [00:05<00:08, 1.92it/s] 43%|████▎ | 12/28 [00:06<00:08, 1.91it/s] 46%|████▋ | 13/28 [00:06<00:07, 1.91it/s] 50%|█████ | 14/28 [00:07<00:07, 1.91it/s] 54%|█████▎ | 15/28 [00:07<00:06, 1.91it/s] 57%|█████▋ | 16/28 [00:08<00:06, 1.91it/s] 61%|██████ | 17/28 [00:08<00:05, 1.91it/s] 64%|██████▍ | 18/28 [00:09<00:05, 1.91it/s] 68%|██████▊ | 19/28 [00:09<00:04, 1.91it/s] 71%|███████▏ | 20/28 [00:10<00:04, 1.91it/s] 75%|███████▌ | 21/28 [00:10<00:03, 1.91it/s] 79%|███████▊ | 22/28 [00:11<00:03, 1.91it/s] 82%|████████▏ | 23/28 [00:11<00:02, 1.91it/s] 86%|████████▌ | 24/28 [00:12<00:02, 1.91it/s] 89%|████████▉ | 25/28 [00:12<00:01, 1.91it/s] 93%|█████████▎| 26/28 [00:13<00:01, 1.91it/s] 96%|█████████▋| 27/28 [00:14<00:00, 1.91it/s] 100%|██████████| 28/28 [00:14<00:00, 1.91it/s] 100%|██████████| 28/28 [00:14<00:00, 1.93it/s]
Prediction
genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482bIDs18wemk555rm00chpz9rzmb0e0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- jpg
- guidance_scale
- 3.52
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run genericdeag/comic-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", { input: { model: "dev", prompt: "A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "jpg", guidance_scale: 3.52, output_quality: 80, extra_lora_scale: 0.8, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run genericdeag/comic-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", input={ "model": "dev", "prompt": "A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run genericdeag/comic-style 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": "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", "input": { "model": "dev", "prompt": "A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-03T12:19:54.670588Z", "created_at": "2024-09-03T12:19:30.217000Z", "data_removed": false, "error": null, "id": "s18wemk555rm00chpz9rzmb0e0", "input": { "model": "dev", "prompt": "A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.52, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 14125\nPrompt: A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 9.13s\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['.', '.']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:14, 1.92it/s]\n 7%|▋ | 2/28 [00:00<00:11, 2.20it/s]\n 11%|█ | 3/28 [00:01<00:12, 2.06it/s]\n 14%|█▍ | 4/28 [00:01<00:12, 2.00it/s]\n 18%|█▊ | 5/28 [00:02<00:11, 1.96it/s]\n 21%|██▏ | 6/28 [00:03<00:11, 1.95it/s]\n 25%|██▌ | 7/28 [00:03<00:10, 1.93it/s]\n 29%|██▊ | 8/28 [00:04<00:10, 1.92it/s]\n 32%|███▏ | 9/28 [00:04<00:09, 1.92it/s]\n 36%|███▌ | 10/28 [00:05<00:09, 1.92it/s]\n 39%|███▉ | 11/28 [00:05<00:08, 1.91it/s]\n 43%|████▎ | 12/28 [00:06<00:08, 1.91it/s]\n 46%|████▋ | 13/28 [00:06<00:07, 1.91it/s]\n 50%|█████ | 14/28 [00:07<00:07, 1.91it/s]\n 54%|█████▎ | 15/28 [00:07<00:06, 1.91it/s]\n 57%|█████▋ | 16/28 [00:08<00:06, 1.91it/s]\n 61%|██████ | 17/28 [00:08<00:05, 1.91it/s]\n 64%|██████▍ | 18/28 [00:09<00:05, 1.91it/s]\n 68%|██████▊ | 19/28 [00:09<00:04, 1.91it/s]\n 71%|███████▏ | 20/28 [00:10<00:04, 1.91it/s]\n 75%|███████▌ | 21/28 [00:10<00:03, 1.91it/s]\n 79%|███████▊ | 22/28 [00:11<00:03, 1.90it/s]\n 82%|████████▏ | 23/28 [00:11<00:02, 1.91it/s]\n 86%|████████▌ | 24/28 [00:12<00:02, 1.91it/s]\n 89%|████████▉ | 25/28 [00:12<00:01, 1.91it/s]\n 93%|█████████▎| 26/28 [00:13<00:01, 1.91it/s]\n 96%|█████████▋| 27/28 [00:14<00:00, 1.91it/s]\n100%|██████████| 28/28 [00:14<00:00, 1.90it/s]\n100%|██████████| 28/28 [00:14<00:00, 1.92it/s]", "metrics": { "predict_time": 24.444498765, "total_time": 24.453588 }, "output": [ "https://replicate.delivery/yhqm/VjzWOCd09v53A9AFZvvFEm1o2hOgesrazmnDWN9oLQC1hlsJA/out-0.jpg", "https://replicate.delivery/yhqm/lHzQ49tn7o4eZyMfIw32tj9N05eXJlDmua4fdcfMCLPVdYJbC/out-1.jpg" ], "started_at": "2024-09-03T12:19:30.226089Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/s18wemk555rm00chpz9rzmb0e0", "cancel": "https://api.replicate.com/v1/predictions/s18wemk555rm00chpz9rzmb0e0/cancel" }, "version": "85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b" }
Generated inUsing seed: 14125 Prompt: A woman with straight brown hair, wearing a yellow-green shirt, is carefully placing a light blue sticky note onto a glass surface covered with colorful sticky notes in green, blue, and yellow. The scene has a focused and collaborative atmosphere, with additional sticky notes visible in the background. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE. txt2img mode Using dev model Loaded LoRAs in 9.13s The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['.', '.'] 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:14, 1.92it/s] 7%|▋ | 2/28 [00:00<00:11, 2.20it/s] 11%|█ | 3/28 [00:01<00:12, 2.06it/s] 14%|█▍ | 4/28 [00:01<00:12, 2.00it/s] 18%|█▊ | 5/28 [00:02<00:11, 1.96it/s] 21%|██▏ | 6/28 [00:03<00:11, 1.95it/s] 25%|██▌ | 7/28 [00:03<00:10, 1.93it/s] 29%|██▊ | 8/28 [00:04<00:10, 1.92it/s] 32%|███▏ | 9/28 [00:04<00:09, 1.92it/s] 36%|███▌ | 10/28 [00:05<00:09, 1.92it/s] 39%|███▉ | 11/28 [00:05<00:08, 1.91it/s] 43%|████▎ | 12/28 [00:06<00:08, 1.91it/s] 46%|████▋ | 13/28 [00:06<00:07, 1.91it/s] 50%|█████ | 14/28 [00:07<00:07, 1.91it/s] 54%|█████▎ | 15/28 [00:07<00:06, 1.91it/s] 57%|█████▋ | 16/28 [00:08<00:06, 1.91it/s] 61%|██████ | 17/28 [00:08<00:05, 1.91it/s] 64%|██████▍ | 18/28 [00:09<00:05, 1.91it/s] 68%|██████▊ | 19/28 [00:09<00:04, 1.91it/s] 71%|███████▏ | 20/28 [00:10<00:04, 1.91it/s] 75%|███████▌ | 21/28 [00:10<00:03, 1.91it/s] 79%|███████▊ | 22/28 [00:11<00:03, 1.90it/s] 82%|████████▏ | 23/28 [00:11<00:02, 1.91it/s] 86%|████████▌ | 24/28 [00:12<00:02, 1.91it/s] 89%|████████▉ | 25/28 [00:12<00:01, 1.91it/s] 93%|█████████▎| 26/28 [00:13<00:01, 1.91it/s] 96%|█████████▋| 27/28 [00:14<00:00, 1.91it/s] 100%|██████████| 28/28 [00:14<00:00, 1.90it/s] 100%|██████████| 28/28 [00:14<00:00, 1.92it/s]
Prediction
genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482bID328rzy25t1rm60chpzfa0tsxbgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.
- extra_lora
- https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 1
- num_inference_steps
- 34
{ "model": "dev", "prompt": "Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "extra_lora": "https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 1, "num_inference_steps": 34 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run genericdeag/comic-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", { input: { model: "dev", prompt: "Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", extra_lora: "https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "jpg", guidance_scale: 3.5, output_quality: 80, extra_lora_scale: 1, num_inference_steps: 34 } } ); // 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 genericdeag/comic-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", input={ "model": "dev", "prompt": "Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "extra_lora": "https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 1, "num_inference_steps": 34 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run genericdeag/comic-style 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": "genericdeag/comic-style:85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b", "input": { "model": "dev", "prompt": "Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "extra_lora": "https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 1, "num_inference_steps": 34 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-03T12:32:15.903103Z", "created_at": "2024-09-03T12:31:23.088000Z", "data_removed": false, "error": null, "id": "328rzy25t1rm60chpzfa0tsxbg", "input": { "model": "dev", "prompt": "Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.", "extra_lora": "https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 1, "num_inference_steps": 34 }, "logs": "Using seed: 10198\nPrompt: Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE.\ntxt2img mode\nUsing dev model\nLoading extra LoRA weights from: https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar\nfree=9111406649344\nDownloading weights\n2024-09-03T12:31:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp8bwuz9gw/weights url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar\n2024-09-03T12:31:32Z | INFO | [ Complete ] dest=/tmp/tmp8bwuz9gw/weights size=\"172 MB\" total_elapsed=1.457s url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar\nDownloaded weights in 1.49s\nfree=9111063011328\nDownloading weights\n2024-09-03T12:31:47Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmps_ryjiw3/weights url=https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar\n2024-09-03T12:31:49Z | INFO | [ Complete ] dest=/tmp/tmps_ryjiw3/weights size=\"172 MB\" total_elapsed=1.520s url=https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar\nDownloaded weights in 1.55s\nLoaded LoRAs in 33.45s\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['sleek design. the background is minimalistic with soft lighting. the overall atmosphere is professional yet approachable. simple, minimalist, flat design illustration, white background, in the style of gnrcde.']\n 0%| | 0/34 [00:00<?, ?it/s]\n 3%|▎ | 1/34 [00:00<00:10, 3.15it/s]\n 6%|▌ | 2/34 [00:00<00:09, 3.48it/s]\n 9%|▉ | 3/34 [00:00<00:09, 3.32it/s]\n 12%|█▏ | 4/34 [00:01<00:09, 3.25it/s]\n 15%|█▍ | 5/34 [00:01<00:09, 3.22it/s]\n 18%|█▊ | 6/34 [00:01<00:08, 3.19it/s]\n 21%|██ | 7/34 [00:02<00:08, 3.18it/s]\n 24%|██▎ | 8/34 [00:02<00:08, 3.17it/s]\n 26%|██▋ | 9/34 [00:02<00:07, 3.16it/s]\n 29%|██▉ | 10/34 [00:03<00:07, 3.16it/s]\n 32%|███▏ | 11/34 [00:03<00:07, 3.16it/s]\n 35%|███▌ | 12/34 [00:03<00:06, 3.15it/s]\n 38%|███▊ | 13/34 [00:04<00:06, 3.15it/s]\n 41%|████ | 14/34 [00:04<00:06, 3.15it/s]\n 44%|████▍ | 15/34 [00:04<00:06, 3.15it/s]\n 47%|████▋ | 16/34 [00:05<00:05, 3.15it/s]\n 50%|█████ | 17/34 [00:05<00:05, 3.15it/s]\n 53%|█████▎ | 18/34 [00:05<00:05, 3.15it/s]\n 56%|█████▌ | 19/34 [00:05<00:04, 3.15it/s]\n 59%|█████▉ | 20/34 [00:06<00:04, 3.15it/s]\n 62%|██████▏ | 21/34 [00:06<00:04, 3.15it/s]\n 65%|██████▍ | 22/34 [00:06<00:03, 3.15it/s]\n 68%|██████▊ | 23/34 [00:07<00:03, 3.15it/s]\n 71%|███████ | 24/34 [00:07<00:03, 3.15it/s]\n 74%|███████▎ | 25/34 [00:07<00:02, 3.15it/s]\n 76%|███████▋ | 26/34 [00:08<00:02, 3.15it/s]\n 79%|███████▉ | 27/34 [00:08<00:02, 3.15it/s]\n 82%|████████▏ | 28/34 [00:08<00:01, 3.15it/s]\n 85%|████████▌ | 29/34 [00:09<00:01, 3.15it/s]\n 88%|████████▊ | 30/34 [00:09<00:01, 3.15it/s]\n 91%|█████████ | 31/34 [00:09<00:00, 3.15it/s]\n 94%|█████████▍| 32/34 [00:10<00:00, 3.15it/s]\n 97%|█████████▋| 33/34 [00:10<00:00, 3.15it/s]\n100%|██████████| 34/34 [00:10<00:00, 3.15it/s]\n100%|██████████| 34/34 [00:10<00:00, 3.17it/s]", "metrics": { "predict_time": 44.668349067, "total_time": 52.815103 }, "output": [ "https://replicate.delivery/yhqm/91mJqeJq8MX5Y6Dzfx70LSnve8PUIc3iS3xBeroeVrN95ZJbC/out-0.jpg" ], "started_at": "2024-09-03T12:31:31.234754Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/328rzy25t1rm60chpzfa0tsxbg", "cancel": "https://api.replicate.com/v1/predictions/328rzy25t1rm60chpzfa0tsxbg/cancel" }, "version": "85ebeee450bd310b8d1c8c202e53fdd25c67fffa3e5cb90edac057165a64482b" }
Generated inUsing seed: 10198 Prompt: Create an illustration of a man SBETZIN sitting on a staircase, wearing a dark blue suit and white shirt, with glasses. The man has short, dark brown hair, a light complexion, and is smiling warmly. He is sitting with his hands clasped together in front of him, elbows resting on his knees. The staircase is dark gray and has a modern, sleek design. The background is minimalistic with soft lighting. The overall atmosphere is professional yet approachable. Simple, minimalist, flat design illustration, white background, in the style of GNRCDE. txt2img mode Using dev model Loading extra LoRA weights from: https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar free=9111406649344 Downloading weights 2024-09-03T12:31:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp8bwuz9gw/weights url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar 2024-09-03T12:31:32Z | INFO | [ Complete ] dest=/tmp/tmp8bwuz9gw/weights size="172 MB" total_elapsed=1.457s url=https://replicate.delivery/yhqm/YFEkpIw2m7ZQIREyaZZfjukafVwgCNBhiYxSpcDJ5e7AUPymA/trained_model.tar Downloaded weights in 1.49s free=9111063011328 Downloading weights 2024-09-03T12:31:47Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmps_ryjiw3/weights url=https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar 2024-09-03T12:31:49Z | INFO | [ Complete ] dest=/tmp/tmps_ryjiw3/weights size="172 MB" total_elapsed=1.520s url=https://replicate.delivery/yhqm/2MGk61LmrYamGBYtOWVe0pMUrOgvjjmKVhUDAG3mh2OPVfUTA/trained_model.tar Downloaded weights in 1.55s Loaded LoRAs in 33.45s The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['sleek design. the background is minimalistic with soft lighting. the overall atmosphere is professional yet approachable. simple, minimalist, flat design illustration, white background, in the style of gnrcde.'] 0%| | 0/34 [00:00<?, ?it/s] 3%|▎ | 1/34 [00:00<00:10, 3.15it/s] 6%|▌ | 2/34 [00:00<00:09, 3.48it/s] 9%|▉ | 3/34 [00:00<00:09, 3.32it/s] 12%|█▏ | 4/34 [00:01<00:09, 3.25it/s] 15%|█▍ | 5/34 [00:01<00:09, 3.22it/s] 18%|█▊ | 6/34 [00:01<00:08, 3.19it/s] 21%|██ | 7/34 [00:02<00:08, 3.18it/s] 24%|██▎ | 8/34 [00:02<00:08, 3.17it/s] 26%|██▋ | 9/34 [00:02<00:07, 3.16it/s] 29%|██▉ | 10/34 [00:03<00:07, 3.16it/s] 32%|███▏ | 11/34 [00:03<00:07, 3.16it/s] 35%|███▌ | 12/34 [00:03<00:06, 3.15it/s] 38%|███▊ | 13/34 [00:04<00:06, 3.15it/s] 41%|████ | 14/34 [00:04<00:06, 3.15it/s] 44%|████▍ | 15/34 [00:04<00:06, 3.15it/s] 47%|████▋ | 16/34 [00:05<00:05, 3.15it/s] 50%|█████ | 17/34 [00:05<00:05, 3.15it/s] 53%|█████▎ | 18/34 [00:05<00:05, 3.15it/s] 56%|█████▌ | 19/34 [00:05<00:04, 3.15it/s] 59%|█████▉ | 20/34 [00:06<00:04, 3.15it/s] 62%|██████▏ | 21/34 [00:06<00:04, 3.15it/s] 65%|██████▍ | 22/34 [00:06<00:03, 3.15it/s] 68%|██████▊ | 23/34 [00:07<00:03, 3.15it/s] 71%|███████ | 24/34 [00:07<00:03, 3.15it/s] 74%|███████▎ | 25/34 [00:07<00:02, 3.15it/s] 76%|███████▋ | 26/34 [00:08<00:02, 3.15it/s] 79%|███████▉ | 27/34 [00:08<00:02, 3.15it/s] 82%|████████▏ | 28/34 [00:08<00:01, 3.15it/s] 85%|████████▌ | 29/34 [00:09<00:01, 3.15it/s] 88%|████████▊ | 30/34 [00:09<00:01, 3.15it/s] 91%|█████████ | 31/34 [00:09<00:00, 3.15it/s] 94%|█████████▍| 32/34 [00:10<00:00, 3.15it/s] 97%|█████████▋| 33/34 [00:10<00:00, 3.15it/s] 100%|██████████| 34/34 [00:10<00:00, 3.15it/s] 100%|██████████| 34/34 [00:10<00:00, 3.17it/s]
Want to make some of these yourself?
Run this model