Readme
This model doesn't have a readme.
Better than SDXL at both prompt adherence and image quality, by dataautogpt3
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run fermatresearch/open-dalle-1.1-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"fermatresearch/open-dalle-1.1-lora:2ade2cbfc88298b98366a6e361559e11666c17ed415d341c9ae776b30a61b196",
{
input: {
seed: 54321,
width: 1024,
height: 1024,
prompt: "shot in the style of sksfer, close up of a young woman in alaska, beautiful white hair, with a wolf necklace with a green gem in it, extreme detail and texture, professional photography",
refine: "no_refiner",
scheduler: "K_EULER",
lora_scale: 0.65,
num_outputs: 1,
lora_weights: "https://replicate.delivery/pbxt/hM1H6f93HCVYQq471gZz6EYtRHPMJYAsyxeQXdGnozeDJKOkA/trained_model.tar",
guidance_scale: 7.5,
apply_watermark: false,
high_noise_frac: 0.8,
negative_prompt: "ugly, bad quality, nsfw",
prompt_strength: 0.8,
num_inference_steps: 35
}
}
);
// 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.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run fermatresearch/open-dalle-1.1-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"fermatresearch/open-dalle-1.1-lora:2ade2cbfc88298b98366a6e361559e11666c17ed415d341c9ae776b30a61b196",
input={
"seed": 54321,
"width": 1024,
"height": 1024,
"prompt": "shot in the style of sksfer, close up of a young woman in alaska, beautiful white hair, with a wolf necklace with a green gem in it, extreme detail and texture, professional photography",
"refine": "no_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.65,
"num_outputs": 1,
"lora_weights": "https://replicate.delivery/pbxt/hM1H6f93HCVYQq471gZz6EYtRHPMJYAsyxeQXdGnozeDJKOkA/trained_model.tar",
"guidance_scale": 7.5,
"apply_watermark": False,
"high_noise_frac": 0.8,
"negative_prompt": "ugly, bad quality, nsfw",
"prompt_strength": 0.8,
"num_inference_steps": 35
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run fermatresearch/open-dalle-1.1-lora 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": "fermatresearch/open-dalle-1.1-lora:2ade2cbfc88298b98366a6e361559e11666c17ed415d341c9ae776b30a61b196",
"input": {
"seed": 54321,
"width": 1024,
"height": 1024,
"prompt": "shot in the style of sksfer, close up of a young woman in alaska, beautiful white hair, with a wolf necklace with a green gem in it, extreme detail and texture, professional photography",
"refine": "no_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.65,
"num_outputs": 1,
"lora_weights": "https://replicate.delivery/pbxt/hM1H6f93HCVYQq471gZz6EYtRHPMJYAsyxeQXdGnozeDJKOkA/trained_model.tar",
"guidance_scale": 7.5,
"apply_watermark": false,
"high_noise_frac": 0.8,
"negative_prompt": "ugly, bad quality, nsfw",
"prompt_strength": 0.8,
"num_inference_steps": 35
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
{
"completed_at": "2023-12-29T16:50:46.416955Z",
"created_at": "2023-12-29T16:50:33.073425Z",
"data_removed": false,
"error": null,
"id": "u5kh73dbqtr4nezjiga4rdw7ri",
"input": {
"seed": 54321,
"width": 1024,
"height": 1024,
"prompt": "shot in the style of sksfer, close up of a young woman in alaska, beautiful white hair, with a wolf necklace with a green gem in it, extreme detail and texture, professional photography",
"refine": "no_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.65,
"num_outputs": 1,
"lora_weights": "https://replicate.delivery/pbxt/hM1H6f93HCVYQq471gZz6EYtRHPMJYAsyxeQXdGnozeDJKOkA/trained_model.tar",
"guidance_scale": 7.5,
"apply_watermark": false,
"high_noise_frac": 0.8,
"negative_prompt": "ugly, bad quality, nsfw",
"prompt_strength": 0.8,
"num_inference_steps": 35
},
"logs": "Using seed: 54321\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nPrompt: shot in the style of <s0><s1>, close up of a young woman in alaska, beautiful white hair, with a wolf necklace with a green gem in it, extreme detail and texture, professional photography\ntxt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:09, 3.67it/s]\n 6%|▌ | 2/35 [00:00<00:09, 3.66it/s]\n 9%|▊ | 3/35 [00:00<00:08, 3.65it/s]\n 11%|█▏ | 4/35 [00:01<00:08, 3.65it/s]\n 14%|█▍ | 5/35 [00:01<00:08, 3.64it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 3.63it/s]\n 20%|██ | 7/35 [00:01<00:07, 3.63it/s]\n 23%|██▎ | 8/35 [00:02<00:07, 3.63it/s]\n 26%|██▌ | 9/35 [00:02<00:07, 3.63it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 3.63it/s]\n 31%|███▏ | 11/35 [00:03<00:06, 3.63it/s]\n 34%|███▍ | 12/35 [00:03<00:06, 3.63it/s]\n 37%|███▋ | 13/35 [00:03<00:06, 3.63it/s]\n 40%|████ | 14/35 [00:03<00:05, 3.63it/s]\n 43%|████▎ | 15/35 [00:04<00:05, 3.63it/s]\n 46%|████▌ | 16/35 [00:04<00:05, 3.62it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 3.62it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 3.62it/s]\n 54%|█████▍ | 19/35 [00:05<00:04, 3.62it/s]\n 57%|█████▋ | 20/35 [00:05<00:04, 3.62it/s]\n 60%|██████ | 21/35 [00:05<00:03, 3.62it/s]\n 63%|██████▎ | 22/35 [00:06<00:03, 3.62it/s]\n 66%|██████▌ | 23/35 [00:06<00:03, 3.62it/s]\n 69%|██████▊ | 24/35 [00:06<00:03, 3.62it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 3.62it/s]\n 74%|███████▍ | 26/35 [00:07<00:02, 3.62it/s]\n 77%|███████▋ | 27/35 [00:07<00:02, 3.62it/s]\n 80%|████████ | 28/35 [00:07<00:01, 3.62it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 3.62it/s]\n 86%|████████▌ | 30/35 [00:08<00:01, 3.62it/s]\n 89%|████████▊ | 31/35 [00:08<00:01, 3.62it/s]\n 91%|█████████▏| 32/35 [00:08<00:00, 3.62it/s]\n 94%|█████████▍| 33/35 [00:09<00:00, 3.62it/s]\n 97%|█████████▋| 34/35 [00:09<00:00, 3.62it/s]\n100%|██████████| 35/35 [00:09<00:00, 3.62it/s]\n100%|██████████| 35/35 [00:09<00:00, 3.62it/s]",
"metrics": {
"predict_time": 13.305826,
"total_time": 13.34353
},
"output": [
"https://replicate.delivery/pbxt/yh0AaQWOrfS1Ua9oGIXeu6JfmSSB07xwfMkkaq374aWXuqcIB/out-0.png"
],
"started_at": "2023-12-29T16:50:33.111129Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/u5kh73dbqtr4nezjiga4rdw7ri",
"cancel": "https://api.replicate.com/v1/predictions/u5kh73dbqtr4nezjiga4rdw7ri/cancel"
},
"version": "2ade2cbfc88298b98366a6e361559e11666c17ed415d341c9ae776b30a61b196"
}
Using seed: 54321
Loading fine-tuned model
Does not have Unet. assume we are using LoRA
Loading Unet LoRA
Prompt: shot in the style of <s0><s1>, close up of a young woman in alaska, beautiful white hair, with a wolf necklace with a green gem in it, extreme detail and texture, professional photography
txt2img mode
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:09, 3.67it/s]
6%|▌ | 2/35 [00:00<00:09, 3.66it/s]
9%|▊ | 3/35 [00:00<00:08, 3.65it/s]
11%|█▏ | 4/35 [00:01<00:08, 3.65it/s]
14%|█▍ | 5/35 [00:01<00:08, 3.64it/s]
17%|█▋ | 6/35 [00:01<00:07, 3.63it/s]
20%|██ | 7/35 [00:01<00:07, 3.63it/s]
23%|██▎ | 8/35 [00:02<00:07, 3.63it/s]
26%|██▌ | 9/35 [00:02<00:07, 3.63it/s]
29%|██▊ | 10/35 [00:02<00:06, 3.63it/s]
31%|███▏ | 11/35 [00:03<00:06, 3.63it/s]
34%|███▍ | 12/35 [00:03<00:06, 3.63it/s]
37%|███▋ | 13/35 [00:03<00:06, 3.63it/s]
40%|████ | 14/35 [00:03<00:05, 3.63it/s]
43%|████▎ | 15/35 [00:04<00:05, 3.63it/s]
46%|████▌ | 16/35 [00:04<00:05, 3.62it/s]
49%|████▊ | 17/35 [00:04<00:04, 3.62it/s]
51%|█████▏ | 18/35 [00:04<00:04, 3.62it/s]
54%|█████▍ | 19/35 [00:05<00:04, 3.62it/s]
57%|█████▋ | 20/35 [00:05<00:04, 3.62it/s]
60%|██████ | 21/35 [00:05<00:03, 3.62it/s]
63%|██████▎ | 22/35 [00:06<00:03, 3.62it/s]
66%|██████▌ | 23/35 [00:06<00:03, 3.62it/s]
69%|██████▊ | 24/35 [00:06<00:03, 3.62it/s]
71%|███████▏ | 25/35 [00:06<00:02, 3.62it/s]
74%|███████▍ | 26/35 [00:07<00:02, 3.62it/s]
77%|███████▋ | 27/35 [00:07<00:02, 3.62it/s]
80%|████████ | 28/35 [00:07<00:01, 3.62it/s]
83%|████████▎ | 29/35 [00:07<00:01, 3.62it/s]
86%|████████▌ | 30/35 [00:08<00:01, 3.62it/s]
89%|████████▊ | 31/35 [00:08<00:01, 3.62it/s]
91%|█████████▏| 32/35 [00:08<00:00, 3.62it/s]
94%|█████████▍| 33/35 [00:09<00:00, 3.62it/s]
97%|█████████▋| 34/35 [00:09<00:00, 3.62it/s]
100%|██████████| 35/35 [00:09<00:00, 3.62it/s]
100%|██████████| 35/35 [00:09<00:00, 3.62it/s]
This model costs approximately $0.0044 to run on Replicate, or 227 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 5 seconds.
This model doesn't have a readme.
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
This model costs approximately $0.0044 to run on Replicate, but this varies depending on your inputs. View more.
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Using seed: 54321
Loading fine-tuned model
Does not have Unet. assume we are using LoRA
Loading Unet LoRA
Prompt: shot in the style of <s0><s1>, close up of a young woman in alaska, beautiful white hair, with a wolf necklace with a green gem in it, extreme detail and texture, professional photography
txt2img mode
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:09, 3.67it/s]
6%|▌ | 2/35 [00:00<00:09, 3.66it/s]
9%|▊ | 3/35 [00:00<00:08, 3.65it/s]
11%|█▏ | 4/35 [00:01<00:08, 3.65it/s]
14%|█▍ | 5/35 [00:01<00:08, 3.64it/s]
17%|█▋ | 6/35 [00:01<00:07, 3.63it/s]
20%|██ | 7/35 [00:01<00:07, 3.63it/s]
23%|██▎ | 8/35 [00:02<00:07, 3.63it/s]
26%|██▌ | 9/35 [00:02<00:07, 3.63it/s]
29%|██▊ | 10/35 [00:02<00:06, 3.63it/s]
31%|███▏ | 11/35 [00:03<00:06, 3.63it/s]
34%|███▍ | 12/35 [00:03<00:06, 3.63it/s]
37%|███▋ | 13/35 [00:03<00:06, 3.63it/s]
40%|████ | 14/35 [00:03<00:05, 3.63it/s]
43%|████▎ | 15/35 [00:04<00:05, 3.63it/s]
46%|████▌ | 16/35 [00:04<00:05, 3.62it/s]
49%|████▊ | 17/35 [00:04<00:04, 3.62it/s]
51%|█████▏ | 18/35 [00:04<00:04, 3.62it/s]
54%|█████▍ | 19/35 [00:05<00:04, 3.62it/s]
57%|█████▋ | 20/35 [00:05<00:04, 3.62it/s]
60%|██████ | 21/35 [00:05<00:03, 3.62it/s]
63%|██████▎ | 22/35 [00:06<00:03, 3.62it/s]
66%|██████▌ | 23/35 [00:06<00:03, 3.62it/s]
69%|██████▊ | 24/35 [00:06<00:03, 3.62it/s]
71%|███████▏ | 25/35 [00:06<00:02, 3.62it/s]
74%|███████▍ | 26/35 [00:07<00:02, 3.62it/s]
77%|███████▋ | 27/35 [00:07<00:02, 3.62it/s]
80%|████████ | 28/35 [00:07<00:01, 3.62it/s]
83%|████████▎ | 29/35 [00:07<00:01, 3.62it/s]
86%|████████▌ | 30/35 [00:08<00:01, 3.62it/s]
89%|████████▊ | 31/35 [00:08<00:01, 3.62it/s]
91%|█████████▏| 32/35 [00:08<00:00, 3.62it/s]
94%|█████████▍| 33/35 [00:09<00:00, 3.62it/s]
97%|█████████▋| 34/35 [00:09<00:00, 3.62it/s]
100%|██████████| 35/35 [00:09<00:00, 3.62it/s]
100%|██████████| 35/35 [00:09<00:00, 3.62it/s]