Prediction
fofr/sd3-explorer:ba332080ID
c92xbp36p9rgp0cg5df9py1cm0
Status
Succeeded
Source
Web
Hardware
A40 (Large)
Total duration
Created
by @fofr
Input
- seed
- 20
- model
- sd3_medium_incl_clips_t5xxlfp16.safetensors
- shift
- 3
- steps
- 10
- width
- 1024
- height
- 1024
- prompt
- a closeup photo of a man standing in a forest
- 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
{
"seed": 20,
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 10,
"width": 1024,
"height": 1024,
"prompt": "a closeup photo of a man standing in a forest",
"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
}
Install Replicate’s Node.js client library:
npm install replicate
Set the
REPLICATE_API_TOKEN
environment variable:export 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: {
seed: 20,
model: "sd3_medium_incl_clips_t5xxlfp16.safetensors",
shift: 3,
steps: 10,
width: 1024,
height: 1024,
prompt: "a closeup photo of a man standing in a forest",
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.
Install Replicate’s Python client library:
pip install replicate
Set the
REPLICATE_API_TOKEN
environment variable:export 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={
"seed": 20,
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 10,
"width": 1024,
"height": 1024,
"prompt": "a closeup photo of a man standing in a forest",
"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 variable:export 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": {
"seed": 20,
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 10,
"width": 1024,
"height": 1024,
"prompt": "a closeup photo of a man standing in a forest",
"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:42:12.384877Z",
"created_at": "2024-06-18T12:42:05.362000Z",
"data_removed": false,
"error": null,
"id": "c92xbp36p9rgp0cg5df9py1cm0",
"input": {
"seed": 20,
"model": "sd3_medium_incl_clips_t5xxlfp16.safetensors",
"shift": 3,
"steps": 10,
"width": 1024,
"height": 1024,
"prompt": "a closeup photo of a man standing in a forest",
"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": "Seed set to: 20\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 289, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 274, title: 🔧 SD3 Negative Conditioning, class type: SD3NegativeConditioning+\nExecuting node 275, title: Empty SD3 Latent Image, class type: EmptySD3LatentImage\nExecuting node 271, title: KSampler, class type: KSampler\n 0%| | 0/10 [00:00<?, ?it/s]\n 20%|██ | 2/10 [00:00<00:01, 4.24it/s]\n 30%|███ | 3/10 [00:00<00:01, 4.23it/s]\n 40%|████ | 4/10 [00:00<00:01, 4.21it/s]\n 50%|█████ | 5/10 [00:01<00:01, 4.20it/s]\n 60%|██████ | 6/10 [00:01<00:00, 4.21it/s]\n 70%|███████ | 7/10 [00:01<00:00, 4.20it/s]\n 80%|████████ | 8/10 [00:01<00:00, 4.19it/s]\n 90%|█████████ | 9/10 [00:02<00:00, 4.19it/s]\n100%|██████████| 10/10 [00:02<00:00, 4.19it/s]\n100%|██████████| 10/10 [00:02<00:00, 4.20it/s]\nExecuting node 231, title: VAE Decode, class type: VAEDecode\nExecuting node 273, title: Save Image, class type: SaveImage\nPrompt executed in 3.22 seconds\noutputs: {'273': {'images': [{'filename': 'SD3_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nSD3_00001_.png",
"metrics": {
"predict_time": 3.814794484,
"total_time": 7.022877
},
"output": [
"https://replicate.delivery/pbxt/tMU6efkhzKu4JURm2v8sqJfO48sHu39mhZyjZ3uvv4yIVmfLB/SD3_00001_.webp"
],
"started_at": "2024-06-18T12:42:08.570082Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/c92xbp36p9rgp0cg5df9py1cm0",
"cancel": "https://api.replicate.com/v1/predictions/c92xbp36p9rgp0cg5df9py1cm0/cancel"
},
"version": "ba3320806125ae93991c899010c998e4ee6a9dc6bdd89aeb6ecbd992815650a9"
}
Generated in
Seed set to: 20
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 289, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode
Executing node 274, title: 🔧 SD3 Negative Conditioning, class type: SD3NegativeConditioning+
Executing node 275, title: Empty SD3 Latent Image, class type: EmptySD3LatentImage
Executing node 271, title: KSampler, class type: KSampler
0%| | 0/10 [00:00<?, ?it/s]
20%|██ | 2/10 [00:00<00:01, 4.24it/s]
30%|███ | 3/10 [00:00<00:01, 4.23it/s]
40%|████ | 4/10 [00:00<00:01, 4.21it/s]
50%|█████ | 5/10 [00:01<00:01, 4.20it/s]
60%|██████ | 6/10 [00:01<00:00, 4.21it/s]
70%|███████ | 7/10 [00:01<00:00, 4.20it/s]
80%|████████ | 8/10 [00:01<00:00, 4.19it/s]
90%|█████████ | 9/10 [00:02<00:00, 4.19it/s]
100%|██████████| 10/10 [00:02<00:00, 4.19it/s]
100%|██████████| 10/10 [00:02<00:00, 4.20it/s]
Executing node 231, title: VAE Decode, class type: VAEDecode
Executing node 273, title: Save Image, class type: SaveImage
Prompt executed in 3.22 seconds
outputs: {'273': {'images': [{'filename': 'SD3_00001_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
SD3_00001_.png