Prediction
fofr/sd3-explorer:ba332080ID
4qnntmc8znrgj0cg5dc928wsk0
Status
Succeeded
Source
Web
Hardware
A40 (Large)
Total duration
Created
by @fofr
Input
- model
- sd3_medium_incl_clips_t5xxlfp16.safetensors
- shift
- 3
- steps
- 28
- width
- 2048
- height
- 2048
- prompt
- a closeup portrait photo of a man
- sampler
- dpmpp_2m
- scheduler
- sgm_uniform
- output_format
- webp
- guidance_scale
- 4.5
- output_quality
- 80
- negative_prompt
- number_of_images
- 1
- triple_prompt_t5
- use_triple_prompt
- triple_prompt_clip_g
- triple_prompt_clip_l
- negative_conditioning_end
- 0
- triple_prompt_empty_padding
{
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 28,
"width": 2048,
"height": 2048,
"prompt": "a closeup portrait photo of a man",
"sampler": "dpmpp_2m",
"scheduler": "sgm_uniform",
"output_format": "webp",
"guidance_scale": 4.5,
"output_quality": 80,
"negative_prompt": "",
"number_of_images": 1,
"triple_prompt_t5": "",
"use_triple_prompt": false,
"triple_prompt_clip_g": "",
"triple_prompt_clip_l": "",
"negative_conditioning_end": 0,
"triple_prompt_empty_padding": true
}
npm install replicate
Set the
REPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run fofr/sd3-explorer using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"fofr/sd3-explorer:ba3320806125ae93991c899010c998e4ee6a9dc6bdd89aeb6ecbd992815650a9",
{
input: {
model: "sd3_medium_incl_clips_t5xxlfp16.safetensors",
shift: 3,
steps: 28,
width: 2048,
height: 2048,
prompt: "a closeup portrait photo of a man",
sampler: "dpmpp_2m",
scheduler: "sgm_uniform",
output_format: "webp",
guidance_scale: 4.5,
output_quality: 80,
negative_prompt: "",
number_of_images: 1,
triple_prompt_t5: "",
use_triple_prompt: false,
triple_prompt_clip_g: "",
triple_prompt_clip_l: "",
negative_conditioning_end: 0,
triple_prompt_empty_padding: true
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set the
REPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client
import replicate
Run fofr/sd3-explorer using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"fofr/sd3-explorer:ba3320806125ae93991c899010c998e4ee6a9dc6bdd89aeb6ecbd992815650a9",
input={
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 28,
"width": 2048,
"height": 2048,
"prompt": "a closeup portrait photo of a man",
"sampler": "dpmpp_2m",
"scheduler": "sgm_uniform",
"output_format": "webp",
"guidance_scale": 4.5,
"output_quality": 80,
"negative_prompt": "",
"number_of_images": 1,
"triple_prompt_t5": "",
"use_triple_prompt": False,
"triple_prompt_clip_g": "",
"triple_prompt_clip_l": "",
"negative_conditioning_end": 0,
"triple_prompt_empty_padding": True
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
Set the
REPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run fofr/sd3-explorer 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": "ba3320806125ae93991c899010c998e4ee6a9dc6bdd89aeb6ecbd992815650a9",
"input": {
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 28,
"width": 2048,
"height": 2048,
"prompt": "a closeup portrait photo of a man",
"sampler": "dpmpp_2m",
"scheduler": "sgm_uniform",
"output_format": "webp",
"guidance_scale": 4.5,
"output_quality": 80,
"negative_prompt": "",
"number_of_images": 1,
"triple_prompt_t5": "",
"use_triple_prompt": false,
"triple_prompt_clip_g": "",
"triple_prompt_clip_l": "",
"negative_conditioning_end": 0,
"triple_prompt_empty_padding": true
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{
"completed_at": "2024-06-18T12:36:28.778256Z",
"created_at": "2024-06-18T12:35:40.925000Z",
"data_removed": false,
"error": null,
"id": "4qnntmc8znrgj0cg5dc928wsk0",
"input": {
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 28,
"width": 2048,
"height": 2048,
"prompt": "a closeup portrait photo of a man",
"sampler": "dpmpp_2m",
"scheduler": "sgm_uniform",
"output_format": "webp",
"guidance_scale": 4.5,
"output_quality": 80,
"negative_prompt": "",
"number_of_images": 1,
"triple_prompt_t5": "",
"use_triple_prompt": false,
"triple_prompt_clip_g": "",
"triple_prompt_clip_l": "",
"negative_conditioning_end": 0,
"triple_prompt_empty_padding": true
},
"logs": "Random seed set to: 2477690887\nChecking weights\n✅ sd3_medium_incl_clips_t5xxlfp16.safetensors exists in ComfyUI/models/checkpoints\n====================================\nRunning workflow\ngot prompt\nExecuting node 6, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 275, title: Empty SD3 Latent Image, class type: EmptySD3LatentImage\nExecuting node 271, title: KSampler, class type: KSampler\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:04, 5.59it/s]\n 7%|▋ | 2/28 [00:02<00:41, 1.59s/it]\n 11%|█ | 3/28 [00:04<00:37, 1.49s/it]\n 14%|█▍ | 4/28 [00:05<00:34, 1.45s/it]\n 18%|█▊ | 5/28 [00:06<00:32, 1.43s/it]\n 21%|██▏ | 6/28 [00:08<00:31, 1.42s/it]\n 25%|██▌ | 7/28 [00:09<00:29, 1.41s/it]\n 29%|██▊ | 8/28 [00:11<00:28, 1.40s/it]\n 32%|███▏ | 9/28 [00:12<00:26, 1.40s/it]\n 36%|███▌ | 10/28 [00:13<00:25, 1.40s/it]\n 39%|███▉ | 11/28 [00:15<00:23, 1.39s/it]\n 43%|████▎ | 12/28 [00:16<00:22, 1.39s/it]\n 46%|████▋ | 13/28 [00:18<00:20, 1.39s/it]\n 50%|█████ | 14/28 [00:19<00:19, 1.39s/it]\n 54%|█████▎ | 15/28 [00:20<00:18, 1.39s/it]\n 57%|█████▋ | 16/28 [00:22<00:16, 1.39s/it]\n 61%|██████ | 17/28 [00:23<00:15, 1.39s/it]\n 64%|██████▍ | 18/28 [00:25<00:13, 1.39s/it]\n 68%|██████▊ | 19/28 [00:26<00:12, 1.39s/it]\n 71%|███████▏ | 20/28 [00:27<00:11, 1.39s/it]\n 75%|███████▌ | 21/28 [00:29<00:09, 1.39s/it]\n 79%|███████▊ | 22/28 [00:30<00:08, 1.39s/it]\n 82%|████████▏ | 23/28 [00:31<00:06, 1.39s/it]\n 86%|████████▌ | 24/28 [00:33<00:05, 1.39s/it]\n 89%|████████▉ | 25/28 [00:34<00:04, 1.40s/it]\n 93%|█████████▎| 26/28 [00:36<00:02, 1.40s/it]\n 96%|█████████▋| 27/28 [00:37<00:01, 1.40s/it]\n100%|██████████| 28/28 [00:38<00:00, 1.40s/it]\n100%|██████████| 28/28 [00:38<00:00, 1.39s/it]\nExecuting node 231, title: VAE Decode, class type: VAEDecode\nExecuting node 273, title: Save Image, class type: SaveImage\nPrompt executed in 41.09 seconds\noutputs: {'273': {'images': [{'filename': 'SD3_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nSD3_00001_.png",
"metrics": {
"predict_time": 42.508573635,
"total_time": 47.853256
},
"output": [
"https://replicate.delivery/pbxt/Mi52JBn3OL7BLlzvqIp0B6Sddr0UNXcZ0eBY7df9YsTMFzflA/SD3_00001_.webp"
],
"started_at": "2024-06-18T12:35:46.269682Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/4qnntmc8znrgj0cg5dc928wsk0",
"cancel": "https://api.replicate.com/v1/predictions/4qnntmc8znrgj0cg5dc928wsk0/cancel"
},
"version": "ba3320806125ae93991c899010c998e4ee6a9dc6bdd89aeb6ecbd992815650a9"
}
Generated in
Random seed set to: 2477690887
Checking weights
✅ sd3_medium_incl_clips_t5xxlfp16.safetensors exists in ComfyUI/models/checkpoints
====================================
Running workflow
got prompt
Executing node 6, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode
Executing node 275, title: Empty SD3 Latent Image, class type: EmptySD3LatentImage
Executing node 271, title: KSampler, class type: KSampler
0%| | 0/28 [00:00<?, ?it/s]
4%|▎ | 1/28 [00:00<00:04, 5.59it/s]
7%|▋ | 2/28 [00:02<00:41, 1.59s/it]
11%|█ | 3/28 [00:04<00:37, 1.49s/it]
14%|█▍ | 4/28 [00:05<00:34, 1.45s/it]
18%|█▊ | 5/28 [00:06<00:32, 1.43s/it]
21%|██▏ | 6/28 [00:08<00:31, 1.42s/it]
25%|██▌ | 7/28 [00:09<00:29, 1.41s/it]
29%|██▊ | 8/28 [00:11<00:28, 1.40s/it]
32%|███▏ | 9/28 [00:12<00:26, 1.40s/it]
36%|███▌ | 10/28 [00:13<00:25, 1.40s/it]
39%|███▉ | 11/28 [00:15<00:23, 1.39s/it]
43%|████▎ | 12/28 [00:16<00:22, 1.39s/it]
46%|████▋ | 13/28 [00:18<00:20, 1.39s/it]
50%|█████ | 14/28 [00:19<00:19, 1.39s/it]
54%|█████▎ | 15/28 [00:20<00:18, 1.39s/it]
57%|█████▋ | 16/28 [00:22<00:16, 1.39s/it]
61%|██████ | 17/28 [00:23<00:15, 1.39s/it]
64%|██████▍ | 18/28 [00:25<00:13, 1.39s/it]
68%|██████▊ | 19/28 [00:26<00:12, 1.39s/it]
71%|███████▏ | 20/28 [00:27<00:11, 1.39s/it]
75%|███████▌ | 21/28 [00:29<00:09, 1.39s/it]
79%|███████▊ | 22/28 [00:30<00:08, 1.39s/it]
82%|████████▏ | 23/28 [00:31<00:06, 1.39s/it]
86%|████████▌ | 24/28 [00:33<00:05, 1.39s/it]
89%|████████▉ | 25/28 [00:34<00:04, 1.40s/it]
93%|█████████▎| 26/28 [00:36<00:02, 1.40s/it]
96%|█████████▋| 27/28 [00:37<00:01, 1.40s/it]
100%|██████████| 28/28 [00:38<00:00, 1.40s/it]
100%|██████████| 28/28 [00:38<00:00, 1.39s/it]
Executing node 231, title: VAE Decode, class type: VAEDecode
Executing node 273, title: Save Image, class type: SaveImage
Prompt executed in 41.09 seconds
outputs: {'273': {'images': [{'filename': 'SD3_00001_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
SD3_00001_.png