jayenkai
/
derek
Cartoon Derek is happy, sometimes
- Public
- 904 runs
-
H100
Prediction
jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fbIDk9vpfs2a5drm60cjjvqt58yezgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "schnell", "prompt": "Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", { input: { model: "schnell", prompt: "Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", input={ "model": "schnell", "prompt": "Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jayenkai/derek 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": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", "input": { "model": "schnell", "prompt": "Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-16T20:05:31.043316Z", "created_at": "2024-10-16T20:05:17.483000Z", "data_removed": false, "error": null, "id": "k9vpfs2a5drm60cjjvqt58yezg", "input": { "model": "schnell", "prompt": "Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 21428\nPrompt: Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art\n[!] txt2img mode\nUsing schnell model\nLoaded LoRAs in 0.70s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.40it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.23it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.05it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.05it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]", "metrics": { "predict_time": 10.162678318, "total_time": 13.560316 }, "output": [ "https://replicate.delivery/yhqm/fTwlLVTBicyMQCDYDnKWBGhS1vaWf8cgi60ntiMwV5KL6cnTA/out-0.webp" ], "started_at": "2024-10-16T20:05:20.880638Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/k9vpfs2a5drm60cjjvqt58yezg", "cancel": "https://api.replicate.com/v1/predictions/k9vpfs2a5drm60cjjvqt58yezg/cancel" }, "version": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb" }
Generated inUsing seed: 21428 Prompt: Cartoon Derek excitedly sits atop a speeding meteorite as it hurtles through the cosmos, epic sci-fi movie poster art [!] txt2img mode Using schnell model Loaded LoRAs in 0.70s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.40it/s] 11%|█ | 3/28 [00:00<00:07, 3.23it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s] 50%|█████ | 14/28 [00:04<00:04, 3.05it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s] 61%|██████ | 17/28 [00:05<00:03, 3.05it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s]
Prediction
jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fbID3yenbwsb4hrm40cjjw0ac2b6srStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "schnell", "prompt": "Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", { input: { model: "schnell", prompt: "Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", input={ "model": "schnell", "prompt": "Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jayenkai/derek 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": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", "input": { "model": "schnell", "prompt": "Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-16T20:24:18.339170Z", "created_at": "2024-10-16T20:23:43.652000Z", "data_removed": false, "error": null, "id": "3yenbwsb4hrm40cjjw0ac2b6sr", "input": { "model": "schnell", "prompt": "Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 14503\nPrompt: Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting\n[!] txt2img mode\nUsing schnell model\nWeights already loaded\nLoaded LoRAs in 0.03s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:32, 1.20s/it]\n 7%|▋ | 2/28 [00:02<00:28, 1.08s/it]\n 11%|█ | 3/28 [00:03<00:28, 1.14s/it]\n 14%|█▍ | 4/28 [00:04<00:27, 1.16s/it]\n 18%|█▊ | 5/28 [00:05<00:27, 1.18s/it]\n 21%|██▏ | 6/28 [00:07<00:26, 1.19s/it]\n 25%|██▌ | 7/28 [00:08<00:25, 1.19s/it]\n 29%|██▊ | 8/28 [00:09<00:23, 1.19s/it]\n 32%|███▏ | 9/28 [00:10<00:22, 1.20s/it]\n 36%|███▌ | 10/28 [00:11<00:21, 1.20s/it]\n 39%|███▉ | 11/28 [00:13<00:20, 1.20s/it]\n 43%|████▎ | 12/28 [00:14<00:19, 1.20s/it]\n 46%|████▋ | 13/28 [00:15<00:18, 1.20s/it]\n 50%|█████ | 14/28 [00:16<00:16, 1.20s/it]\n 54%|█████▎ | 15/28 [00:17<00:15, 1.20s/it]\n 57%|█████▋ | 16/28 [00:19<00:14, 1.20s/it]\n 61%|██████ | 17/28 [00:20<00:13, 1.20s/it]\n 64%|██████▍ | 18/28 [00:21<00:12, 1.20s/it]\n 68%|██████▊ | 19/28 [00:22<00:10, 1.20s/it]\n 71%|███████▏ | 20/28 [00:23<00:09, 1.20s/it]\n 75%|███████▌ | 21/28 [00:25<00:08, 1.20s/it]\n 79%|███████▊ | 22/28 [00:26<00:07, 1.20s/it]\n 82%|████████▏ | 23/28 [00:27<00:06, 1.20s/it]\n 86%|████████▌ | 24/28 [00:28<00:04, 1.20s/it]\n 89%|████████▉ | 25/28 [00:29<00:03, 1.20s/it]\n 93%|█████████▎| 26/28 [00:31<00:02, 1.20s/it]\n 96%|█████████▋| 27/28 [00:32<00:01, 1.20s/it]\n100%|██████████| 28/28 [00:33<00:00, 1.20s/it]\n100%|██████████| 28/28 [00:33<00:00, 1.20s/it]", "metrics": { "predict_time": 34.678173301, "total_time": 34.68717 }, "output": [ "https://replicate.delivery/yhqm/BBSElyfzAz1re0CpooZd2kMzpOfyDeQj1lhdJytuR9WJv0dOB/out-0.webp", "https://replicate.delivery/yhqm/9C5atmY5mZa6Ahzj3nykbOQDAN9m0GlVr52upeIceTiyLdnTA/out-1.webp", "https://replicate.delivery/yhqm/KbFa8oezlz26diPk45qz4eO4lkeTNepcqpnggTxEXrlJv0dOB/out-2.webp", "https://replicate.delivery/yhqm/YmwMFG2Ly55oGlf99TlUTtIieleXnJfPksFSLv66xkeSeS35E/out-3.webp" ], "started_at": "2024-10-16T20:23:43.660997Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3yenbwsb4hrm40cjjw0ac2b6sr", "cancel": "https://api.replicate.com/v1/predictions/3yenbwsb4hrm40cjjw0ac2b6sr/cancel" }, "version": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb" }
Generated inUsing seed: 14503 Prompt: Cartoon Derek wearing a Santa Costume, christmas, tree, lights, cinematic lighting [!] txt2img mode Using schnell model Weights already loaded Loaded LoRAs in 0.03s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:32, 1.20s/it] 7%|▋ | 2/28 [00:02<00:28, 1.08s/it] 11%|█ | 3/28 [00:03<00:28, 1.14s/it] 14%|█▍ | 4/28 [00:04<00:27, 1.16s/it] 18%|█▊ | 5/28 [00:05<00:27, 1.18s/it] 21%|██▏ | 6/28 [00:07<00:26, 1.19s/it] 25%|██▌ | 7/28 [00:08<00:25, 1.19s/it] 29%|██▊ | 8/28 [00:09<00:23, 1.19s/it] 32%|███▏ | 9/28 [00:10<00:22, 1.20s/it] 36%|███▌ | 10/28 [00:11<00:21, 1.20s/it] 39%|███▉ | 11/28 [00:13<00:20, 1.20s/it] 43%|████▎ | 12/28 [00:14<00:19, 1.20s/it] 46%|████▋ | 13/28 [00:15<00:18, 1.20s/it] 50%|█████ | 14/28 [00:16<00:16, 1.20s/it] 54%|█████▎ | 15/28 [00:17<00:15, 1.20s/it] 57%|█████▋ | 16/28 [00:19<00:14, 1.20s/it] 61%|██████ | 17/28 [00:20<00:13, 1.20s/it] 64%|██████▍ | 18/28 [00:21<00:12, 1.20s/it] 68%|██████▊ | 19/28 [00:22<00:10, 1.20s/it] 71%|███████▏ | 20/28 [00:23<00:09, 1.20s/it] 75%|███████▌ | 21/28 [00:25<00:08, 1.20s/it] 79%|███████▊ | 22/28 [00:26<00:07, 1.20s/it] 82%|████████▏ | 23/28 [00:27<00:06, 1.20s/it] 86%|████████▌ | 24/28 [00:28<00:04, 1.20s/it] 89%|████████▉ | 25/28 [00:29<00:03, 1.20s/it] 93%|█████████▎| 26/28 [00:31<00:02, 1.20s/it] 96%|█████████▋| 27/28 [00:32<00:01, 1.20s/it] 100%|██████████| 28/28 [00:33<00:00, 1.20s/it] 100%|██████████| 28/28 [00:33<00:00, 1.20s/it]
Prediction
jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fbIDca231gcxnhrm60cjkdfrspnqfrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 10
{ "model": "schnell", "prompt": "Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 10 }
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 jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", { input: { model: "schnell", prompt: "Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art", lora_scale: 1, num_outputs: 4, aspect_ratio: "3:2", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 10 } } ); // 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 jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", input={ "model": "schnell", "prompt": "Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 10 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jayenkai/derek 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": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", "input": { "model": "schnell", "prompt": "Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 10 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-17T16:46:41.434227Z", "created_at": "2024-10-17T16:46:27.756000Z", "data_removed": false, "error": null, "id": "ca231gcxnhrm60cjkdfrspnqfr", "input": { "model": "schnell", "prompt": "Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 10 }, "logs": "Using seed: 58028\nPrompt: Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art\n[!] txt2img mode\nUsing schnell model\nWeights already loaded\nLoaded LoRAs in 0.03s\n 0%| | 0/10 [00:00<?, ?it/s]\n 10%|█ | 1/10 [00:01<00:10, 1.16s/it]\n 20%|██ | 2/10 [00:02<00:08, 1.04s/it]\n 30%|███ | 3/10 [00:03<00:07, 1.09s/it]\n 40%|████ | 4/10 [00:04<00:06, 1.12s/it]\n 50%|█████ | 5/10 [00:05<00:05, 1.13s/it]\n 60%|██████ | 6/10 [00:06<00:04, 1.14s/it]\n 70%|███████ | 7/10 [00:07<00:03, 1.14s/it]\n 80%|████████ | 8/10 [00:09<00:02, 1.15s/it]\n 90%|█████████ | 9/10 [00:10<00:01, 1.15s/it]\n100%|██████████| 10/10 [00:11<00:00, 1.15s/it]\n100%|██████████| 10/10 [00:11<00:00, 1.14s/it]", "metrics": { "predict_time": 13.670338732, "total_time": 13.678227 }, "output": [ "https://replicate.delivery/yhqm/y8QHvaiptq7XFZQlQhfZoPdZ51fMlL6NuffP8rsBamUEX8ecC/out-0.png", "https://replicate.delivery/yhqm/KwNW2mXXJGbxOBilrBT8vfwfedwoTSjpvfX62pF6cACFX8ecC/out-1.png", "https://replicate.delivery/yhqm/eenQQ4re9exitSaW5dE5OTDvPo43EHyrb6SiPSi7f1iNu49cC/out-2.png", "https://replicate.delivery/yhqm/Rtb3UO7EwYpZOlTRfZFfOAVlIl22f7ldHUWRw4ZeVlKEX8ecC/out-3.png" ], "started_at": "2024-10-17T16:46:27.763888Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ca231gcxnhrm60cjkdfrspnqfr", "cancel": "https://api.replicate.com/v1/predictions/ca231gcxnhrm60cjkdfrspnqfr/cancel" }, "version": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb" }
Generated inUsing seed: 58028 Prompt: Cartoon Derek flies through a psychedelic colourful vortex, sci-fi movie poster art [!] txt2img mode Using schnell model Weights already loaded Loaded LoRAs in 0.03s 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:10, 1.16s/it] 20%|██ | 2/10 [00:02<00:08, 1.04s/it] 30%|███ | 3/10 [00:03<00:07, 1.09s/it] 40%|████ | 4/10 [00:04<00:06, 1.12s/it] 50%|█████ | 5/10 [00:05<00:05, 1.13s/it] 60%|██████ | 6/10 [00:06<00:04, 1.14s/it] 70%|███████ | 7/10 [00:07<00:03, 1.14s/it] 80%|████████ | 8/10 [00:09<00:02, 1.15s/it] 90%|█████████ | 9/10 [00:10<00:01, 1.15s/it] 100%|██████████| 10/10 [00:11<00:00, 1.15s/it] 100%|██████████| 10/10 [00:11<00:00, 1.14s/it]
Prediction
jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fbIDz4xwevjbgnrme0ck26f9epdherStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life
- lora_scale
- 0.93
- num_outputs
- 4
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 7
{ "model": "schnell", "prompt": "Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life", "lora_scale": 0.93, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 7 }
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 jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", { input: { model: "schnell", prompt: "Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life", lora_scale: 0.93, num_outputs: 4, aspect_ratio: "3:2", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 7 } } ); // 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 jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", input={ "model": "schnell", "prompt": "Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life", "lora_scale": 0.93, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 7 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jayenkai/derek 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": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", "input": { "model": "schnell", "prompt": "Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life", "lora_scale": 0.93, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 7 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-09T15:50:23.363211Z", "created_at": "2024-11-09T15:50:06.981000Z", "data_removed": false, "error": null, "id": "z4xwevjbgnrme0ck26f9epdher", "input": { "model": "schnell", "prompt": "Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life", "lora_scale": 0.93, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 7 }, "logs": "Using seed: 37778\nPrompt: Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life\n[!] txt2img mode\nUsing schnell model\nfree=29541369712640\nDownloading weights\n2024-11-09T15:50:07Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_fhllt_q/weights url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar\n2024-11-09T15:50:13Z | INFO | [ Complete ] dest=/tmp/tmp_fhllt_q/weights size=\"172 MB\" total_elapsed=6.586s url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar\nDownloaded weights in 6.61s\nLoaded LoRAs in 7.08s\n 0%| | 0/7 [00:00<?, ?it/s]\n 14%|█▍ | 1/7 [00:01<00:06, 1.10s/it]\n 29%|██▊ | 2/7 [00:02<00:04, 1.00it/s]\n 43%|████▎ | 3/7 [00:03<00:04, 1.04s/it]\n 57%|█████▋ | 4/7 [00:04<00:03, 1.06s/it]\n 71%|███████▏ | 5/7 [00:05<00:02, 1.07s/it]\n 86%|████████▌ | 6/7 [00:06<00:01, 1.08s/it]\n100%|██████████| 7/7 [00:07<00:00, 1.09s/it]\n100%|██████████| 7/7 [00:07<00:00, 1.07s/it]", "metrics": { "predict_time": 16.356187402, "total_time": 16.382211 }, "output": [ "https://replicate.delivery/xezq/K3K0mG8DaIYNHVJnpBAsDDsrFcHA0NdHyFjnY48wAk5v207E/out-0.png", "https://replicate.delivery/xezq/RCHBf8gstZynV6anQjUrcZTT3kT89mbXgGthZpjyQgufaTvTA/out-1.png", "https://replicate.delivery/xezq/jOCsfOnyfxvrxkKkPkzr8ZCF6OeLKdm5uvVLLg1N17WfrN9OB/out-2.png", "https://replicate.delivery/xezq/lUJBq4lebqW3aqa4G7nUII7G5AzncpUL4elJmfU7cZQerN9OB/out-3.png" ], "started_at": "2024-11-09T15:50:07.007023Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-xxqlmgagqrrrqcqdpy7a3xbo5jbx7ce6k452akxatulcjln7blpa", "get": "https://api.replicate.com/v1/predictions/z4xwevjbgnrme0ck26f9epdher", "cancel": "https://api.replicate.com/v1/predictions/z4xwevjbgnrme0ck26f9epdher/cancel" }, "version": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb" }
Generated inUsing seed: 37778 Prompt: Derek wanders through a cosmic wonderland full of curious creatures and amazingly colourful plant life [!] txt2img mode Using schnell model free=29541369712640 Downloading weights 2024-11-09T15:50:07Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_fhllt_q/weights url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar 2024-11-09T15:50:13Z | INFO | [ Complete ] dest=/tmp/tmp_fhllt_q/weights size="172 MB" total_elapsed=6.586s url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar Downloaded weights in 6.61s Loaded LoRAs in 7.08s 0%| | 0/7 [00:00<?, ?it/s] 14%|█▍ | 1/7 [00:01<00:06, 1.10s/it] 29%|██▊ | 2/7 [00:02<00:04, 1.00it/s] 43%|████▎ | 3/7 [00:03<00:04, 1.04s/it] 57%|█████▋ | 4/7 [00:04<00:03, 1.06s/it] 71%|███████▏ | 5/7 [00:05<00:02, 1.07s/it] 86%|████████▌ | 6/7 [00:06<00:01, 1.08s/it] 100%|██████████| 7/7 [00:07<00:00, 1.09s/it] 100%|██████████| 7/7 [00:07<00:00, 1.07s/it]
Prediction
jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fbID0g5caq5hjdrme0cm45fsrsj820StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- Cartoon Derek sits in his office cubicle surrounded by paper aeroplanes
- go_fast
- lora_scale
- 0.93
- megapixels
- 1
- num_outputs
- 4
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 5
{ "model": "schnell", "prompt": "Cartoon Derek sits in his office cubicle surrounded by paper aeroplanes", "go_fast": false, "lora_scale": 0.93, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 5 }
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 jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", { input: { model: "schnell", prompt: "Cartoon Derek sits in his office cubicle surrounded by paper aeroplanes", go_fast: false, lora_scale: 0.93, megapixels: "1", num_outputs: 4, aspect_ratio: "3:2", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 5 } } ); // 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 jayenkai/derek using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jayenkai/derek:841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", input={ "model": "schnell", "prompt": "Cartoon Derek sits in his office cubicle surrounded by paper aeroplanes", "go_fast": False, "lora_scale": 0.93, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 5 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jayenkai/derek 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": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb", "input": { "model": "schnell", "prompt": "Cartoon Derek sits in his office cubicle surrounded by paper aeroplanes", "go_fast": false, "lora_scale": 0.93, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 5 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-01T10:18:42.108181Z", "created_at": "2025-01-01T10:18:27.091000Z", "data_removed": false, "error": null, "id": "0g5caq5hjdrme0cm45fsrsj820", "input": { "model": "schnell", "prompt": "Cartoon Derek sits in his office cubicle surrounded by paper aeroplanes", "go_fast": false, "lora_scale": 0.93, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 5 }, "logs": "free=29820075393024\nDownloading weights\n2025-01-01T10:18:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmptxbbouiz/weights url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar\n2025-01-01T10:18:32Z | INFO | [ Complete ] dest=/tmp/tmptxbbouiz/weights size=\"172 MB\" total_elapsed=5.639s url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar\nDownloaded weights in 5.66s\n2025-01-01 10:18:32.863 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/dab1800c21690572\n2025-01-01 10:18:32.933 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-01 10:18:32.933 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-01 10:18:32.933 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2813.15it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2706.20it/s]\n2025-01-01 10:18:33.046 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s\nUsing seed: 5706\n0it [00:00, ?it/s]\n1it [00:00, 8.89it/s]\n2it [00:00, 6.17it/s]\n3it [00:00, 5.63it/s]\n4it [00:00, 5.40it/s]\n5it [00:00, 5.25it/s]\n5it [00:00, 5.54it/s]\n0it [00:00, ?it/s]\n1it [00:00, 4.87it/s]\n2it [00:00, 4.94it/s]\n3it [00:00, 5.02it/s]\n4it [00:00, 5.03it/s]\n5it [00:00, 5.02it/s]\n5it [00:00, 5.01it/s]\n0it [00:00, ?it/s]\n1it [00:00, 4.98it/s]\n2it [00:00, 5.01it/s]\n3it [00:00, 5.04it/s]\n4it [00:00, 5.04it/s]\n5it [00:00, 5.04it/s]\n5it [00:00, 5.03it/s]\n0it [00:00, ?it/s]\n1it [00:00, 4.98it/s]\n2it [00:00, 4.97it/s]\n3it [00:00, 4.98it/s]\n4it [00:00, 5.00it/s]\n5it [00:01, 5.00it/s]\n5it [00:01, 4.99it/s]\nTotal safe images: 4 out of 4", "metrics": { "predict_time": 14.908393071999999, "total_time": 15.017181 }, "output": [ "https://replicate.delivery/xezq/o6XznDKuaLouMth7YUNaJeY2ZEdnJLXLCXABtiGhfemEEZBoA/out-0.png", "https://replicate.delivery/xezq/NJ6PzI09CWKtP5IprWpKuIW6shFXF1ow2OLCU85srKlgILAF/out-1.png", "https://replicate.delivery/xezq/M8TQuj210fzUCqUAuQiEZCbsbUaGDXoemMfHc4cePBQJIyCQB/out-2.png", "https://replicate.delivery/xezq/wqQk7j0KPvbPLNNlveVFxSGVZYJ7R1m4lzLNOvrzX8DBRWAKA/out-3.png" ], "started_at": "2025-01-01T10:18:27.199788Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-3qf26mn5umzlahki6xuvs3u4qqwgafusmovac4nsxnzbeyl5mlkq", "get": "https://api.replicate.com/v1/predictions/0g5caq5hjdrme0cm45fsrsj820", "cancel": "https://api.replicate.com/v1/predictions/0g5caq5hjdrme0cm45fsrsj820/cancel" }, "version": "841fda16c59f79d21d19013cdb1ff3b7ce65e756be9d07bde39065b8cf1cf4fb" }
Generated infree=29820075393024 Downloading weights 2025-01-01T10:18:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmptxbbouiz/weights url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar 2025-01-01T10:18:32Z | INFO | [ Complete ] dest=/tmp/tmptxbbouiz/weights size="172 MB" total_elapsed=5.639s url=https://replicate.delivery/yhqm/3J7GlrMKoeVGQywjJX2lvSEjfzuTIloOePQKayMJzwTLT4OnA/trained_model.tar Downloaded weights in 5.66s 2025-01-01 10:18:32.863 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/dab1800c21690572 2025-01-01 10:18:32.933 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-01 10:18:32.933 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-01 10:18:32.933 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2813.15it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2706.20it/s] 2025-01-01 10:18:33.046 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s Using seed: 5706 0it [00:00, ?it/s] 1it [00:00, 8.89it/s] 2it [00:00, 6.17it/s] 3it [00:00, 5.63it/s] 4it [00:00, 5.40it/s] 5it [00:00, 5.25it/s] 5it [00:00, 5.54it/s] 0it [00:00, ?it/s] 1it [00:00, 4.87it/s] 2it [00:00, 4.94it/s] 3it [00:00, 5.02it/s] 4it [00:00, 5.03it/s] 5it [00:00, 5.02it/s] 5it [00:00, 5.01it/s] 0it [00:00, ?it/s] 1it [00:00, 4.98it/s] 2it [00:00, 5.01it/s] 3it [00:00, 5.04it/s] 4it [00:00, 5.04it/s] 5it [00:00, 5.04it/s] 5it [00:00, 5.03it/s] 0it [00:00, ?it/s] 1it [00:00, 4.98it/s] 2it [00:00, 4.97it/s] 3it [00:00, 4.98it/s] 4it [00:00, 5.00it/s] 5it [00:01, 5.00it/s] 5it [00:01, 4.99it/s] Total safe images: 4 out of 4
Want to make some of these yourself?
Run this model