Readme
This model doesn't have a readme.
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";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run grassyguru/archslra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"grassyguru/archslra:c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3",
{
input: {
model: "dev",
prompt: "ARCHSLRA knight in armor sailing in boat",
go_fast: false,
lora_scale: 0.87,
megapixels: "1",
num_outputs: 1,
aspect_ratio: "16:9",
output_format: "webp",
guidance_scale: 3.5,
output_quality: 80,
prompt_strength: 0.8,
extra_lora_scale: 1,
num_inference_steps: 34
}
}
);
// 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 grassyguru/archslra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"grassyguru/archslra:c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3",
input={
"model": "dev",
"prompt": "ARCHSLRA knight in armor sailing in boat",
"go_fast": False,
"lora_scale": 0.87,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "16:9",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 34
}
)
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 grassyguru/archslra 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": "c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3",
"input": {
"model": "dev",
"prompt": "ARCHSLRA knight in armor sailing in boat",
"go_fast": false,
"lora_scale": 0.87,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "16:9",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 34
}
}' \
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": "2024-08-28T02:07:37.459291Z",
"created_at": "2024-08-28T02:07:14.815000Z",
"data_removed": false,
"error": null,
"id": "eehbj6dkfxrm60chjtybvv0n28",
"input": {
"model": "dev",
"prompt": "ARCHSLRA knight in armor sailing in boat",
"lora_scale": 0.87,
"num_outputs": 1,
"aspect_ratio": "16:9",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"extra_lora_scale": 1,
"num_inference_steps": 34
},
"logs": "Using seed: 65486\nPrompt: ARCHSLRA knight in armor sailing in boat\ntxt2img mode\nUsing dev model\nfree=9793144258560\nDownloading weights\n2024-08-28T02:07:14Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9ozgw91w/weights url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar\n2024-08-28T02:07:19Z | INFO | [ Complete ] dest=/tmp/tmp9ozgw91w/weights size=\"172 MB\" total_elapsed=4.719s url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar\nDownloaded weights in 4.75s\nLoaded LoRAs in 12.64s\n 0%| | 0/34 [00:00<?, ?it/s]\n 3%|▎ | 1/34 [00:00<00:09, 3.56it/s]\n 6%|▌ | 2/34 [00:00<00:07, 4.00it/s]\n 9%|▉ | 3/34 [00:00<00:08, 3.80it/s]\n 12%|█▏ | 4/34 [00:01<00:08, 3.70it/s]\n 15%|█▍ | 5/34 [00:01<00:07, 3.65it/s]\n 18%|█▊ | 6/34 [00:01<00:07, 3.62it/s]\n 21%|██ | 7/34 [00:01<00:07, 3.61it/s]\n 24%|██▎ | 8/34 [00:02<00:07, 3.60it/s]\n 26%|██▋ | 9/34 [00:02<00:06, 3.59it/s]\n 29%|██▉ | 10/34 [00:02<00:06, 3.59it/s]\n 32%|███▏ | 11/34 [00:03<00:06, 3.59it/s]\n 35%|███▌ | 12/34 [00:03<00:06, 3.58it/s]\n 38%|███▊ | 13/34 [00:03<00:05, 3.58it/s]\n 41%|████ | 14/34 [00:03<00:05, 3.58it/s]\n 44%|████▍ | 15/34 [00:04<00:05, 3.58it/s]\n 47%|████▋ | 16/34 [00:04<00:05, 3.58it/s]\n 50%|█████ | 17/34 [00:04<00:04, 3.57it/s]\n 53%|█████▎ | 18/34 [00:04<00:04, 3.58it/s]\n 56%|█████▌ | 19/34 [00:05<00:04, 3.58it/s]\n 59%|█████▉ | 20/34 [00:05<00:03, 3.57it/s]\n 62%|██████▏ | 21/34 [00:05<00:03, 3.57it/s]\n 65%|██████▍ | 22/34 [00:06<00:03, 3.58it/s]\n 68%|██████▊ | 23/34 [00:06<00:03, 3.58it/s]\n 71%|███████ | 24/34 [00:06<00:02, 3.58it/s]\n 74%|███████▎ | 25/34 [00:06<00:02, 3.57it/s]\n 76%|███████▋ | 26/34 [00:07<00:02, 3.58it/s]\n 79%|███████▉ | 27/34 [00:07<00:01, 3.58it/s]\n 82%|████████▏ | 28/34 [00:07<00:01, 3.57it/s]\n 85%|████████▌ | 29/34 [00:08<00:01, 3.57it/s]\n 88%|████████▊ | 30/34 [00:08<00:01, 3.57it/s]\n 91%|█████████ | 31/34 [00:08<00:00, 3.58it/s]\n 94%|█████████▍| 32/34 [00:08<00:00, 3.58it/s]\n 97%|█████████▋| 33/34 [00:09<00:00, 3.57it/s]\n100%|██████████| 34/34 [00:09<00:00, 3.58it/s]\n100%|██████████| 34/34 [00:09<00:00, 3.59it/s]",
"metrics": {
"predict_time": 22.635936269,
"total_time": 22.644291
},
"output": [
"https://replicate.delivery/yhqm/aTNvbsfLNr13ekGL4HdgQ4gY01ATeQAqAeVfvVfz4DAda4w1E/out-0.webp"
],
"started_at": "2024-08-28T02:07:14.823355Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/eehbj6dkfxrm60chjtybvv0n28",
"cancel": "https://api.replicate.com/v1/predictions/eehbj6dkfxrm60chjtybvv0n28/cancel"
},
"version": "c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3"
}
Using seed: 65486
Prompt: ARCHSLRA knight in armor sailing in boat
txt2img mode
Using dev model
free=9793144258560
Downloading weights
2024-08-28T02:07:14Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9ozgw91w/weights url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar
2024-08-28T02:07:19Z | INFO | [ Complete ] dest=/tmp/tmp9ozgw91w/weights size="172 MB" total_elapsed=4.719s url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar
Downloaded weights in 4.75s
Loaded LoRAs in 12.64s
0%| | 0/34 [00:00<?, ?it/s]
3%|▎ | 1/34 [00:00<00:09, 3.56it/s]
6%|▌ | 2/34 [00:00<00:07, 4.00it/s]
9%|▉ | 3/34 [00:00<00:08, 3.80it/s]
12%|█▏ | 4/34 [00:01<00:08, 3.70it/s]
15%|█▍ | 5/34 [00:01<00:07, 3.65it/s]
18%|█▊ | 6/34 [00:01<00:07, 3.62it/s]
21%|██ | 7/34 [00:01<00:07, 3.61it/s]
24%|██▎ | 8/34 [00:02<00:07, 3.60it/s]
26%|██▋ | 9/34 [00:02<00:06, 3.59it/s]
29%|██▉ | 10/34 [00:02<00:06, 3.59it/s]
32%|███▏ | 11/34 [00:03<00:06, 3.59it/s]
35%|███▌ | 12/34 [00:03<00:06, 3.58it/s]
38%|███▊ | 13/34 [00:03<00:05, 3.58it/s]
41%|████ | 14/34 [00:03<00:05, 3.58it/s]
44%|████▍ | 15/34 [00:04<00:05, 3.58it/s]
47%|████▋ | 16/34 [00:04<00:05, 3.58it/s]
50%|█████ | 17/34 [00:04<00:04, 3.57it/s]
53%|█████▎ | 18/34 [00:04<00:04, 3.58it/s]
56%|█████▌ | 19/34 [00:05<00:04, 3.58it/s]
59%|█████▉ | 20/34 [00:05<00:03, 3.57it/s]
62%|██████▏ | 21/34 [00:05<00:03, 3.57it/s]
65%|██████▍ | 22/34 [00:06<00:03, 3.58it/s]
68%|██████▊ | 23/34 [00:06<00:03, 3.58it/s]
71%|███████ | 24/34 [00:06<00:02, 3.58it/s]
74%|███████▎ | 25/34 [00:06<00:02, 3.57it/s]
76%|███████▋ | 26/34 [00:07<00:02, 3.58it/s]
79%|███████▉ | 27/34 [00:07<00:01, 3.58it/s]
82%|████████▏ | 28/34 [00:07<00:01, 3.57it/s]
85%|████████▌ | 29/34 [00:08<00:01, 3.57it/s]
88%|████████▊ | 30/34 [00:08<00:01, 3.57it/s]
91%|█████████ | 31/34 [00:08<00:00, 3.58it/s]
94%|█████████▍| 32/34 [00:08<00:00, 3.58it/s]
97%|█████████▋| 33/34 [00:09<00:00, 3.57it/s]
100%|██████████| 34/34 [00:09<00:00, 3.58it/s]
100%|██████████| 34/34 [00:09<00:00, 3.59it/s]
This model runs on Nvidia H100 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is warm. 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.
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: 65486
Prompt: ARCHSLRA knight in armor sailing in boat
txt2img mode
Using dev model
free=9793144258560
Downloading weights
2024-08-28T02:07:14Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9ozgw91w/weights url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar
2024-08-28T02:07:19Z | INFO | [ Complete ] dest=/tmp/tmp9ozgw91w/weights size="172 MB" total_elapsed=4.719s url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar
Downloaded weights in 4.75s
Loaded LoRAs in 12.64s
0%| | 0/34 [00:00<?, ?it/s]
3%|▎ | 1/34 [00:00<00:09, 3.56it/s]
6%|▌ | 2/34 [00:00<00:07, 4.00it/s]
9%|▉ | 3/34 [00:00<00:08, 3.80it/s]
12%|█▏ | 4/34 [00:01<00:08, 3.70it/s]
15%|█▍ | 5/34 [00:01<00:07, 3.65it/s]
18%|█▊ | 6/34 [00:01<00:07, 3.62it/s]
21%|██ | 7/34 [00:01<00:07, 3.61it/s]
24%|██▎ | 8/34 [00:02<00:07, 3.60it/s]
26%|██▋ | 9/34 [00:02<00:06, 3.59it/s]
29%|██▉ | 10/34 [00:02<00:06, 3.59it/s]
32%|███▏ | 11/34 [00:03<00:06, 3.59it/s]
35%|███▌ | 12/34 [00:03<00:06, 3.58it/s]
38%|███▊ | 13/34 [00:03<00:05, 3.58it/s]
41%|████ | 14/34 [00:03<00:05, 3.58it/s]
44%|████▍ | 15/34 [00:04<00:05, 3.58it/s]
47%|████▋ | 16/34 [00:04<00:05, 3.58it/s]
50%|█████ | 17/34 [00:04<00:04, 3.57it/s]
53%|█████▎ | 18/34 [00:04<00:04, 3.58it/s]
56%|█████▌ | 19/34 [00:05<00:04, 3.58it/s]
59%|█████▉ | 20/34 [00:05<00:03, 3.57it/s]
62%|██████▏ | 21/34 [00:05<00:03, 3.57it/s]
65%|██████▍ | 22/34 [00:06<00:03, 3.58it/s]
68%|██████▊ | 23/34 [00:06<00:03, 3.58it/s]
71%|███████ | 24/34 [00:06<00:02, 3.58it/s]
74%|███████▎ | 25/34 [00:06<00:02, 3.57it/s]
76%|███████▋ | 26/34 [00:07<00:02, 3.58it/s]
79%|███████▉ | 27/34 [00:07<00:01, 3.58it/s]
82%|████████▏ | 28/34 [00:07<00:01, 3.57it/s]
85%|████████▌ | 29/34 [00:08<00:01, 3.57it/s]
88%|████████▊ | 30/34 [00:08<00:01, 3.57it/s]
91%|█████████ | 31/34 [00:08<00:00, 3.58it/s]
94%|█████████▍| 32/34 [00:08<00:00, 3.58it/s]
97%|█████████▋| 33/34 [00:09<00:00, 3.57it/s]
100%|██████████| 34/34 [00:09<00:00, 3.58it/s]
100%|██████████| 34/34 [00:09<00:00, 3.59it/s]