Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
pagebrain /absolutereality-v1-8-1:e4fcfb44
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 pagebrain/absolutereality-v1-8-1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"pagebrain/absolutereality-v1-8-1:e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824c",
{
input: {
seed: 2760683419,
width: 576,
height: 1024,
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",
scheduler: "K_EULER_ANCESTRAL",
num_outputs: 1,
guidance_scale: 4.5,
negative_prompt: "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn",
prompt_strength: 0.8,
num_inference_steps: 25
}
}
);
// 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 pagebrain/absolutereality-v1-8-1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"pagebrain/absolutereality-v1-8-1:e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824c",
input={
"seed": 2760683419,
"width": 576,
"height": 1024,
"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",
"scheduler": "K_EULER_ANCESTRAL",
"num_outputs": 1,
"guidance_scale": 4.5,
"negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn",
"prompt_strength": 0.8,
"num_inference_steps": 25
}
)
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 pagebrain/absolutereality-v1-8-1 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": "pagebrain/absolutereality-v1-8-1:e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824c",
"input": {
"seed": 2760683419,
"width": 576,
"height": 1024,
"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",
"scheduler": "K_EULER_ANCESTRAL",
"num_outputs": 1,
"guidance_scale": 4.5,
"negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn",
"prompt_strength": 0.8,
"num_inference_steps": 25
}
}' \
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
Output
{
"completed_at": "2023-09-07T07:23:30.930520Z",
"created_at": "2023-09-07T07:23:13.172786Z",
"data_removed": false,
"error": null,
"id": "g7qc3nrbtepcm6dngx5xlhj5ta",
"input": {
"seed": 2760683419,
"width": "576",
"height": "1024",
"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",
"scheduler": "K_EULER_ANCESTRAL",
"num_outputs": 1,
"guidance_scale": 4.5,
"negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn",
"prompt_strength": 0.8,
"num_inference_steps": 25
},
"logs": "Using seed: 2760683419\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:15, 1.52it/s]\n 8%|▊ | 2/25 [00:01<00:14, 1.56it/s]\n 12%|█▏ | 3/25 [00:01<00:13, 1.59it/s]\n 16%|█▌ | 4/25 [00:02<00:13, 1.59it/s]\n 20%|██ | 5/25 [00:03<00:12, 1.59it/s]\n 24%|██▍ | 6/25 [00:03<00:11, 1.59it/s]\n 28%|██▊ | 7/25 [00:04<00:11, 1.59it/s]\n 32%|███▏ | 8/25 [00:05<00:10, 1.59it/s]\n 36%|███▌ | 9/25 [00:05<00:10, 1.58it/s]\n 40%|████ | 10/25 [00:06<00:09, 1.58it/s]\n 44%|████▍ | 11/25 [00:06<00:08, 1.57it/s]\n 48%|████▊ | 12/25 [00:07<00:08, 1.57it/s]\n 52%|█████▏ | 13/25 [00:08<00:07, 1.57it/s]\n 56%|█████▌ | 14/25 [00:08<00:07, 1.56it/s]\n 60%|██████ | 15/25 [00:09<00:06, 1.56it/s]\n 64%|██████▍ | 16/25 [00:10<00:05, 1.56it/s]\n 68%|██████▊ | 17/25 [00:10<00:05, 1.55it/s]\n 72%|███████▏ | 18/25 [00:11<00:04, 1.55it/s]\n 76%|███████▌ | 19/25 [00:12<00:03, 1.55it/s]\n 80%|████████ | 20/25 [00:12<00:03, 1.54it/s]\n 84%|████████▍ | 21/25 [00:13<00:02, 1.54it/s]\n 88%|████████▊ | 22/25 [00:14<00:01, 1.54it/s]\n 92%|█████████▏| 23/25 [00:14<00:01, 1.53it/s]\n 96%|█████████▌| 24/25 [00:15<00:00, 1.53it/s]\n100%|██████████| 25/25 [00:16<00:00, 1.52it/s]\n100%|██████████| 25/25 [00:16<00:00, 1.56it/s]",
"metrics": {
"predict_time": 17.79057,
"total_time": 17.757734
},
"output": [
"https://replicate.delivery/pbxt/tOiiTJ7GweVMEK4w1NJ1dBfcNvrB80QlRbQUv8S68f2ljlDjA/out-0.png"
],
"started_at": "2023-09-07T07:23:13.139950Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/g7qc3nrbtepcm6dngx5xlhj5ta",
"cancel": "https://api.replicate.com/v1/predictions/g7qc3nrbtepcm6dngx5xlhj5ta/cancel"
},
"version": "e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824c"
}
Using seed: 2760683419
0%| | 0/25 [00:00<?, ?it/s]
4%|▍ | 1/25 [00:00<00:15, 1.52it/s]
8%|▊ | 2/25 [00:01<00:14, 1.56it/s]
12%|█▏ | 3/25 [00:01<00:13, 1.59it/s]
16%|█▌ | 4/25 [00:02<00:13, 1.59it/s]
20%|██ | 5/25 [00:03<00:12, 1.59it/s]
24%|██▍ | 6/25 [00:03<00:11, 1.59it/s]
28%|██▊ | 7/25 [00:04<00:11, 1.59it/s]
32%|███▏ | 8/25 [00:05<00:10, 1.59it/s]
36%|███▌ | 9/25 [00:05<00:10, 1.58it/s]
40%|████ | 10/25 [00:06<00:09, 1.58it/s]
44%|████▍ | 11/25 [00:06<00:08, 1.57it/s]
48%|████▊ | 12/25 [00:07<00:08, 1.57it/s]
52%|█████▏ | 13/25 [00:08<00:07, 1.57it/s]
56%|█████▌ | 14/25 [00:08<00:07, 1.56it/s]
60%|██████ | 15/25 [00:09<00:06, 1.56it/s]
64%|██████▍ | 16/25 [00:10<00:05, 1.56it/s]
68%|██████▊ | 17/25 [00:10<00:05, 1.55it/s]
72%|███████▏ | 18/25 [00:11<00:04, 1.55it/s]
76%|███████▌ | 19/25 [00:12<00:03, 1.55it/s]
80%|████████ | 20/25 [00:12<00:03, 1.54it/s]
84%|████████▍ | 21/25 [00:13<00:02, 1.54it/s]
88%|████████▊ | 22/25 [00:14<00:01, 1.54it/s]
92%|█████████▏| 23/25 [00:14<00:01, 1.53it/s]
96%|█████████▌| 24/25 [00:15<00:00, 1.53it/s]
100%|██████████| 25/25 [00:16<00:00, 1.52it/s]
100%|██████████| 25/25 [00:16<00:00, 1.56it/s]