mintkaori
/
seoulgi
- Public
- 68 runs
-
H100
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDy2m9vmkvt9rm20chkqharsmy00StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T11:26:32.807029Z", "created_at": "2024-08-29T11:25:51.442000Z", "data_removed": false, "error": null, "id": "y2m9vmkvt9rm20chkqharsmy00", "input": { "model": "dev", "prompt": "chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 10380\nPrompt: chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed\ntxt2img mode\nUsing dev model\nfree=10025987342336\nDownloading weights\n2024-08-29T11:25:51Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmprg0_7qmt/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-08-29T11:25:53Z | INFO | [ Complete ] dest=/tmp/tmprg0_7qmt/weights size=\"172 MB\" total_elapsed=1.467s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 1.50s\nLoaded LoRAs in 11.47s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:27, 1.02s/it]\n 7%|▋ | 2/28 [00:01<00:23, 1.12it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.05it/s]\n 14%|█▍ | 4/28 [00:03<00:23, 1.02it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.01it/s]\n 21%|██▏ | 6/28 [00:05<00:22, 1.00s/it]\n 25%|██▌ | 7/28 [00:06<00:21, 1.01s/it]\n 29%|██▊ | 8/28 [00:07<00:20, 1.01s/it]\n 32%|███▏ | 9/28 [00:08<00:19, 1.02s/it]\n 36%|███▌ | 10/28 [00:09<00:18, 1.02s/it]\n 39%|███▉ | 11/28 [00:11<00:17, 1.02s/it]\n 43%|████▎ | 12/28 [00:12<00:16, 1.02s/it]\n 46%|████▋ | 13/28 [00:13<00:15, 1.02s/it]\n 50%|█████ | 14/28 [00:14<00:14, 1.02s/it]\n 54%|█████▎ | 15/28 [00:15<00:13, 1.02s/it]\n 57%|█████▋ | 16/28 [00:16<00:12, 1.02s/it]\n 61%|██████ | 17/28 [00:17<00:11, 1.02s/it]\n 64%|██████▍ | 18/28 [00:18<00:10, 1.02s/it]\n 68%|██████▊ | 19/28 [00:19<00:09, 1.03s/it]\n 71%|███████▏ | 20/28 [00:20<00:08, 1.03s/it]\n 75%|███████▌ | 21/28 [00:21<00:07, 1.03s/it]\n 79%|███████▊ | 22/28 [00:22<00:06, 1.03s/it]\n 82%|████████▏ | 23/28 [00:23<00:05, 1.03s/it]\n 86%|████████▌ | 24/28 [00:24<00:04, 1.03s/it]\n 89%|████████▉ | 25/28 [00:25<00:03, 1.03s/it]\n 93%|█████████▎| 26/28 [00:26<00:02, 1.03s/it]\n 96%|█████████▋| 27/28 [00:27<00:01, 1.03s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.03s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.02s/it]\nPotential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed.\nNSFW content detected in image 0", "metrics": { "predict_time": 41.356946108, "total_time": 41.365029 }, "output": [ "https://replicate.delivery/yhqm/nvXi31YBQZrXJ5VxWilNZmlmw1kFsmuJInIzzf20G4E0ZwrJA/out-1.webp", "https://replicate.delivery/yhqm/fqNvFtssH022KKi5Mguxi35ITycMT7OOGLezAavzmIYozgXTA/out-2.webp", "https://replicate.delivery/yhqm/qRjQQdJK8NJ3KZBH8N09OeCA5Rww6gJ9T3p5snmPBRA0ZwrJA/out-3.webp" ], "started_at": "2024-08-29T11:25:51.450083Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/y2m9vmkvt9rm20chkqharsmy00", "cancel": "https://api.replicate.com/v1/predictions/y2m9vmkvt9rm20chkqharsmy00/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 10380 Prompt: chracter named SEOULGI, wearing glasses, red hoodie and black pants, wake up on the bed txt2img mode Using dev model free=10025987342336 Downloading weights 2024-08-29T11:25:51Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmprg0_7qmt/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-08-29T11:25:53Z | INFO | [ Complete ] dest=/tmp/tmprg0_7qmt/weights size="172 MB" total_elapsed=1.467s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 1.50s Loaded LoRAs in 11.47s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:27, 1.02s/it] 7%|▋ | 2/28 [00:01<00:23, 1.12it/s] 11%|█ | 3/28 [00:02<00:23, 1.05it/s] 14%|█▍ | 4/28 [00:03<00:23, 1.02it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.01it/s] 21%|██▏ | 6/28 [00:05<00:22, 1.00s/it] 25%|██▌ | 7/28 [00:06<00:21, 1.01s/it] 29%|██▊ | 8/28 [00:07<00:20, 1.01s/it] 32%|███▏ | 9/28 [00:08<00:19, 1.02s/it] 36%|███▌ | 10/28 [00:09<00:18, 1.02s/it] 39%|███▉ | 11/28 [00:11<00:17, 1.02s/it] 43%|████▎ | 12/28 [00:12<00:16, 1.02s/it] 46%|████▋ | 13/28 [00:13<00:15, 1.02s/it] 50%|█████ | 14/28 [00:14<00:14, 1.02s/it] 54%|█████▎ | 15/28 [00:15<00:13, 1.02s/it] 57%|█████▋ | 16/28 [00:16<00:12, 1.02s/it] 61%|██████ | 17/28 [00:17<00:11, 1.02s/it] 64%|██████▍ | 18/28 [00:18<00:10, 1.02s/it] 68%|██████▊ | 19/28 [00:19<00:09, 1.03s/it] 71%|███████▏ | 20/28 [00:20<00:08, 1.03s/it] 75%|███████▌ | 21/28 [00:21<00:07, 1.03s/it] 79%|███████▊ | 22/28 [00:22<00:06, 1.03s/it] 82%|████████▏ | 23/28 [00:23<00:05, 1.03s/it] 86%|████████▌ | 24/28 [00:24<00:04, 1.03s/it] 89%|████████▉ | 25/28 [00:25<00:03, 1.03s/it] 93%|█████████▎| 26/28 [00:26<00:02, 1.03s/it] 96%|█████████▋| 27/28 [00:27<00:01, 1.03s/it] 100%|██████████| 28/28 [00:28<00:00, 1.03s/it] 100%|██████████| 28/28 [00:28<00:00, 1.02s/it] Potential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed. NSFW content detected in image 0
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33ID7zzj7qt585rm40chmw0tfsd1drStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants.", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-08-31T05:56:42.532254Z", "created_at": "2024-08-31T05:56:04.033000Z", "data_removed": false, "error": null, "id": "7zzj7qt585rm40chmw0tfsd1dr", "input": { "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 24212\nPrompt: SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants.\ntxt2img mode\nUsing dev model\nfree=9673608667136\nDownloading weights\n2024-08-31T05:56:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpn7cqek59/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-08-31T05:56:05Z | INFO | [ Complete ] dest=/tmp/tmpn7cqek59/weights size=\"172 MB\" total_elapsed=1.577s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 1.61s\nLoaded LoRAs in 9.46s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.02it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.16it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.09it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.06it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.04it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.03it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.02it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.02it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.02it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.02it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.02it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.01it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.01it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.02it/s]", "metrics": { "predict_time": 38.491329607, "total_time": 38.499254 }, "output": [ "https://replicate.delivery/yhqm/I1jO4A0oMWanJdBc9xCN4VA7PiX9TFqf7G8SiuGiwYTNFDsJA/out-0.webp", "https://replicate.delivery/yhqm/IqioQ8BBnbrYItyGxg0AdzNMIXUIZq71yjujDDR29htmiB2E/out-1.webp", "https://replicate.delivery/yhqm/RroqcMeZkHWoPydiM4AcIl8rQJLapfXm25akt3FPEve0UMwmA/out-2.webp", "https://replicate.delivery/yhqm/jBsmEAJo58YZOBvv7ibmuYQSIauPSrKSJILdWrJ919lmiB2E/out-3.webp" ], "started_at": "2024-08-31T05:56:04.040924Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7zzj7qt585rm40chmw0tfsd1dr", "cancel": "https://api.replicate.com/v1/predictions/7zzj7qt585rm40chmw0tfsd1dr/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 24212 Prompt: SEOULGI and the White Rabbit from Alice in Wonderland crossing a river together. SEOULGI is wearing a square glasses, red hoodie, black pants. txt2img mode Using dev model free=9673608667136 Downloading weights 2024-08-31T05:56:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpn7cqek59/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-08-31T05:56:05Z | INFO | [ Complete ] dest=/tmp/tmpn7cqek59/weights size="172 MB" total_elapsed=1.577s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 1.61s Loaded LoRAs in 9.46s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.02it/s] 7%|▋ | 2/28 [00:01<00:22, 1.16it/s] 11%|█ | 3/28 [00:02<00:22, 1.09it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.06it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.04it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.03it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.02it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.02it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.02it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.02it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.02it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s] 50%|█████ | 14/28 [00:13<00:13, 1.01it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s] 61%|██████ | 17/28 [00:16<00:10, 1.01it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s] 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.02it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33ID50b9dx2n0xrm60chmw1rtkgcrcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-08-31T05:59:04.459514Z", "created_at": "2024-08-31T05:58:19.143000Z", "data_removed": false, "error": null, "id": "50b9dx2n0xrm60chmw1rtkgcrc", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 1365\nPrompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 8.18s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.01it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.16it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.04it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.03it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.02it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.02it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.01it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.01it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.02it/s]", "metrics": { "predict_time": 37.306529274, "total_time": 45.316514 }, "output": [ "https://replicate.delivery/yhqm/Fb9UgUMLeMz4MivMkPjigIaxXFWANk807rCQN7TJv4ZUGDsJA/out-0.webp", "https://replicate.delivery/yhqm/arYs7wqxky4WPNk9cQKLXf94hgfGfJiu3SfCHCeDHhzBlxAbC/out-1.webp", "https://replicate.delivery/yhqm/i2R8e09dBOXRJy3y75wJkmKyK7a4faWbp6P7Ffr8uLXQZMwmA/out-2.webp", "https://replicate.delivery/yhqm/e1qVM80bZ01YdCl4Z91IXnPbZxVav8WaIpFz1k2f1MwoMGYTA/out-3.webp" ], "started_at": "2024-08-31T05:58:27.152985Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/50b9dx2n0xrm60chmw1rtkgcrc", "cancel": "https://api.replicate.com/v1/predictions/50b9dx2n0xrm60chmw1rtkgcrc/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 1365 Prompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. txt2img mode Using dev model Loaded LoRAs in 8.18s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.01it/s] 7%|▋ | 2/28 [00:01<00:22, 1.16it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.04it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.03it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.02it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.02it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s] 50%|█████ | 14/28 [00:13<00:13, 1.01it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s] 61%|██████ | 17/28 [00:16<00:10, 1.01it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s] 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.02it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33ID4x43kkxc15rm60chmw994dqcdcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-08-31T06:16:00.232712Z", "created_at": "2024-08-31T06:15:04.457000Z", "data_removed": false, "error": null, "id": "4x43kkxc15rm60chmw994dqcdc", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 59658\nPrompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.\ntxt2img mode\nUsing dev model\nfree=9579373522944\nDownloading weights\n2024-08-31T06:15:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpsc8i71bv/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-08-31T06:15:06Z | INFO | [ Complete ] dest=/tmp/tmpsc8i71bv/weights size=\"172 MB\" total_elapsed=1.973s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 2.00s\nLoaded LoRAs in 26.41s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.01it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.00it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.00it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]", "metrics": { "predict_time": 55.768128066, "total_time": 55.775712 }, "output": [ "https://replicate.delivery/yhqm/FWMfSafV4YjeQpWLBoRhp2c3k4Dgt7MSbTSFsJZ4NmLexZgNB/out-0.webp", "https://replicate.delivery/yhqm/1pQ5GkCh5w5ENh6iWe73GVqoGe7KvKcJQypqKqSfBmzA5MwmA/out-1.webp", "https://replicate.delivery/yhqm/A9nyeq9EgjX5F6JX6Dj0LTQoGdovHWeS9H109IGI9E3gcGYTA/out-2.webp", "https://replicate.delivery/yhqm/Itv01xglb27pDtAL3MvzIs64IKyfPhuAjcDUMCFezyWgcGYTA/out-3.webp" ], "started_at": "2024-08-31T06:15:04.464584Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4x43kkxc15rm60chmw994dqcdc", "cancel": "https://api.replicate.com/v1/predictions/4x43kkxc15rm60chmw994dqcdc/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 59658 Prompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. txt2img mode Using dev model free=9579373522944 Downloading weights 2024-08-31T06:15:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpsc8i71bv/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-08-31T06:15:06Z | INFO | [ Complete ] dest=/tmp/tmpsc8i71bv/weights size="172 MB" total_elapsed=1.973s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 2.00s Loaded LoRAs in 26.41s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.01it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s] 50%|█████ | 14/28 [00:13<00:13, 1.00it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s] 61%|██████ | 17/28 [00:16<00:10, 1.00it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s] 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDmhtebtezc5rm60chnctrwsyv80StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-01T01:32:47.328053Z", "created_at": "2024-09-01T01:32:00.225000Z", "data_removed": false, "error": null, "id": "mhtebtezc5rm60chnctrwsyv80", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 31601\nPrompt: SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior.\ntxt2img mode\nUsing dev model\nfree=9575374712832\nDownloading weights\n2024-09-01T01:32:00Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmprs1s50ff/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-09-01T01:32:01Z | INFO | [ Complete ] dest=/tmp/tmprs1s50ff/weights size=\"172 MB\" total_elapsed=1.640s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 1.68s\nLoaded LoRAs in 17.58s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.00it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.07it/s]\n 14%|█▍ | 4/28 [00:03<00:23, 1.04it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.00it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s]\n 43%|████▎ | 12/28 [00:11<00:16, 1.00s/it]\n 46%|████▋ | 13/28 [00:12<00:15, 1.00s/it]\n 50%|█████ | 14/28 [00:13<00:14, 1.00s/it]\n 54%|█████▎ | 15/28 [00:14<00:13, 1.00s/it]\n 57%|█████▋ | 16/28 [00:15<00:12, 1.00s/it]\n 61%|██████ | 17/28 [00:16<00:11, 1.00s/it]\n 64%|██████▍ | 18/28 [00:17<00:10, 1.00s/it]\n 68%|██████▊ | 19/28 [00:18<00:09, 1.00s/it]\n 71%|███████▏ | 20/28 [00:19<00:08, 1.00s/it]\n 75%|███████▌ | 21/28 [00:20<00:07, 1.00s/it]\n 79%|███████▊ | 22/28 [00:21<00:06, 1.00s/it]\n 82%|████████▏ | 23/28 [00:22<00:05, 1.00s/it]\n 86%|████████▌ | 24/28 [00:23<00:04, 1.01s/it]\n 89%|████████▉ | 25/28 [00:24<00:03, 1.00s/it]\n 93%|█████████▎| 26/28 [00:25<00:02, 1.00s/it]\n 96%|█████████▋| 27/28 [00:26<00:01, 1.01s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.01s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.00it/s]", "metrics": { "predict_time": 47.101573965, "total_time": 47.103053 }, "output": [ "https://replicate.delivery/yhqm/3dpA0GhFkFouDF5ZfXipXfWOO48035hqaHzUo9LKuJf8xuwmA/out-0.webp", "https://replicate.delivery/yhqm/7DsgxXQJXm4WMpc1FkzTwkie7ZmpFL5tTRAwaZqf3H4fxuwmA/out-1.webp", "https://replicate.delivery/yhqm/uGyPJCfM50QXbqKXXiRrmSuGvD1x7qK0P6CDP3VBjfpfxuwmA/out-2.webp", "https://replicate.delivery/yhqm/wkm0ZFfK11zaOarpxNFeL1WFpXdHtjMxQe4E84WnKB0fjdhNB/out-3.webp" ], "started_at": "2024-09-01T01:32:00.226479Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mhtebtezc5rm60chnctrwsyv80", "cancel": "https://api.replicate.com/v1/predictions/mhtebtezc5rm60chnctrwsyv80/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 31601 Prompt: SEOULGI is wearing a square glasses, red hoodie, black pants. White Rabbit is wearing a blue ribbon and holding a pocket watch. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. txt2img mode Using dev model free=9575374712832 Downloading weights 2024-09-01T01:32:00Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmprs1s50ff/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-09-01T01:32:01Z | INFO | [ Complete ] dest=/tmp/tmprs1s50ff/weights size="172 MB" total_elapsed=1.640s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 1.68s Loaded LoRAs in 17.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.00it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.07it/s] 14%|█▍ | 4/28 [00:03<00:23, 1.04it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.00it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s] 43%|████▎ | 12/28 [00:11<00:16, 1.00s/it] 46%|████▋ | 13/28 [00:12<00:15, 1.00s/it] 50%|█████ | 14/28 [00:13<00:14, 1.00s/it] 54%|█████▎ | 15/28 [00:14<00:13, 1.00s/it] 57%|█████▋ | 16/28 [00:15<00:12, 1.00s/it] 61%|██████ | 17/28 [00:16<00:11, 1.00s/it] 64%|██████▍ | 18/28 [00:17<00:10, 1.00s/it] 68%|██████▊ | 19/28 [00:18<00:09, 1.00s/it] 71%|███████▏ | 20/28 [00:19<00:08, 1.00s/it] 75%|███████▌ | 21/28 [00:20<00:07, 1.00s/it] 79%|███████▊ | 22/28 [00:21<00:06, 1.00s/it] 82%|████████▏ | 23/28 [00:22<00:05, 1.00s/it] 86%|████████▌ | 24/28 [00:23<00:04, 1.01s/it] 89%|████████▉ | 25/28 [00:24<00:03, 1.00s/it] 93%|█████████▎| 26/28 [00:25<00:02, 1.00s/it] 96%|█████████▋| 27/28 [00:26<00:01, 1.01s/it] 100%|██████████| 28/28 [00:27<00:00, 1.01s/it] 100%|██████████| 28/28 [00:27<00:00, 1.00it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDqd2c3ha0p9rm00chmwaa6ej5jgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1146
- prompt
- SEOULGI is wearing a square glasses, red hoodie, black pants. "SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1146, "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. \"SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", width: 1146, prompt: "SEOULGI is wearing a square glasses, red hoodie, black pants. \"SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere.", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "width": 1146, "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. \"SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "width": 1146, "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. \\"SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-08-31T06:17:26.792466Z", "created_at": "2024-08-31T06:16:48.050000Z", "data_removed": false, "error": null, "id": "qd2c3ha0p9rm00chmwaa6ej5jg", "input": { "model": "dev", "width": 1146, "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. \"SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 6909\nPrompt: SEOULGI is wearing a square glasses, red hoodie, black pants. \"SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere.\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 8.45s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.01it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.00it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.00it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]", "metrics": { "predict_time": 37.76884846, "total_time": 38.742466 }, "output": [ "https://replicate.delivery/yhqm/MKAzvnqn7N4UFpQ6rDWiMT6BgrWTi0KdrEPK7Fk7RHvdnB2E/out-0.webp", "https://replicate.delivery/yhqm/ndaVxXPYNkK8KhjwcY7drKDijTVS502Zd2FRE28ZapqdnB2E/out-1.webp", "https://replicate.delivery/yhqm/6nJW0kJ8wy6rPFOzan6mhUdVfbgxQg2ebLHLaeK6fPAY3ZgNB/out-2.webp", "https://replicate.delivery/yhqm/9BmY02eubByFSyLkz5zqEMOrYWxv1Gl2oUT6pLAfoe8t7MwmA/out-3.webp" ], "started_at": "2024-08-31T06:16:49.023618Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qd2c3ha0p9rm00chmwaa6ej5jg", "cancel": "https://api.replicate.com/v1/predictions/qd2c3ha0p9rm00chmwaa6ej5jg/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 6909 Prompt: SEOULGI is wearing a square glasses, red hoodie, black pants. "SEOULGI entering the rabbit house through a square-shaped door. Interior view of the whimsical rabbit house. Various clocks visible inside. White Rabbit in the background. Magical atmosphere. txt2img mode Using dev model Loaded LoRAs in 8.45s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.01it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s] 50%|█████ | 14/28 [00:13<00:13, 1.00it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s] 61%|██████ | 17/28 [00:16<00:10, 1.00it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s] 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDzfhf80xyd5rm60chnd0ban1yb4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-01T01:44:31.138760Z", "created_at": "2024-09-01T01:43:52.681000Z", "data_removed": false, "error": null, "id": "zfhf80xyd5rm60chnd0ban1yb4", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 29441\nPrompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.81s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.00it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.14it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.07it/s]\n 14%|█▍ | 4/28 [00:03<00:23, 1.04it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.02it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.01it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.00it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.00it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s]\n 39%|███▉ | 11/28 [00:10<00:17, 1.00s/it]\n 43%|████▎ | 12/28 [00:11<00:16, 1.00s/it]\n 46%|████▋ | 13/28 [00:12<00:15, 1.00s/it]\n 50%|█████ | 14/28 [00:13<00:14, 1.00s/it]\n 54%|█████▎ | 15/28 [00:14<00:13, 1.01s/it]\n 57%|█████▋ | 16/28 [00:15<00:12, 1.01s/it]\n 61%|██████ | 17/28 [00:16<00:11, 1.01s/it]\n 64%|██████▍ | 18/28 [00:17<00:10, 1.01s/it]\n 68%|██████▊ | 19/28 [00:18<00:09, 1.01s/it]\n 71%|███████▏ | 20/28 [00:19<00:08, 1.01s/it]\n 75%|███████▌ | 21/28 [00:20<00:07, 1.01s/it]\n 79%|███████▊ | 22/28 [00:21<00:06, 1.01s/it]\n 82%|████████▏ | 23/28 [00:22<00:05, 1.01s/it]\n 86%|████████▌ | 24/28 [00:23<00:04, 1.01s/it]\n 89%|████████▉ | 25/28 [00:24<00:03, 1.01s/it]\n 93%|█████████▎| 26/28 [00:25<00:02, 1.01s/it]\n 96%|█████████▋| 27/28 [00:26<00:01, 1.01s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.01s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.00it/s]", "metrics": { "predict_time": 37.347404638, "total_time": 38.45776 }, "output": [ "https://replicate.delivery/yhqm/o9G2Xxch6cbaK5SVR30Re3SFzmVyMoQ9anJ7ZhJPPRbfjXYTA/out-0.webp", "https://replicate.delivery/yhqm/ZLPMoF7X3sqBLFaeuVaARCBcAsVEbPThlklxHlEPygdfjXYTA/out-1.webp", "https://replicate.delivery/yhqm/K8ffEZVejOdBiowSIHEaC68ReW6r9UP65dz8rQp8i6W9PeCbC/out-2.webp", "https://replicate.delivery/yhqm/y3OWhDwXX64RP5ofdl8u0486Kf9AvAYKyhJA32Wj4eXfPeCbC/out-3.webp" ], "started_at": "2024-09-01T01:43:53.791356Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zfhf80xyd5rm60chnd0ban1yb4", "cancel": "https://api.replicate.com/v1/predictions/zfhf80xyd5rm60chnd0ban1yb4/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 29441 Prompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch. txt2img mode Using dev model Loaded LoRAs in 7.81s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.00it/s] 7%|▋ | 2/28 [00:01<00:22, 1.14it/s] 11%|█ | 3/28 [00:02<00:23, 1.07it/s] 14%|█▍ | 4/28 [00:03<00:23, 1.04it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.02it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.01it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.00it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.00it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s] 39%|███▉ | 11/28 [00:10<00:17, 1.00s/it] 43%|████▎ | 12/28 [00:11<00:16, 1.00s/it] 46%|████▋ | 13/28 [00:12<00:15, 1.00s/it] 50%|█████ | 14/28 [00:13<00:14, 1.00s/it] 54%|█████▎ | 15/28 [00:14<00:13, 1.01s/it] 57%|█████▋ | 16/28 [00:15<00:12, 1.01s/it] 61%|██████ | 17/28 [00:16<00:11, 1.01s/it] 64%|██████▍ | 18/28 [00:17<00:10, 1.01s/it] 68%|██████▊ | 19/28 [00:18<00:09, 1.01s/it] 71%|███████▏ | 20/28 [00:19<00:08, 1.01s/it] 75%|███████▌ | 21/28 [00:20<00:07, 1.01s/it] 79%|███████▊ | 22/28 [00:21<00:06, 1.01s/it] 82%|████████▏ | 23/28 [00:22<00:05, 1.01s/it] 86%|████████▌ | 24/28 [00:23<00:04, 1.01s/it] 89%|████████▉ | 25/28 [00:24<00:03, 1.01s/it] 93%|█████████▎| 26/28 [00:25<00:02, 1.01s/it] 96%|█████████▋| 27/28 [00:26<00:01, 1.01s/it] 100%|██████████| 28/28 [00:27<00:00, 1.01s/it] 100%|██████████| 28/28 [00:27<00:00, 1.00it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDy0f27gn9xnrm40chnd1v35e3dmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-01T01:47:40.931175Z", "created_at": "2024-09-01T01:47:04.045000Z", "data_removed": false, "error": null, "id": "y0f27gn9xnrm40chnd1v35e3dm", "input": { "model": "dev", "prompt": "SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 61275\nPrompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch.\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.53s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.01it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.00it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.00it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]", "metrics": { "predict_time": 36.878424459, "total_time": 36.886175 }, "output": [ "https://replicate.delivery/yhqm/NGJfZAdqBTxnP6rwn2qtWVQnvxteQWiEUrXGlbNTZjz8mXYTA/out-0.webp", "https://replicate.delivery/yhqm/oLCDrjXB5RpxIle9DsElrfzp4qu3FydJLTQn8v6cOZf4NvwmA/out-1.webp", "https://replicate.delivery/yhqm/cDtdWdpT90qkNdEuy6VzSdvfkpg8V4FRWK68lbi1rcIemXYTA/out-2.webp", "https://replicate.delivery/yhqm/vhV6FEZVfsRATqlrw2miBYt5cwcaonxfjDln8QyMoDM8mXYTA/out-3.webp" ], "started_at": "2024-09-01T01:47:04.052751Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/y0f27gn9xnrm40chnd1v35e3dm", "cancel": "https://api.replicate.com/v1/predictions/y0f27gn9xnrm40chnd1v35e3dm/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 61275 Prompt: SEOULGI is wearing a square glasses, red hoodie, black pants. SEOULGI and the White Rabbit standing in front of a just triangular rabbit house. Colorful forest setting. Magical ambiance. Large clock visible on the house exterior. White Rabbit is wearing a blue ribbon and holding a pocket watch. txt2img mode Using dev model Loaded LoRAs in 7.53s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.01it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s] 50%|█████ | 14/28 [00:13<00:13, 1.00it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s] 61%|██████ | 17/28 [00:16<00:10, 1.00it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s] 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDt6y0ntcbs9rm40chkrs80fsftcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T12:53:58.389650Z", "created_at": "2024-08-29T12:53:18.410000Z", "data_removed": false, "error": null, "id": "t6y0ntcbs9rm40chkrs80fsftc", "input": { "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 36055\nPrompt: A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants\ntxt2img mode\nUsing dev model\nfree=9004050415616\nDownloading weights\n2024-08-29T12:53:18Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmptbpt6vk1/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-08-29T12:53:19Z | INFO | [ Complete ] dest=/tmp/tmptbpt6vk1/weights size=\"172 MB\" total_elapsed=1.384s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 1.41s\nLoaded LoRAs in 9.84s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:27, 1.02s/it]\n 7%|▋ | 2/28 [00:01<00:23, 1.13it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.05it/s]\n 14%|█▍ | 4/28 [00:03<00:23, 1.02it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.01it/s]\n 21%|██▏ | 6/28 [00:05<00:22, 1.00s/it]\n 25%|██▌ | 7/28 [00:06<00:21, 1.01s/it]\n 29%|██▊ | 8/28 [00:07<00:20, 1.02s/it]\n 32%|███▏ | 9/28 [00:08<00:19, 1.02s/it]\n 36%|███▌ | 10/28 [00:10<00:18, 1.02s/it]\n 39%|███▉ | 11/28 [00:11<00:17, 1.02s/it]\n 43%|████▎ | 12/28 [00:12<00:16, 1.02s/it]\n 46%|████▋ | 13/28 [00:13<00:15, 1.02s/it]\n 50%|█████ | 14/28 [00:14<00:14, 1.02s/it]\n 54%|█████▎ | 15/28 [00:15<00:13, 1.03s/it]\n 57%|█████▋ | 16/28 [00:16<00:12, 1.03s/it]\n 61%|██████ | 17/28 [00:17<00:11, 1.02s/it]\n 64%|██████▍ | 18/28 [00:18<00:10, 1.03s/it]\n 68%|██████▊ | 19/28 [00:19<00:09, 1.03s/it]\n 71%|███████▏ | 20/28 [00:20<00:08, 1.03s/it]\n 75%|███████▌ | 21/28 [00:21<00:07, 1.03s/it]\n 79%|███████▊ | 22/28 [00:22<00:06, 1.03s/it]\n 82%|████████▏ | 23/28 [00:23<00:05, 1.03s/it]\n 86%|████████▌ | 24/28 [00:24<00:04, 1.03s/it]\n 89%|████████▉ | 25/28 [00:25<00:03, 1.03s/it]\n 93%|█████████▎| 26/28 [00:26<00:02, 1.03s/it]\n 96%|█████████▋| 27/28 [00:27<00:01, 1.03s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.03s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.02s/it]", "metrics": { "predict_time": 39.968769076, "total_time": 39.97965 }, "output": [ "https://replicate.delivery/yhqm/HqVd8BpIgNaFNBXcCo4JSB2UQopFQ5EeutfNZ8FMAyzmFiXTA/out-0.webp", "https://replicate.delivery/yhqm/X8Po7yeC2cXxEKtntQ0OVE8ePOy3DPSMUr6GWUmbqZ2mFiXTA/out-1.webp", "https://replicate.delivery/yhqm/86wMecsZawWyeECTRFKPF39ExJRo4ypZZk0Sec6RlLXMLEvmA/out-2.webp", "https://replicate.delivery/yhqm/wBXPYtrjXIbdHRSuGgyxdtWqElexUzQ0NI4IftaO8INmFiXTA/out-3.webp" ], "started_at": "2024-08-29T12:53:18.420881Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/t6y0ntcbs9rm40chkrs80fsftc", "cancel": "https://api.replicate.com/v1/predictions/t6y0ntcbs9rm40chkrs80fsftc/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 36055 Prompt: A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants txt2img mode Using dev model free=9004050415616 Downloading weights 2024-08-29T12:53:18Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmptbpt6vk1/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-08-29T12:53:19Z | INFO | [ Complete ] dest=/tmp/tmptbpt6vk1/weights size="172 MB" total_elapsed=1.384s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 1.41s Loaded LoRAs in 9.84s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:27, 1.02s/it] 7%|▋ | 2/28 [00:01<00:23, 1.13it/s] 11%|█ | 3/28 [00:02<00:23, 1.05it/s] 14%|█▍ | 4/28 [00:03<00:23, 1.02it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.01it/s] 21%|██▏ | 6/28 [00:05<00:22, 1.00s/it] 25%|██▌ | 7/28 [00:06<00:21, 1.01s/it] 29%|██▊ | 8/28 [00:07<00:20, 1.02s/it] 32%|███▏ | 9/28 [00:08<00:19, 1.02s/it] 36%|███▌ | 10/28 [00:10<00:18, 1.02s/it] 39%|███▉ | 11/28 [00:11<00:17, 1.02s/it] 43%|████▎ | 12/28 [00:12<00:16, 1.02s/it] 46%|████▋ | 13/28 [00:13<00:15, 1.02s/it] 50%|█████ | 14/28 [00:14<00:14, 1.02s/it] 54%|█████▎ | 15/28 [00:15<00:13, 1.03s/it] 57%|█████▋ | 16/28 [00:16<00:12, 1.03s/it] 61%|██████ | 17/28 [00:17<00:11, 1.02s/it] 64%|██████▍ | 18/28 [00:18<00:10, 1.03s/it] 68%|██████▊ | 19/28 [00:19<00:09, 1.03s/it] 71%|███████▏ | 20/28 [00:20<00:08, 1.03s/it] 75%|███████▌ | 21/28 [00:21<00:07, 1.03s/it] 79%|███████▊ | 22/28 [00:22<00:06, 1.03s/it] 82%|████████▏ | 23/28 [00:23<00:05, 1.03s/it] 86%|████████▌ | 24/28 [00:24<00:04, 1.03s/it] 89%|████████▉ | 25/28 [00:25<00:03, 1.03s/it] 93%|█████████▎| 26/28 [00:26<00:02, 1.03s/it] 96%|█████████▋| 27/28 [00:27<00:01, 1.03s/it] 100%|██████████| 28/28 [00:28<00:00, 1.03s/it] 100%|██████████| 28/28 [00:28<00:00, 1.02s/it]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDhazdx83q2srm20chkrste54d1rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 10766
- model
- dev
- prompt
- A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "seed": 10766, "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { seed: 10766, model: "dev", prompt: "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "seed": 10766, "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "seed": 10766, "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T12:54:55.137921Z", "created_at": "2024-08-29T12:54:18.646000Z", "data_removed": false, "error": null, "id": "hazdx83q2srm20chkrste54d1r", "input": { "seed": 10766, "model": "dev", "prompt": "A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 10766\nPrompt: A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.56s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.00it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.04it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.00it/s]\n 54%|█████▎ | 15/28 [00:14<00:13, 1.00s/it]\n 57%|█████▋ | 16/28 [00:15<00:12, 1.00s/it]\n 61%|██████ | 17/28 [00:16<00:11, 1.00s/it]\n 64%|██████▍ | 18/28 [00:17<00:10, 1.00s/it]\n 68%|██████▊ | 19/28 [00:18<00:09, 1.00s/it]\n 71%|███████▏ | 20/28 [00:19<00:08, 1.00s/it]\n 75%|███████▌ | 21/28 [00:20<00:07, 1.00s/it]\n 79%|███████▊ | 22/28 [00:21<00:06, 1.01s/it]\n 82%|████████▏ | 23/28 [00:22<00:05, 1.00s/it]\n 86%|████████▌ | 24/28 [00:23<00:04, 1.00s/it]\n 89%|████████▉ | 25/28 [00:24<00:03, 1.00s/it]\n 93%|█████████▎| 26/28 [00:25<00:02, 1.00s/it]\n 96%|█████████▋| 27/28 [00:26<00:01, 1.00s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.00s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]\nPotential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed.\nNSFW content detected in image 0\nNSFW content detected in image 1\nNSFW content detected in image 2", "metrics": { "predict_time": 36.481311578, "total_time": 36.491921 }, "output": [ "https://replicate.delivery/yhqm/uNjqs5IPeg1ASyCkhTX1CEC5AeySbv2mbALYa6v6E5EeMEvmA/out-3.webp" ], "started_at": "2024-08-29T12:54:18.656610Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/hazdx83q2srm20chkrste54d1r", "cancel": "https://api.replicate.com/v1/predictions/hazdx83q2srm20chkrste54d1r/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 10766 Prompt: A young boy named SEOULGI, Alice in Wonderland, Dreamlike Studio Ghibli-inspired style. wake up on the bed. SEOULGI is wearing sqaure glasses, red hoodie, black pants txt2img mode Using dev model Loaded LoRAs in 7.56s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.00it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.04it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s] 50%|█████ | 14/28 [00:13<00:13, 1.00it/s] 54%|█████▎ | 15/28 [00:14<00:13, 1.00s/it] 57%|█████▋ | 16/28 [00:15<00:12, 1.00s/it] 61%|██████ | 17/28 [00:16<00:11, 1.00s/it] 64%|██████▍ | 18/28 [00:17<00:10, 1.00s/it] 68%|██████▊ | 19/28 [00:18<00:09, 1.00s/it] 71%|███████▏ | 20/28 [00:19<00:08, 1.00s/it] 75%|███████▌ | 21/28 [00:20<00:07, 1.00s/it] 79%|███████▊ | 22/28 [00:21<00:06, 1.01s/it] 82%|████████▏ | 23/28 [00:22<00:05, 1.00s/it] 86%|████████▌ | 24/28 [00:23<00:04, 1.00s/it] 89%|████████▉ | 25/28 [00:24<00:03, 1.00s/it] 93%|█████████▎| 26/28 [00:25<00:02, 1.00s/it] 96%|█████████▋| 27/28 [00:26<00:01, 1.00s/it] 100%|██████████| 28/28 [00:27<00:00, 1.00s/it] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s] Potential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed. NSFW content detected in image 0 NSFW content detected in image 1 NSFW content detected in image 2
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDedezgvge4xrm60chks0a4xj2pcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 10766
- model
- dev
- prompt
- SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "seed": 10766, "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { seed: 10766, model: "dev", prompt: "SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "seed": 10766, "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "seed": 10766, "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T13:08:43.089734Z", "created_at": "2024-08-29T13:08:03.751000Z", "data_removed": false, "error": null, "id": "edezgvge4xrm60chks0a4xj2pc", "input": { "seed": 10766, "model": "dev", "prompt": "SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 10766\nPrompt: SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 9.94s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.00it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.04it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.00it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.00it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.00it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s]\n 82%|████████▏ | 23/28 [00:22<00:05, 1.00s/it]\n 86%|████████▌ | 24/28 [00:23<00:04, 1.00s/it]\n 89%|████████▉ | 25/28 [00:24<00:03, 1.00s/it]\n 93%|█████████▎| 26/28 [00:25<00:02, 1.00s/it]\n 96%|█████████▋| 27/28 [00:26<00:01, 1.00s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.00s/it]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]", "metrics": { "predict_time": 39.329378533, "total_time": 39.338734 }, "output": [ "https://replicate.delivery/yhqm/8liiyRVa8AaTDdktwkNR19q7uCwIgDy8ehvfMKuIuEEaTiXTA/out-0.webp", "https://replicate.delivery/yhqm/Odog2qLF817EDNs1mOA8TJSJOGVHxJe2wsp76csvUbTtJxrJA/out-1.webp", "https://replicate.delivery/yhqm/x4ZelkeHmqu8h0n5D2jYOBvOLG01hTAIeAIbqfBTKgPqNJeaC/out-2.webp", "https://replicate.delivery/yhqm/m5YGoV2aO1oDD1IdhpNo1dvCHnvlWNxvfgpiFJczkTitJxrJA/out-3.webp" ], "started_at": "2024-08-29T13:08:03.760355Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/edezgvge4xrm60chks0a4xj2pc", "cancel": "https://api.replicate.com/v1/predictions/edezgvge4xrm60chks0a4xj2pc/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 10766 Prompt: SEOULGI and the White Rabbit from Alice in Wonderland playing soccer in a surreal field, fantasy setting, vibrant colors. SEOULGI is wearing sqaure glasses, red hoodie, black pants txt2img mode Using dev model Loaded LoRAs in 9.94s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.00it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.04it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.00it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s] 50%|█████ | 14/28 [00:13<00:13, 1.00it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.00it/s] 61%|██████ | 17/28 [00:16<00:10, 1.00it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.00it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.00it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.00it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.00it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.00it/s] 82%|████████▏ | 23/28 [00:22<00:05, 1.00s/it] 86%|████████▌ | 24/28 [00:23<00:04, 1.00s/it] 89%|████████▉ | 25/28 [00:24<00:03, 1.00s/it] 93%|█████████▎| 26/28 [00:25<00:02, 1.00s/it] 96%|█████████▋| 27/28 [00:26<00:01, 1.00s/it] 100%|██████████| 28/28 [00:27<00:00, 1.00s/it] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33ID803hn2fxk9rm40chks6tm55m6gStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T13:23:56.761175Z", "created_at": "2024-08-29T13:23:17.018000Z", "data_removed": false, "error": null, "id": "803hn2fxk9rm40chks6tm55m6g", "input": { "model": "dev", "prompt": "A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 12101\nPrompt: A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants\ntxt2img mode\nUsing dev model\nfree=9275436273664\nDownloading weights\n2024-08-29T13:23:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpa9iw80dh/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-08-29T13:23:18Z | INFO | [ Complete ] dest=/tmp/tmpa9iw80dh/weights size=\"172 MB\" total_elapsed=1.130s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 1.16s\nLoaded LoRAs in 9.70s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:27, 1.02s/it]\n 7%|▋ | 2/28 [00:01<00:23, 1.12it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.05it/s]\n 14%|█▍ | 4/28 [00:03<00:23, 1.02it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.01it/s]\n 21%|██▏ | 6/28 [00:05<00:22, 1.00s/it]\n 25%|██▌ | 7/28 [00:06<00:21, 1.01s/it]\n 29%|██▊ | 8/28 [00:07<00:20, 1.01s/it]\n 32%|███▏ | 9/28 [00:08<00:19, 1.02s/it]\n 36%|███▌ | 10/28 [00:09<00:18, 1.02s/it]\n 39%|███▉ | 11/28 [00:11<00:17, 1.02s/it]\n 43%|████▎ | 12/28 [00:12<00:16, 1.02s/it]\n 46%|████▋ | 13/28 [00:13<00:15, 1.02s/it]\n 50%|█████ | 14/28 [00:14<00:14, 1.02s/it]\n 54%|█████▎ | 15/28 [00:15<00:13, 1.02s/it]\n 57%|█████▋ | 16/28 [00:16<00:12, 1.02s/it]\n 61%|██████ | 17/28 [00:17<00:11, 1.02s/it]\n 64%|██████▍ | 18/28 [00:18<00:10, 1.03s/it]\n 68%|██████▊ | 19/28 [00:19<00:09, 1.03s/it]\n 71%|███████▏ | 20/28 [00:20<00:08, 1.03s/it]\n 75%|███████▌ | 21/28 [00:21<00:07, 1.03s/it]\n 79%|███████▊ | 22/28 [00:22<00:06, 1.03s/it]\n 82%|████████▏ | 23/28 [00:23<00:05, 1.03s/it]\n 86%|████████▌ | 24/28 [00:24<00:04, 1.03s/it]\n 89%|████████▉ | 25/28 [00:25<00:03, 1.03s/it]\n 93%|█████████▎| 26/28 [00:26<00:02, 1.03s/it]\n 96%|█████████▋| 27/28 [00:27<00:01, 1.03s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.03s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.02s/it]", "metrics": { "predict_time": 39.732415403, "total_time": 39.743175 }, "output": [ "https://replicate.delivery/yhqm/v2poHziMfq0cIqSqRx5eEsifyUYV6iZ1jUDWhvRJeQCzGKeaC/out-0.webp", "https://replicate.delivery/yhqm/D6pwZIfwvEU3f0RNy8gLkJPpGhWiU57Gcbsy365lSmcshiXTA/out-1.webp", "https://replicate.delivery/yhqm/nD7ifK8eJcpDWklefSOvPCAWSb8Sp0HARfIBlNZ8mn3hNU8aC/out-2.webp", "https://replicate.delivery/yhqm/xcneprz8CEzufEKewG9eNq6Nps6tyQBTpzvv6JyeUbDmNU8aC/out-3.webp" ], "started_at": "2024-08-29T13:23:17.028760Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/803hn2fxk9rm40chks6tm55m6g", "cancel": "https://api.replicate.com/v1/predictions/803hn2fxk9rm40chks6tm55m6g/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 12101 Prompt: A young boy named SEOULGI is reading a book with the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants txt2img mode Using dev model free=9275436273664 Downloading weights 2024-08-29T13:23:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpa9iw80dh/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-08-29T13:23:18Z | INFO | [ Complete ] dest=/tmp/tmpa9iw80dh/weights size="172 MB" total_elapsed=1.130s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 1.16s Loaded LoRAs in 9.70s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:27, 1.02s/it] 7%|▋ | 2/28 [00:01<00:23, 1.12it/s] 11%|█ | 3/28 [00:02<00:23, 1.05it/s] 14%|█▍ | 4/28 [00:03<00:23, 1.02it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.01it/s] 21%|██▏ | 6/28 [00:05<00:22, 1.00s/it] 25%|██▌ | 7/28 [00:06<00:21, 1.01s/it] 29%|██▊ | 8/28 [00:07<00:20, 1.01s/it] 32%|███▏ | 9/28 [00:08<00:19, 1.02s/it] 36%|███▌ | 10/28 [00:09<00:18, 1.02s/it] 39%|███▉ | 11/28 [00:11<00:17, 1.02s/it] 43%|████▎ | 12/28 [00:12<00:16, 1.02s/it] 46%|████▋ | 13/28 [00:13<00:15, 1.02s/it] 50%|█████ | 14/28 [00:14<00:14, 1.02s/it] 54%|█████▎ | 15/28 [00:15<00:13, 1.02s/it] 57%|█████▋ | 16/28 [00:16<00:12, 1.02s/it] 61%|██████ | 17/28 [00:17<00:11, 1.02s/it] 64%|██████▍ | 18/28 [00:18<00:10, 1.03s/it] 68%|██████▊ | 19/28 [00:19<00:09, 1.03s/it] 71%|███████▏ | 20/28 [00:20<00:08, 1.03s/it] 75%|███████▌ | 21/28 [00:21<00:07, 1.03s/it] 79%|███████▊ | 22/28 [00:22<00:06, 1.03s/it] 82%|████████▏ | 23/28 [00:23<00:05, 1.03s/it] 86%|████████▌ | 24/28 [00:24<00:04, 1.03s/it] 89%|████████▉ | 25/28 [00:25<00:03, 1.03s/it] 93%|█████████▎| 26/28 [00:26<00:02, 1.03s/it] 96%|█████████▋| 27/28 [00:27<00:01, 1.03s/it] 100%|██████████| 28/28 [00:28<00:00, 1.03s/it] 100%|██████████| 28/28 [00:28<00:00, 1.02s/it]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDt4hb5k20b5rm00chks9rfqj6q8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", lora_scale: 1, num_outputs: 4, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T13:29:40.229749Z", "created_at": "2024-08-29T13:29:01.785000Z", "data_removed": false, "error": null, "id": "t4hb5k20b5rm00chks9rfqj6q8", "input": { "model": "dev", "prompt": "Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 58760\nPrompt: Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 9.34s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.02it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.16it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.09it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.04it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.03it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.02it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.02it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.01it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.01it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.02it/s]", "metrics": { "predict_time": 38.436974817, "total_time": 38.444749 }, "output": [ "https://replicate.delivery/yhqm/EVdtGqk5xi5dHVOj8FvASzcGlrUS8uw581IKSjtknB4wp41E/out-0.webp", "https://replicate.delivery/yhqm/iQNj6V2AbtZAJ1IWqbZFvdfyoJZ45fx5Ko0sd1Tf5GCJOFvmA/out-1.webp", "https://replicate.delivery/yhqm/igdCVtkXnMKLANameVJBgsmF7JAaFHy8fA4Kf4OIlRlJOFvmA/out-2.webp", "https://replicate.delivery/yhqm/tXuKKbnI90LyABCwMiSKsE92xvaRaGPFH0Scf66GhNUiTxrJA/out-3.webp" ], "started_at": "2024-08-29T13:29:01.792774Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/t4hb5k20b5rm00chks9rfqj6q8", "cancel": "https://api.replicate.com/v1/predictions/t4hb5k20b5rm00chks9rfqj6q8/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 58760 Prompt: Front shot, A young boy named SEOULGI raise up his right arms for presentation next to the White Rabbit from Alice in Wonderland. Fantasy classroom. Dreamlike Studio Ghibli-inspired style. the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants txt2img mode Using dev model Loaded LoRAs in 9.34s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.02it/s] 7%|▋ | 2/28 [00:01<00:22, 1.16it/s] 11%|█ | 3/28 [00:02<00:23, 1.09it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.04it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.03it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.02it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.02it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s] 50%|█████ | 14/28 [00:13<00:13, 1.01it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s] 61%|██████ | 17/28 [00:16<00:10, 1.01it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s] 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.02it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDgzfagxbr2hrm60chkg9srsr0y8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SEOULGI, running, SD size animation character, simple
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SEOULGI, running, SD size animation character, simple", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "SEOULGI, running, SD size animation character, simple", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "SEOULGI, running, SD size animation character, simple", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "SEOULGI, running, SD size animation character, simple", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T03:00:49.392144Z", "created_at": "2024-08-29T03:00:07.316000Z", "data_removed": false, "error": null, "id": "gzfagxbr2hrm60chkg9srsr0y8", "input": { "model": "dev", "prompt": "SEOULGI, running, SD size animation character, simple", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 2570\nPrompt: SEOULGI, running, SD size animation character, simple\ntxt2img mode\nUsing dev model\nfree=9288925601792\nDownloading weights\n2024-08-29T03:00:07Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxrty7efp/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-08-29T03:00:10Z | INFO | [ Complete ] dest=/tmp/tmpxrty7efp/weights size=\"172 MB\" total_elapsed=3.418s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 3.45s\nLoaded LoRAs in 12.58s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:27, 1.01s/it]\n 7%|▋ | 2/28 [00:01<00:22, 1.14it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.06it/s]\n 14%|█▍ | 4/28 [00:03<00:23, 1.03it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.02it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.01it/s]\n 25%|██▌ | 7/28 [00:06<00:21, 1.00s/it]\n 29%|██▊ | 8/28 [00:07<00:20, 1.01s/it]\n 32%|███▏ | 9/28 [00:08<00:19, 1.01s/it]\n 36%|███▌ | 10/28 [00:09<00:18, 1.01s/it]\n 39%|███▉ | 11/28 [00:10<00:17, 1.01s/it]\n 43%|████▎ | 12/28 [00:11<00:16, 1.01s/it]\n 46%|████▋ | 13/28 [00:12<00:15, 1.01s/it]\n 50%|█████ | 14/28 [00:13<00:14, 1.01s/it]\n 54%|█████▎ | 15/28 [00:14<00:13, 1.01s/it]\n 57%|█████▋ | 16/28 [00:15<00:12, 1.01s/it]\n 61%|██████ | 17/28 [00:16<00:11, 1.01s/it]\n 64%|██████▍ | 18/28 [00:18<00:10, 1.01s/it]\n 68%|██████▊ | 19/28 [00:19<00:09, 1.01s/it]\n 71%|███████▏ | 20/28 [00:20<00:08, 1.01s/it]\n 75%|███████▌ | 21/28 [00:21<00:07, 1.01s/it]\n 79%|███████▊ | 22/28 [00:22<00:06, 1.01s/it]\n 82%|████████▏ | 23/28 [00:23<00:05, 1.01s/it]\n 86%|████████▌ | 24/28 [00:24<00:04, 1.01s/it]\n 89%|████████▉ | 25/28 [00:25<00:03, 1.01s/it]\n 93%|█████████▎| 26/28 [00:26<00:02, 1.01s/it]\n 96%|█████████▋| 27/28 [00:27<00:01, 1.01s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.01s/it]\n100%|██████████| 28/28 [00:28<00:00, 1.00s/it]\nPotential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed.\nNSFW content detected in image 3", "metrics": { "predict_time": 42.066673558, "total_time": 42.076144 }, "output": [ "https://replicate.delivery/yhqm/zu9IMJfCUd0pXKLvffIn7zLwzIUA3Ii6rDNaDTHBoeePML7aC/out-0.webp", "https://replicate.delivery/yhqm/yc7GecywouXMDyxkRgzVQeXO0l373N4Nglt1NekVAGfFmldNB/out-1.webp", "https://replicate.delivery/yhqm/s2cNhis8MUJCClPW0cEWYkvBuereJnmiN9IlklFbDJdhZZXTA/out-2.webp" ], "started_at": "2024-08-29T03:00:07.325470Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gzfagxbr2hrm60chkg9srsr0y8", "cancel": "https://api.replicate.com/v1/predictions/gzfagxbr2hrm60chkg9srsr0y8/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 2570 Prompt: SEOULGI, running, SD size animation character, simple txt2img mode Using dev model free=9288925601792 Downloading weights 2024-08-29T03:00:07Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxrty7efp/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-08-29T03:00:10Z | INFO | [ Complete ] dest=/tmp/tmpxrty7efp/weights size="172 MB" total_elapsed=3.418s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 3.45s Loaded LoRAs in 12.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:27, 1.01s/it] 7%|▋ | 2/28 [00:01<00:22, 1.14it/s] 11%|█ | 3/28 [00:02<00:23, 1.06it/s] 14%|█▍ | 4/28 [00:03<00:23, 1.03it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.02it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.01it/s] 25%|██▌ | 7/28 [00:06<00:21, 1.00s/it] 29%|██▊ | 8/28 [00:07<00:20, 1.01s/it] 32%|███▏ | 9/28 [00:08<00:19, 1.01s/it] 36%|███▌ | 10/28 [00:09<00:18, 1.01s/it] 39%|███▉ | 11/28 [00:10<00:17, 1.01s/it] 43%|████▎ | 12/28 [00:11<00:16, 1.01s/it] 46%|████▋ | 13/28 [00:12<00:15, 1.01s/it] 50%|█████ | 14/28 [00:13<00:14, 1.01s/it] 54%|█████▎ | 15/28 [00:14<00:13, 1.01s/it] 57%|█████▋ | 16/28 [00:15<00:12, 1.01s/it] 61%|██████ | 17/28 [00:16<00:11, 1.01s/it] 64%|██████▍ | 18/28 [00:18<00:10, 1.01s/it] 68%|██████▊ | 19/28 [00:19<00:09, 1.01s/it] 71%|███████▏ | 20/28 [00:20<00:08, 1.01s/it] 75%|███████▌ | 21/28 [00:21<00:07, 1.01s/it] 79%|███████▊ | 22/28 [00:22<00:06, 1.01s/it] 82%|████████▏ | 23/28 [00:23<00:05, 1.01s/it] 86%|████████▌ | 24/28 [00:24<00:04, 1.01s/it] 89%|████████▉ | 25/28 [00:25<00:03, 1.01s/it] 93%|█████████▎| 26/28 [00:26<00:02, 1.01s/it] 96%|█████████▋| 27/28 [00:27<00:01, 1.01s/it] 100%|██████████| 28/28 [00:28<00:00, 1.01s/it] 100%|██████████| 28/28 [00:28<00:00, 1.00s/it] Potential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed. NSFW content detected in image 3
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33ID2d1pw37w9xrm40chkgft4vsg5cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch.", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T03:14:25.920678Z", "created_at": "2024-08-29T03:13:47.599000Z", "data_removed": false, "error": null, "id": "2d1pw37w9xrm40chkgft4vsg5c", "input": { "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 19472\nPrompt: A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch.\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 9.04s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.01it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.01it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.01it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s]\n 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]", "metrics": { "predict_time": 38.312374489, "total_time": 38.321678 }, "output": [ "https://replicate.delivery/yhqm/iC8vaUVcJMoeFKWzmUpGYbA2L1pQT6p52B4baRDMhhyIzsrJA/out-0.webp", "https://replicate.delivery/yhqm/T06Rb5j8fj2sLq4PAFio5AlJpgDaaGwqnHsZDYHedfhjMzumA/out-1.webp", "https://replicate.delivery/yhqm/wc6o7Ec2eKWoTCkkny1IunHAARyVQ1umPPffjsng7IIiMzumA/out-2.webp", "https://replicate.delivery/yhqm/JCPLSr6iBV7xEdu7cWmXw2B8HBOGitKg1b04RTNSXexIzsrJA/out-3.webp" ], "started_at": "2024-08-29T03:13:47.608304Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2d1pw37w9xrm40chkgft4vsg5c", "cancel": "https://api.replicate.com/v1/predictions/2d1pw37w9xrm40chkgft4vsg5c/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 19472 Prompt: A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. txt2img mode Using dev model Loaded LoRAs in 9.04s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.01it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.02it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.01it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.01it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.01it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.01it/s] 50%|█████ | 14/28 [00:13<00:13, 1.01it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.01it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.01it/s] 61%|██████ | 17/28 [00:16<00:10, 1.01it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.01it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.01it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.01it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.01it/s] 79%|███████▊ | 22/28 [00:21<00:05, 1.01it/s] 82%|████████▏ | 23/28 [00:22<00:04, 1.01it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.01it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.01it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.01it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s]
Prediction
mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33IDj0mwktqtthrm20chkggt5trmfmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", { input: { model: "dev", prompt: "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, 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 mintkaori/seoulgi using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mintkaori/seoulgi:7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", input={ "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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 mintkaori/seoulgi 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": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33", "input": { "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "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-08-29T03:16:43.547020Z", "created_at": "2024-08-29T03:15:58.292000Z", "data_removed": false, "error": null, "id": "j0mwktqtthrm20chkggt5trmfm", "input": { "model": "dev", "prompt": "A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 10766\nPrompt: A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants\ntxt2img mode\nUsing dev model\nfree=9451892887552\nDownloading weights\n2024-08-29T03:16:03Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpg79ox7h_/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\n2024-08-29T03:16:04Z | INFO | [ Complete ] dest=/tmp/tmpg79ox7h_/weights size=\"172 MB\" total_elapsed=1.727s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar\nDownloaded weights in 1.76s\nLoaded LoRAs in 11.02s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:26, 1.01it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.15it/s]\n 11%|█ | 3/28 [00:02<00:23, 1.08it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s]\n 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s]\n 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s]\n 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.00it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s]\n 57%|█████▋ | 16/28 [00:15<00:12, 1.00s/it]\n 61%|██████ | 17/28 [00:16<00:10, 1.00it/s]\n 64%|██████▍ | 18/28 [00:17<00:10, 1.00s/it]\n 68%|██████▊ | 19/28 [00:18<00:09, 1.00s/it]\n 71%|███████▏ | 20/28 [00:19<00:08, 1.00s/it]\n 75%|███████▌ | 21/28 [00:20<00:07, 1.00s/it]\n 79%|███████▊ | 22/28 [00:21<00:06, 1.00s/it]\n 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s]\n 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s]\n 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s]\n 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s]\n 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.00it/s]\n100%|██████████| 28/28 [00:27<00:00, 1.01it/s]", "metrics": { "predict_time": 40.404752932, "total_time": 45.25502 }, "output": [ "https://replicate.delivery/yhqm/6zhBANBs7g6BLJ81ZN1Jr2oqkEu1S2vgnhzDrzQyRJ6Ga21E/out-0.webp", "https://replicate.delivery/yhqm/NdHQZ9fyw6RoSSm1NVeD33Jbjmls2mKfhGhZjbEipga3QzumA/out-1.webp", "https://replicate.delivery/yhqm/Ua8z2t1iVdq6P5qiYPsuUk02yfqZGQDNCUP4SYGyjT5N0srJA/out-2.webp", "https://replicate.delivery/yhqm/8bDtGxBMM6adEVemkzx4XT7bxedZyKcwA1GsYBAfVIr2QzumA/out-3.webp" ], "started_at": "2024-08-29T03:16:03.142267Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/j0mwktqtthrm20chkggt5trmfm", "cancel": "https://api.replicate.com/v1/predictions/j0mwktqtthrm20chkggt5trmfm/cancel" }, "version": "7ee9481df9ad86376eb70cf276d9bdc39a6a03ced331eec6d7bd9da24cf17c33" }
Generated inUsing seed: 10766 Prompt: A young boy named SEOULGI chasing the White Rabbit from Alice in Wonderland. Surreal garden setting with oversized flowers. Dreamlike Studio Ghibli-inspired style. Dynamic chase scene with the rabbit holding a pocket watch. SEOULGI is wearing sqaure glasses, red hoodie, black pants txt2img mode Using dev model free=9451892887552 Downloading weights 2024-08-29T03:16:03Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpg79ox7h_/weights url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar 2024-08-29T03:16:04Z | INFO | [ Complete ] dest=/tmp/tmpg79ox7h_/weights size="172 MB" total_elapsed=1.727s url=https://replicate.delivery/yhqm/kfQFPNvvra0tGanf9OHjjpZ9fgNSdOdpwMhzOd3ckBeVeJ7aC/trained_model.tar Downloaded weights in 1.76s Loaded LoRAs in 11.02s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:26, 1.01it/s] 7%|▋ | 2/28 [00:01<00:22, 1.15it/s] 11%|█ | 3/28 [00:02<00:23, 1.08it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.05it/s] 18%|█▊ | 5/28 [00:04<00:22, 1.03it/s] 21%|██▏ | 6/28 [00:05<00:21, 1.02it/s] 25%|██▌ | 7/28 [00:06<00:20, 1.01it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.01it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.01it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.00it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.00it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.00it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.00it/s] 50%|█████ | 14/28 [00:13<00:13, 1.00it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.00it/s] 57%|█████▋ | 16/28 [00:15<00:12, 1.00s/it] 61%|██████ | 17/28 [00:16<00:10, 1.00it/s] 64%|██████▍ | 18/28 [00:17<00:10, 1.00s/it] 68%|██████▊ | 19/28 [00:18<00:09, 1.00s/it] 71%|███████▏ | 20/28 [00:19<00:08, 1.00s/it] 75%|███████▌ | 21/28 [00:20<00:07, 1.00s/it] 79%|███████▊ | 22/28 [00:21<00:06, 1.00s/it] 82%|████████▏ | 23/28 [00:22<00:04, 1.00it/s] 86%|████████▌ | 24/28 [00:23<00:03, 1.00it/s] 89%|████████▉ | 25/28 [00:24<00:02, 1.00it/s] 93%|█████████▎| 26/28 [00:25<00:01, 1.00it/s] 96%|█████████▋| 27/28 [00:26<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.00it/s] 100%|██████████| 28/28 [00:27<00:00, 1.01it/s]
Want to make some of these yourself?
Run this model