You're looking at a specific version of this model. Jump to the model overview.
asiryan /triple-absolute-dreamshaper-meina:1db54417
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 asiryan/triple-absolute-dreamshaper-meina using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"asiryan/triple-absolute-dreamshaper-meina:1db54417c379181fe5f24df3e08bbbfcb7765b1bce7641fd8be58f0e1ea8feb8",
{
input: {
model: "AbsoluteRealityV181",
width: 512,
height: 728,
prompt: "close up Portrait photo of muscular bearded guy in a worn mech suit, ((light bokeh)), intricate, (steel metal [rust]), elegant, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
strength: 1,
scheduler: "Euler A Karras",
num_outputs: 1,
guidance_scale: 7.5,
negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye",
num_inference_steps: 20
}
}
);
// 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 asiryan/triple-absolute-dreamshaper-meina using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"asiryan/triple-absolute-dreamshaper-meina:1db54417c379181fe5f24df3e08bbbfcb7765b1bce7641fd8be58f0e1ea8feb8",
input={
"model": "AbsoluteRealityV181",
"width": 512,
"height": 728,
"prompt": "close up Portrait photo of muscular bearded guy in a worn mech suit, ((light bokeh)), intricate, (steel metal [rust]), elegant, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
"strength": 1,
"scheduler": "Euler A Karras",
"num_outputs": 1,
"guidance_scale": 7.5,
"negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye",
"num_inference_steps": 20
}
)
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 asiryan/triple-absolute-dreamshaper-meina 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": "asiryan/triple-absolute-dreamshaper-meina:1db54417c379181fe5f24df3e08bbbfcb7765b1bce7641fd8be58f0e1ea8feb8",
"input": {
"model": "AbsoluteRealityV181",
"width": 512,
"height": 728,
"prompt": "close up Portrait photo of muscular bearded guy in a worn mech suit, ((light bokeh)), intricate, (steel metal [rust]), elegant, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
"strength": 1,
"scheduler": "Euler A Karras",
"num_outputs": 1,
"guidance_scale": 7.5,
"negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye",
"num_inference_steps": 20
}
}' \
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/asiryan/triple-absolute-dreamshaper-meina@sha256:1db54417c379181fe5f24df3e08bbbfcb7765b1bce7641fd8be58f0e1ea8feb8 \
-i 'model="AbsoluteRealityV181"' \
-i 'width=512' \
-i 'height=728' \
-i 'prompt="close up Portrait photo of muscular bearded guy in a worn mech suit, ((light bokeh)), intricate, (steel metal [rust]), elegant, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face"' \
-i 'strength=1' \
-i 'scheduler="Euler A Karras"' \
-i 'num_outputs=1' \
-i 'guidance_scale=7.5' \
-i 'negative_prompt="disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \
-i 'num_inference_steps=20'
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/asiryan/triple-absolute-dreamshaper-meina@sha256:1db54417c379181fe5f24df3e08bbbfcb7765b1bce7641fd8be58f0e1ea8feb8
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "AbsoluteRealityV181", "width": 512, "height": 728, "prompt": "close up Portrait photo of muscular bearded guy in a worn mech suit, ((light bokeh)), intricate, (steel metal [rust]), elegant, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face", "strength": 1, "scheduler": "Euler A Karras", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 20 } }' \ 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.036. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-05-16T19:08:05.467513Z",
"created_at": "2024-05-16T19:06:04.304000Z",
"data_removed": false,
"error": null,
"id": "6xtxe0gpj1rgc0cfgb6bf6ckbg",
"input": {
"model": "AbsoluteRealityV181",
"width": 512,
"height": 728,
"prompt": "close up Portrait photo of muscular bearded guy in a worn mech suit, ((light bokeh)), intricate, (steel metal [rust]), elegant, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
"strength": 1,
"scheduler": "Euler A Karras",
"num_outputs": 1,
"guidance_scale": 7.5,
"negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye",
"num_inference_steps": 20
},
"logs": "Model: AbsoluteRealityV181\nMode: text2img\nScheduler: Euler A Karras\nSeed: 6238\nToken indices sequence length is longer than the specified maximum sequence length for this model (124 > 77). Running this sequence through the model will result in indexing errors\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:05, 3.31it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 7.69it/s]\n 20%|██ | 4/20 [00:00<00:01, 8.09it/s]\n 25%|██▌ | 5/20 [00:00<00:01, 8.37it/s]\n 30%|███ | 6/20 [00:00<00:01, 8.56it/s]\n 35%|███▌ | 7/20 [00:00<00:01, 8.68it/s]\n 40%|████ | 8/20 [00:00<00:01, 8.78it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 8.84it/s]\n 50%|█████ | 10/20 [00:01<00:01, 8.88it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 8.91it/s]\n 60%|██████ | 12/20 [00:01<00:00, 8.93it/s]\n 65%|██████▌ | 13/20 [00:01<00:00, 8.94it/s]\n 70%|███████ | 14/20 [00:01<00:00, 8.96it/s]\n 75%|███████▌ | 15/20 [00:01<00:00, 8.96it/s]\n 80%|████████ | 16/20 [00:01<00:00, 8.96it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 8.97it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 8.98it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 8.98it/s]\n100%|██████████| 20/20 [00:02<00:00, 8.98it/s]\n100%|██████████| 20/20 [00:02<00:00, 8.57it/s]",
"metrics": {
"predict_time": 3.141538,
"total_time": 121.163513
},
"output": [
"https://replicate.delivery/pbxt/fvWtsLelBXv9zUYcf7jPdVafEdMfVfHsx8XiraRSgWCeKXgaJA/out-0.png"
],
"started_at": "2024-05-16T19:08:02.325975Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/6xtxe0gpj1rgc0cfgb6bf6ckbg",
"cancel": "https://api.replicate.com/v1/predictions/6xtxe0gpj1rgc0cfgb6bf6ckbg/cancel"
},
"version": "1db54417c379181fe5f24df3e08bbbfcb7765b1bce7641fd8be58f0e1ea8feb8"
}
Model: AbsoluteRealityV181
Mode: text2img
Scheduler: Euler A Karras
Seed: 6238
Token indices sequence length is longer than the specified maximum sequence length for this model (124 > 77). Running this sequence through the model will result in indexing errors
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:05, 3.31it/s]
15%|█▌ | 3/20 [00:00<00:02, 7.69it/s]
20%|██ | 4/20 [00:00<00:01, 8.09it/s]
25%|██▌ | 5/20 [00:00<00:01, 8.37it/s]
30%|███ | 6/20 [00:00<00:01, 8.56it/s]
35%|███▌ | 7/20 [00:00<00:01, 8.68it/s]
40%|████ | 8/20 [00:00<00:01, 8.78it/s]
45%|████▌ | 9/20 [00:01<00:01, 8.84it/s]
50%|█████ | 10/20 [00:01<00:01, 8.88it/s]
55%|█████▌ | 11/20 [00:01<00:01, 8.91it/s]
60%|██████ | 12/20 [00:01<00:00, 8.93it/s]
65%|██████▌ | 13/20 [00:01<00:00, 8.94it/s]
70%|███████ | 14/20 [00:01<00:00, 8.96it/s]
75%|███████▌ | 15/20 [00:01<00:00, 8.96it/s]
80%|████████ | 16/20 [00:01<00:00, 8.96it/s]
85%|████████▌ | 17/20 [00:02<00:00, 8.97it/s]
90%|█████████ | 18/20 [00:02<00:00, 8.98it/s]
95%|█████████▌| 19/20 [00:02<00:00, 8.98it/s]
100%|██████████| 20/20 [00:02<00:00, 8.98it/s]
100%|██████████| 20/20 [00:02<00:00, 8.57it/s]