You're looking at a specific version of this model. Jump to the model overview.
daanelson /mixture-of-diffusers:ab293326
This version has been disabled because it consistently fails to complete setup.
Input
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 daanelson/mixture-of-diffusers using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"daanelson/mixture-of-diffusers:ab2933266787fa50a3b118a37dc3b11bcf0f4c0abb4eaf10f2deab6ed948470a",
{
input: {
seed: 639688656,
prompts: "a forest, ukiyo-e, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, by velazquez, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, impressionist style by van gogh, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, cubist style by Pablo Picasso intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, 80s synthwave style, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors",
x0_values: "0;256;512;768;1024",
x1_values: "512;768;1024;1280;1536",
y0_values: "0;0;0;0;0",
y1_values: "768;768;768;768;768",
canvas_width: 1536,
canvas_height: 768,
num_inference_steps: 50
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output);
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 daanelson/mixture-of-diffusers using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"daanelson/mixture-of-diffusers:ab2933266787fa50a3b118a37dc3b11bcf0f4c0abb4eaf10f2deab6ed948470a",
input={
"seed": 639688656,
"prompts": "a forest, ukiyo-e, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, by velazquez, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, impressionist style by van gogh, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, cubist style by Pablo Picasso intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, 80s synthwave style, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors",
"x0_values": "0;256;512;768;1024",
"x1_values": "512;768;1024;1280;1536",
"y0_values": "0;0;0;0;0",
"y1_values": "768;768;768;768;768",
"canvas_width": 1536,
"canvas_height": 768,
"num_inference_steps": 50
}
)
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 daanelson/mixture-of-diffusers 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": "ab2933266787fa50a3b118a37dc3b11bcf0f4c0abb4eaf10f2deab6ed948470a",
"input": {
"seed": 639688656,
"prompts": "a forest, ukiyo-e, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, by velazquez, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, impressionist style by van gogh, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, cubist style by Pablo Picasso intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, 80s synthwave style, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors",
"x0_values": "0;256;512;768;1024",
"x1_values": "512;768;1024;1280;1536",
"y0_values": "0;0;0;0;0",
"y1_values": "768;768;768;768;768",
"canvas_width": 1536,
"canvas_height": 768,
"num_inference_steps": 50
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/daanelson/mixture-of-diffusers@sha256:ab2933266787fa50a3b118a37dc3b11bcf0f4c0abb4eaf10f2deab6ed948470a \
-i 'seed=639688656' \
-i 'prompts="a forest, ukiyo-e, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, by velazquez, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, impressionist style by van gogh, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, cubist style by Pablo Picasso intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, 80s synthwave style, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors"' \
-i 'x0_values="0;256;512;768;1024"' \
-i 'x1_values="512;768;1024;1280;1536"' \
-i 'y0_values="0;0;0;0;0"' \
-i 'y1_values="768;768;768;768;768"' \
-i 'canvas_width=1536' \
-i 'canvas_height=768' \
-i 'num_inference_steps=50'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/daanelson/mixture-of-diffusers@sha256:ab2933266787fa50a3b118a37dc3b11bcf0f4c0abb4eaf10f2deab6ed948470a
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 639688656, "prompts": "a forest, ukiyo-e, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, by velazquez, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, impressionist style by van gogh, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, cubist style by Pablo Picasso intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, 80s synthwave style, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors", "x0_values": "0;256;512;768;1024", "x1_values": "512;768;1024;1280;1536", "y0_values": "0;0;0;0;0", "y1_values": "768;768;768;768;768", "canvas_width": 1536, "canvas_height": 768, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
Each run costs approximately $0.046. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2023-02-16T17:23:30.547512Z",
"created_at": "2023-02-16T17:22:39.887674Z",
"data_removed": false,
"error": null,
"id": "dufslsbkyjglpajki5ywrsehlq",
"input": {
"seed": 639688656,
"prompts": "a forest, ukiyo-e, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, by velazquez, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, impressionist style by van gogh, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, cubist style by Pablo Picasso intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors;a forest, 80s synthwave style, intricate, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece, impressive colors",
"x0_values": "0;256;512;768;1024",
"x1_values": "512;768;1024;1280;1536",
"y0_values": "0;0;0;0;0",
"y1_values": "768;768;768;768;768",
"canvas_width": 1536,
"canvas_height": 768,
"num_inference_steps": 50
},
"logs": "0it [00:00, ?it/s]\n1it [00:01, 1.00s/it]\n2it [00:01, 1.02it/s]\n3it [00:02, 1.02it/s]\n4it [00:03, 1.02it/s]\n5it [00:04, 1.02it/s]\n6it [00:05, 1.02it/s]\n7it [00:06, 1.02it/s]\n8it [00:07, 1.02it/s]\n9it [00:08, 1.02it/s]\n10it [00:09, 1.02it/s]\n11it [00:10, 1.02it/s]\n12it [00:11, 1.02it/s]\n13it [00:12, 1.02it/s]\n14it [00:13, 1.02it/s]\n15it [00:14, 1.02it/s]\n16it [00:15, 1.02it/s]\n17it [00:16, 1.02it/s]\n18it [00:17, 1.02it/s]\n19it [00:18, 1.02it/s]\n20it [00:19, 1.02it/s]\n21it [00:20, 1.02it/s]\n22it [00:21, 1.02it/s]\n23it [00:22, 1.02it/s]\n24it [00:23, 1.02it/s]\n25it [00:24, 1.02it/s]\n26it [00:25, 1.02it/s]\n27it [00:26, 1.02it/s]\n28it [00:27, 1.02it/s]\n29it [00:28, 1.02it/s]\n30it [00:29, 1.02it/s]\n31it [00:30, 1.02it/s]\n32it [00:31, 1.02it/s]\n33it [00:32, 1.02it/s]\n34it [00:33, 1.02it/s]\n35it [00:34, 1.02it/s]\n36it [00:35, 1.02it/s]\n37it [00:36, 1.02it/s]\n38it [00:37, 1.02it/s]\n39it [00:38, 1.02it/s]\n40it [00:39, 1.02it/s]\n41it [00:40, 1.02it/s]\n42it [00:41, 1.02it/s]\n43it [00:42, 1.02it/s]\n44it [00:43, 1.02it/s]\n45it [00:44, 1.02it/s]\n46it [00:45, 1.02it/s]\n47it [00:46, 1.02it/s]\n48it [00:47, 1.02it/s]\n49it [00:48, 1.02it/s]\n50it [00:49, 1.02it/s]\n50it [00:49, 1.02it/s]",
"metrics": {
"predict_time": 50.59424,
"total_time": 50.659838
},
"output": "https://replicate.delivery/pbxt/3X4nXRmoVOZ9CBOC8e6b3KADCfrPro4998kt9hMpF6bRiBfgA/output.png",
"started_at": "2023-02-16T17:22:39.953272Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/dufslsbkyjglpajki5ywrsehlq",
"cancel": "https://api.replicate.com/v1/predictions/dufslsbkyjglpajki5ywrsehlq/cancel"
},
"version": "ab2933266787fa50a3b118a37dc3b11bcf0f4c0abb4eaf10f2deab6ed948470a"
}
0it [00:00, ?it/s]
1it [00:01, 1.00s/it]
2it [00:01, 1.02it/s]
3it [00:02, 1.02it/s]
4it [00:03, 1.02it/s]
5it [00:04, 1.02it/s]
6it [00:05, 1.02it/s]
7it [00:06, 1.02it/s]
8it [00:07, 1.02it/s]
9it [00:08, 1.02it/s]
10it [00:09, 1.02it/s]
11it [00:10, 1.02it/s]
12it [00:11, 1.02it/s]
13it [00:12, 1.02it/s]
14it [00:13, 1.02it/s]
15it [00:14, 1.02it/s]
16it [00:15, 1.02it/s]
17it [00:16, 1.02it/s]
18it [00:17, 1.02it/s]
19it [00:18, 1.02it/s]
20it [00:19, 1.02it/s]
21it [00:20, 1.02it/s]
22it [00:21, 1.02it/s]
23it [00:22, 1.02it/s]
24it [00:23, 1.02it/s]
25it [00:24, 1.02it/s]
26it [00:25, 1.02it/s]
27it [00:26, 1.02it/s]
28it [00:27, 1.02it/s]
29it [00:28, 1.02it/s]
30it [00:29, 1.02it/s]
31it [00:30, 1.02it/s]
32it [00:31, 1.02it/s]
33it [00:32, 1.02it/s]
34it [00:33, 1.02it/s]
35it [00:34, 1.02it/s]
36it [00:35, 1.02it/s]
37it [00:36, 1.02it/s]
38it [00:37, 1.02it/s]
39it [00:38, 1.02it/s]
40it [00:39, 1.02it/s]
41it [00:40, 1.02it/s]
42it [00:41, 1.02it/s]
43it [00:42, 1.02it/s]
44it [00:43, 1.02it/s]
45it [00:44, 1.02it/s]
46it [00:45, 1.02it/s]
47it [00:46, 1.02it/s]
48it [00:47, 1.02it/s]
49it [00:48, 1.02it/s]
50it [00:49, 1.02it/s]
50it [00:49, 1.02it/s]