pagebrain / absolutereality-v1-8-1
T4 GPU, negative embeddings, img2img, inpainting, safety checker, KarrasDPM, pruned fp16 safetensor
Prediction
pagebrain/absolutereality-v1-8-1:e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824cIDcof4kirbzsqjrzqetii5tb4uqmStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 1584580292
- width
- "576"
- height
- "1024"
- prompt
- masterpiece, (photorealistic:1.4), best quality, beautiful lighting, , lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk (series), cyberpunk edgerunners, RAW photo, 8k uhd, film grain, cosplay, white wig, night, neon lights
- scheduler
- K_EULER_ANCESTRAL
- num_outputs
- 1
- guidance_scale
- 9
- 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
- 30
{ "seed": 1584580292, "width": "576", "height": "1024", "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, , lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk (series), cyberpunk edgerunners, RAW photo, 8k uhd, film grain, cosplay, white wig, night, neon lights", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "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": 30 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client: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: 1584580292, width: "576", height: "1024", prompt: "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, , lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk (series), cyberpunk edgerunners, RAW photo, 8k uhd, film grain, cosplay, white wig, night, neon lights", scheduler: "K_EULER_ANCESTRAL", num_outputs: 1, guidance_scale: 9, 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: 30 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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": 1584580292, "width": "576", "height": "1024", "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, , lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk (series), cyberpunk edgerunners, RAW photo, 8k uhd, film grain, cosplay, white wig, night, neon lights", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "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": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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": 1584580292, "width": "576", "height": "1024", "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, , lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk (series), cyberpunk edgerunners, RAW photo, 8k uhd, film grain, cosplay, white wig, night, neon lights", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "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": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-07T07:22:35.302273Z", "created_at": "2023-09-07T07:22:15.397113Z", "data_removed": false, "error": null, "id": "cof4kirbzsqjrzqetii5tb4uqm", "input": { "seed": 1584580292, "width": "576", "height": "1024", "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, , lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk (series), cyberpunk edgerunners, RAW photo, 8k uhd, film grain, cosplay, white wig, night, neon lights", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "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": 30 }, "logs": "Using seed: 1584580292\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, ( mechanical parts ), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk ( series ), cyberpunk edgerunners, raw photo, 8 k uhd, film grain, cosplay, white wig, night, neon lights']\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:18, 1.55it/s]\n 7%|▋ | 2/30 [00:01<00:17, 1.62it/s]\n 10%|█ | 3/30 [00:01<00:16, 1.64it/s]\n 13%|█▎ | 4/30 [00:02<00:15, 1.65it/s]\n 17%|█▋ | 5/30 [00:03<00:15, 1.66it/s]\n 20%|██ | 6/30 [00:03<00:14, 1.67it/s]\n 23%|██▎ | 7/30 [00:04<00:13, 1.67it/s]\n 27%|██▋ | 8/30 [00:04<00:13, 1.67it/s]\n 30%|███ | 9/30 [00:05<00:12, 1.66it/s]\n 33%|███▎ | 10/30 [00:06<00:11, 1.67it/s]\n 37%|███▋ | 11/30 [00:06<00:11, 1.66it/s]\n 40%|████ | 12/30 [00:07<00:10, 1.66it/s]\n 43%|████▎ | 13/30 [00:07<00:10, 1.65it/s]\n 47%|████▋ | 14/30 [00:08<00:09, 1.65it/s]\n 50%|█████ | 15/30 [00:09<00:09, 1.65it/s]\n 53%|█████▎ | 16/30 [00:09<00:08, 1.64it/s]\n 57%|█████▋ | 17/30 [00:10<00:07, 1.64it/s]\n 60%|██████ | 18/30 [00:10<00:07, 1.65it/s]\n 63%|██████▎ | 19/30 [00:11<00:06, 1.65it/s]\n 67%|██████▋ | 20/30 [00:12<00:06, 1.66it/s]\n 70%|███████ | 21/30 [00:12<00:05, 1.66it/s]\n 73%|███████▎ | 22/30 [00:13<00:04, 1.66it/s]\n 77%|███████▋ | 23/30 [00:13<00:04, 1.65it/s]\n 80%|████████ | 24/30 [00:14<00:03, 1.65it/s]\n 83%|████████▎ | 25/30 [00:15<00:03, 1.65it/s]\n 87%|████████▋ | 26/30 [00:15<00:02, 1.65it/s]\n 90%|█████████ | 27/30 [00:16<00:01, 1.64it/s]\n 93%|█████████▎| 28/30 [00:16<00:01, 1.65it/s]\n 97%|█████████▋| 29/30 [00:17<00:00, 1.64it/s]\n100%|██████████| 30/30 [00:18<00:00, 1.64it/s]\n100%|██████████| 30/30 [00:18<00:00, 1.65it/s]", "metrics": { "predict_time": 19.939642, "total_time": 19.90516 }, "output": [ "https://replicate.delivery/pbxt/kd35XBxHPs6eCiSfLvUdeh3xTBbAeHELU5Ov2waEykLoDLHGB/out-0.png" ], "started_at": "2023-09-07T07:22:15.362631Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cof4kirbzsqjrzqetii5tb4uqm", "cancel": "https://api.replicate.com/v1/predictions/cof4kirbzsqjrzqetii5tb4uqm/cancel" }, "version": "e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824c" }
Generated inUsing seed: 1584580292 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, ( mechanical parts ), medium breasts, multicolored eyes, multicolored hair, night, night sky, off shoulder, open clothes, open jacket, outdoors, pants, parted lips, railing, red eyeliner, science fiction, short hair with long locks, short shorts, shorts, sidelocks, sky, solo, standing, teeth, thigh cutout, upper teeth only, white jacket, white shorts, cyberpunk ( series ), cyberpunk edgerunners, raw photo, 8 k uhd, film grain, cosplay, white wig, night, neon lights'] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:18, 1.55it/s] 7%|▋ | 2/30 [00:01<00:17, 1.62it/s] 10%|█ | 3/30 [00:01<00:16, 1.64it/s] 13%|█▎ | 4/30 [00:02<00:15, 1.65it/s] 17%|█▋ | 5/30 [00:03<00:15, 1.66it/s] 20%|██ | 6/30 [00:03<00:14, 1.67it/s] 23%|██▎ | 7/30 [00:04<00:13, 1.67it/s] 27%|██▋ | 8/30 [00:04<00:13, 1.67it/s] 30%|███ | 9/30 [00:05<00:12, 1.66it/s] 33%|███▎ | 10/30 [00:06<00:11, 1.67it/s] 37%|███▋ | 11/30 [00:06<00:11, 1.66it/s] 40%|████ | 12/30 [00:07<00:10, 1.66it/s] 43%|████▎ | 13/30 [00:07<00:10, 1.65it/s] 47%|████▋ | 14/30 [00:08<00:09, 1.65it/s] 50%|█████ | 15/30 [00:09<00:09, 1.65it/s] 53%|█████▎ | 16/30 [00:09<00:08, 1.64it/s] 57%|█████▋ | 17/30 [00:10<00:07, 1.64it/s] 60%|██████ | 18/30 [00:10<00:07, 1.65it/s] 63%|██████▎ | 19/30 [00:11<00:06, 1.65it/s] 67%|██████▋ | 20/30 [00:12<00:06, 1.66it/s] 70%|███████ | 21/30 [00:12<00:05, 1.66it/s] 73%|███████▎ | 22/30 [00:13<00:04, 1.66it/s] 77%|███████▋ | 23/30 [00:13<00:04, 1.65it/s] 80%|████████ | 24/30 [00:14<00:03, 1.65it/s] 83%|████████▎ | 25/30 [00:15<00:03, 1.65it/s] 87%|████████▋ | 26/30 [00:15<00:02, 1.65it/s] 90%|█████████ | 27/30 [00:16<00:01, 1.64it/s] 93%|█████████▎| 28/30 [00:16<00:01, 1.65it/s] 97%|█████████▋| 29/30 [00:17<00:00, 1.64it/s] 100%|██████████| 30/30 [00:18<00:00, 1.64it/s] 100%|██████████| 30/30 [00:18<00:00, 1.65it/s]
Prediction
pagebrain/absolutereality-v1-8-1:e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824cIDg7qc3nrbtepcm6dngx5xlhj5taStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- 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
{ "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 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client: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.
Install Replicate’s Python client library:pip install replicate
Import the client: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.
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.
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" }
Generated inUsing 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]
Prediction
pagebrain/absolutereality-v1-8-1:e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824cIDvbyhjabbv45fii3xuqz5t3kll4StatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 5775662
- width
- "576"
- height
- "1024"
- prompt
- (masterpiece), (extremely intricate:1.3),, (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render, unreal engine, volumetrics dtx, (film grain, bokeh, blurry foreground, blurry background), crest on chest
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 9
- 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
- 30
{ "seed": 5775662, "width": "576", "height": "1024", "prompt": "(masterpiece), (extremely intricate:1.3),, (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render, unreal engine, volumetrics dtx, (film grain, bokeh, blurry foreground, blurry background), crest on chest", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 9, "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": 30 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client: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: 5775662, width: "576", height: "1024", prompt: "(masterpiece), (extremely intricate:1.3),, (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render, unreal engine, volumetrics dtx, (film grain, bokeh, blurry foreground, blurry background), crest on chest", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 9, 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: 30 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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": 5775662, "width": "576", "height": "1024", "prompt": "(masterpiece), (extremely intricate:1.3),, (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render, unreal engine, volumetrics dtx, (film grain, bokeh, blurry foreground, blurry background), crest on chest", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 9, "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": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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": 5775662, "width": "576", "height": "1024", "prompt": "(masterpiece), (extremely intricate:1.3),, (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render, unreal engine, volumetrics dtx, (film grain, bokeh, blurry foreground, blurry background), crest on chest", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 9, "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": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-07T07:20:56.452250Z", "created_at": "2023-09-07T07:20:30.970109Z", "data_removed": false, "error": null, "id": "vbyhjabbv45fii3xuqz5t3kll4", "input": { "seed": 5775662, "width": "576", "height": "1024", "prompt": "(masterpiece), (extremely intricate:1.3),, (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render, unreal engine, volumetrics dtx, (film grain, bokeh, blurry foreground, blurry background), crest on chest", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 9, "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": 30 }, "logs": "Using seed: 5775662\nToken indices sequence length is longer than the specified maximum sequence length for this model (94 > 77). Running this sequence through the model will result in indexing errors\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', ( film grain, bokeh, blurry foreground, blurry background ), crest on chest']\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:02<01:23, 2.89s/it]\n 7%|▋ | 2/30 [00:03<00:42, 1.51s/it]\n 10%|█ | 3/30 [00:03<00:29, 1.07s/it]\n 13%|█▎ | 4/30 [00:04<00:22, 1.15it/s]\n 17%|█▋ | 5/30 [00:05<00:18, 1.33it/s]\n 20%|██ | 6/30 [00:05<00:16, 1.46it/s]\n 23%|██▎ | 7/30 [00:06<00:14, 1.56it/s]\n 27%|██▋ | 8/30 [00:06<00:13, 1.63it/s]\n 30%|███ | 9/30 [00:07<00:12, 1.68it/s]\n 33%|███▎ | 10/30 [00:07<00:11, 1.71it/s]\n 37%|███▋ | 11/30 [00:08<00:10, 1.74it/s]\n 40%|████ | 12/30 [00:08<00:10, 1.76it/s]\n 43%|████▎ | 13/30 [00:09<00:09, 1.76it/s]\n 47%|████▋ | 14/30 [00:10<00:09, 1.77it/s]\n 50%|█████ | 15/30 [00:10<00:08, 1.78it/s]\n 53%|█████▎ | 16/30 [00:11<00:07, 1.78it/s]\n 57%|█████▋ | 17/30 [00:11<00:07, 1.79it/s]\n 60%|██████ | 18/30 [00:12<00:06, 1.79it/s]\n 63%|██████▎ | 19/30 [00:12<00:06, 1.79it/s]\n 67%|██████▋ | 20/30 [00:13<00:05, 1.79it/s]\n 70%|███████ | 21/30 [00:14<00:05, 1.79it/s]\n 73%|███████▎ | 22/30 [00:14<00:04, 1.78it/s]\n 77%|███████▋ | 23/30 [00:15<00:03, 1.78it/s]\n 80%|████████ | 24/30 [00:15<00:03, 1.78it/s]\n 83%|████████▎ | 25/30 [00:16<00:02, 1.78it/s]\n 87%|████████▋ | 26/30 [00:16<00:02, 1.78it/s]\n 90%|█████████ | 27/30 [00:17<00:01, 1.77it/s]\n 93%|█████████▎| 28/30 [00:17<00:01, 1.77it/s]\n 97%|█████████▋| 29/30 [00:18<00:00, 1.77it/s]\n100%|██████████| 30/30 [00:19<00:00, 1.76it/s]\n100%|██████████| 30/30 [00:19<00:00, 1.57it/s]", "metrics": { "predict_time": 24.337595, "total_time": 25.482141 }, "output": [ "https://replicate.delivery/pbxt/80zxNrNUq95eHauTfusq4SDGm98fnI9U8shnyUUgEpsueKHGB/out-0.png" ], "started_at": "2023-09-07T07:20:32.114655Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/vbyhjabbv45fii3xuqz5t3kll4", "cancel": "https://api.replicate.com/v1/predictions/vbyhjabbv45fii3xuqz5t3kll4/cancel" }, "version": "e4fcfb44e9c3343632f7fff9d00f53972b7350c639eab4a11279e99aa919824c" }
Generated inUsing seed: 5775662 Token indices sequence length is longer than the specified maximum sequence length for this model (94 > 77). Running this sequence through the model will result in indexing errors The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', ( film grain, bokeh, blurry foreground, blurry background ), crest on chest'] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:02<01:23, 2.89s/it] 7%|▋ | 2/30 [00:03<00:42, 1.51s/it] 10%|█ | 3/30 [00:03<00:29, 1.07s/it] 13%|█▎ | 4/30 [00:04<00:22, 1.15it/s] 17%|█▋ | 5/30 [00:05<00:18, 1.33it/s] 20%|██ | 6/30 [00:05<00:16, 1.46it/s] 23%|██▎ | 7/30 [00:06<00:14, 1.56it/s] 27%|██▋ | 8/30 [00:06<00:13, 1.63it/s] 30%|███ | 9/30 [00:07<00:12, 1.68it/s] 33%|███▎ | 10/30 [00:07<00:11, 1.71it/s] 37%|███▋ | 11/30 [00:08<00:10, 1.74it/s] 40%|████ | 12/30 [00:08<00:10, 1.76it/s] 43%|████▎ | 13/30 [00:09<00:09, 1.76it/s] 47%|████▋ | 14/30 [00:10<00:09, 1.77it/s] 50%|█████ | 15/30 [00:10<00:08, 1.78it/s] 53%|█████▎ | 16/30 [00:11<00:07, 1.78it/s] 57%|█████▋ | 17/30 [00:11<00:07, 1.79it/s] 60%|██████ | 18/30 [00:12<00:06, 1.79it/s] 63%|██████▎ | 19/30 [00:12<00:06, 1.79it/s] 67%|██████▋ | 20/30 [00:13<00:05, 1.79it/s] 70%|███████ | 21/30 [00:14<00:05, 1.79it/s] 73%|███████▎ | 22/30 [00:14<00:04, 1.78it/s] 77%|███████▋ | 23/30 [00:15<00:03, 1.78it/s] 80%|████████ | 24/30 [00:15<00:03, 1.78it/s] 83%|████████▎ | 25/30 [00:16<00:02, 1.78it/s] 87%|████████▋ | 26/30 [00:16<00:02, 1.78it/s] 90%|█████████ | 27/30 [00:17<00:01, 1.77it/s] 93%|█████████▎| 28/30 [00:17<00:01, 1.77it/s] 97%|█████████▋| 29/30 [00:18<00:00, 1.77it/s] 100%|██████████| 30/30 [00:19<00:00, 1.76it/s] 100%|██████████| 30/30 [00:19<00:00, 1.57it/s]
Prediction
pagebrain/absolutereality-v1-8-1:1c9d76b62790e891aefc6c015e576a2ba27ddb08d013936a4e6d205210e2e332Input
- 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
- safety_checker
- negative_prompt
- BadDream, UnrealisticDream, FastNegativeV2
- prompt_strength
- 0.8
- num_inference_steps
- 25
{ "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, "safety_checker": true, "negative_prompt": "BadDream, UnrealisticDream, FastNegativeV2", "prompt_strength": 0.8, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client: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:1c9d76b62790e891aefc6c015e576a2ba27ddb08d013936a4e6d205210e2e332", { 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, safety_checker: true, negative_prompt: "BadDream, UnrealisticDream, FastNegativeV2", 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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:1c9d76b62790e891aefc6c015e576a2ba27ddb08d013936a4e6d205210e2e332", 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, "safety_checker": True, "negative_prompt": "BadDream, UnrealisticDream, FastNegativeV2", "prompt_strength": 0.8, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:1c9d76b62790e891aefc6c015e576a2ba27ddb08d013936a4e6d205210e2e332", "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, "safety_checker": true, "negative_prompt": "BadDream, UnrealisticDream, FastNegativeV2", "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.
Output
{ "completed_at": "2023-09-10T12:27:24.510802Z", "created_at": "2023-09-10T12:27:08.971117Z", "data_removed": false, "error": null, "id": "b777u6bbfdfeadffw7rrl3ubdi", "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, "safety_checker": true, "negative_prompt": "BadDream, UnrealisticDream, FastNegativeV2", "prompt_strength": 0.8, "num_inference_steps": 25 }, "logs": "Using seed: 2760683419\nPrompt: 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\ntxt2img mode\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:15, 1.58it/s]\n 8%|▊ | 2/25 [00:01<00:13, 1.70it/s]\n 12%|█▏ | 3/25 [00:01<00:12, 1.75it/s]\n 16%|█▌ | 4/25 [00:02<00:11, 1.76it/s]\n 20%|██ | 5/25 [00:02<00:11, 1.78it/s]\n 24%|██▍ | 6/25 [00:03<00:10, 1.78it/s]\n 28%|██▊ | 7/25 [00:03<00:10, 1.79it/s]\n 32%|███▏ | 8/25 [00:04<00:09, 1.79it/s]\n 36%|███▌ | 9/25 [00:05<00:08, 1.80it/s]\n 40%|████ | 10/25 [00:05<00:08, 1.79it/s]\n 44%|████▍ | 11/25 [00:06<00:07, 1.80it/s]\n 48%|████▊ | 12/25 [00:06<00:07, 1.79it/s]\n 52%|█████▏ | 13/25 [00:07<00:06, 1.80it/s]\n 56%|█████▌ | 14/25 [00:07<00:06, 1.80it/s]\n 60%|██████ | 15/25 [00:08<00:05, 1.80it/s]\n 64%|██████▍ | 16/25 [00:08<00:05, 1.80it/s]\n 68%|██████▊ | 17/25 [00:09<00:04, 1.79it/s]\n 72%|███████▏ | 18/25 [00:10<00:03, 1.79it/s]\n 76%|███████▌ | 19/25 [00:10<00:03, 1.79it/s]\n 80%|████████ | 20/25 [00:11<00:02, 1.79it/s]\n 84%|████████▍ | 21/25 [00:11<00:02, 1.79it/s]\n 88%|████████▊ | 22/25 [00:12<00:01, 1.79it/s]\n 92%|█████████▏| 23/25 [00:12<00:01, 1.79it/s]\n 96%|█████████▌| 24/25 [00:13<00:00, 1.79it/s]\n100%|██████████| 25/25 [00:14<00:00, 1.78it/s]\n100%|██████████| 25/25 [00:14<00:00, 1.78it/s]", "metrics": { "predict_time": 15.572378, "total_time": 15.539685 }, "output": [ "https://replicate.delivery/pbxt/B0vP9lWwDdanLNyFtagluvCjL4kwxOEoqANEseg0aNuVQbxIA/out-0.png" ], "started_at": "2023-09-10T12:27:08.938424Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/b777u6bbfdfeadffw7rrl3ubdi", "cancel": "https://api.replicate.com/v1/predictions/b777u6bbfdfeadffw7rrl3ubdi/cancel" }, "version": "1c9d76b62790e891aefc6c015e576a2ba27ddb08d013936a4e6d205210e2e332" }
Generated inUsing seed: 2760683419 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 txt2img mode 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:15, 1.58it/s] 8%|▊ | 2/25 [00:01<00:13, 1.70it/s] 12%|█▏ | 3/25 [00:01<00:12, 1.75it/s] 16%|█▌ | 4/25 [00:02<00:11, 1.76it/s] 20%|██ | 5/25 [00:02<00:11, 1.78it/s] 24%|██▍ | 6/25 [00:03<00:10, 1.78it/s] 28%|██▊ | 7/25 [00:03<00:10, 1.79it/s] 32%|███▏ | 8/25 [00:04<00:09, 1.79it/s] 36%|███▌ | 9/25 [00:05<00:08, 1.80it/s] 40%|████ | 10/25 [00:05<00:08, 1.79it/s] 44%|████▍ | 11/25 [00:06<00:07, 1.80it/s] 48%|████▊ | 12/25 [00:06<00:07, 1.79it/s] 52%|█████▏ | 13/25 [00:07<00:06, 1.80it/s] 56%|█████▌ | 14/25 [00:07<00:06, 1.80it/s] 60%|██████ | 15/25 [00:08<00:05, 1.80it/s] 64%|██████▍ | 16/25 [00:08<00:05, 1.80it/s] 68%|██████▊ | 17/25 [00:09<00:04, 1.79it/s] 72%|███████▏ | 18/25 [00:10<00:03, 1.79it/s] 76%|███████▌ | 19/25 [00:10<00:03, 1.79it/s] 80%|████████ | 20/25 [00:11<00:02, 1.79it/s] 84%|████████▍ | 21/25 [00:11<00:02, 1.79it/s] 88%|████████▊ | 22/25 [00:12<00:01, 1.79it/s] 92%|█████████▏| 23/25 [00:12<00:01, 1.79it/s] 96%|█████████▌| 24/25 [00:13<00:00, 1.79it/s] 100%|██████████| 25/25 [00:14<00:00, 1.78it/s] 100%|██████████| 25/25 [00:14<00:00, 1.78it/s]
Want to make some of these yourself?
Run this model