pagebrain / epicphotogasm-v1
T4 GPU, negative embeddings, img2img, inpainting, safety checker, KarrasDPM, pruned fp16 safetensor
Prediction
pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524bIDm2culhzbepenmd2sq627pbceoeStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 332884020
- width
- "576"
- height
- "1024"
- prompt
- wide-shot, a woman, (freckles:0.9), depth of field, business woman
- scheduler
- K_EULER_ANCESTRAL
- num_outputs
- 1
- guidance_scale
- 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
- 20
{ "seed": 332884020, "width": "576", "height": "1024", "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 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": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", { input: { seed: 332884020, width: "576", height: "1024", prompt: "wide-shot, a woman, (freckles:0.9), depth of field, business woman", scheduler: "K_EULER_ANCESTRAL", num_outputs: 1, guidance_scale: 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: 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", input={ "seed": 332884020, "width": "576", "height": "1024", "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 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": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run pagebrain/epicphotogasm-v1 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/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", "input": { "seed": 332884020, "width": "576", "height": "1024", "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 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": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-06T21:31:18.222864Z", "created_at": "2023-09-06T21:28:23.657505Z", "data_removed": false, "error": null, "id": "m2culhzbepenmd2sq627pbceoe", "input": { "seed": 332884020, "width": "576", "height": "1024", "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 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": 20 }, "logs": "Using seed: 332884020\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:02<00:56, 2.98s/it]\n 10%|█ | 2/20 [00:03<00:27, 1.55s/it]\n 15%|█▌ | 3/20 [00:04<00:18, 1.10s/it]\n 20%|██ | 4/20 [00:04<00:14, 1.13it/s]\n 25%|██▌ | 5/20 [00:05<00:11, 1.30it/s]\n 30%|███ | 6/20 [00:05<00:09, 1.43it/s]\n 35%|███▌ | 7/20 [00:06<00:08, 1.53it/s]\n 40%|████ | 8/20 [00:06<00:07, 1.60it/s]\n 45%|████▌ | 9/20 [00:07<00:06, 1.66it/s]\n 50%|█████ | 10/20 [00:08<00:05, 1.69it/s]\n 55%|█████▌ | 11/20 [00:08<00:05, 1.72it/s]\n 60%|██████ | 12/20 [00:09<00:04, 1.74it/s]\n 65%|██████▌ | 13/20 [00:09<00:04, 1.75it/s]\n 70%|███████ | 14/20 [00:10<00:03, 1.77it/s]\n 75%|███████▌ | 15/20 [00:10<00:02, 1.77it/s]\n 80%|████████ | 16/20 [00:11<00:02, 1.78it/s]\n 85%|████████▌ | 17/20 [00:11<00:01, 1.78it/s]\n 90%|█████████ | 18/20 [00:12<00:01, 1.79it/s]\n 95%|█████████▌| 19/20 [00:13<00:00, 1.79it/s]\n100%|██████████| 20/20 [00:13<00:00, 1.79it/s]\n100%|██████████| 20/20 [00:13<00:00, 1.47it/s]", "metrics": { "predict_time": 17.245038, "total_time": 174.565359 }, "output": [ "https://replicate.delivery/pbxt/tqRsAvWbHpIGPxOZ1tDQQDpm9CJESILpXNSPbQJREceSD1wIA/out-0.png" ], "started_at": "2023-09-06T21:31:00.977826Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/m2culhzbepenmd2sq627pbceoe", "cancel": "https://api.replicate.com/v1/predictions/m2culhzbepenmd2sq627pbceoe/cancel" }, "version": "a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b" }
Generated inUsing seed: 332884020 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:02<00:56, 2.98s/it] 10%|█ | 2/20 [00:03<00:27, 1.55s/it] 15%|█▌ | 3/20 [00:04<00:18, 1.10s/it] 20%|██ | 4/20 [00:04<00:14, 1.13it/s] 25%|██▌ | 5/20 [00:05<00:11, 1.30it/s] 30%|███ | 6/20 [00:05<00:09, 1.43it/s] 35%|███▌ | 7/20 [00:06<00:08, 1.53it/s] 40%|████ | 8/20 [00:06<00:07, 1.60it/s] 45%|████▌ | 9/20 [00:07<00:06, 1.66it/s] 50%|█████ | 10/20 [00:08<00:05, 1.69it/s] 55%|█████▌ | 11/20 [00:08<00:05, 1.72it/s] 60%|██████ | 12/20 [00:09<00:04, 1.74it/s] 65%|██████▌ | 13/20 [00:09<00:04, 1.75it/s] 70%|███████ | 14/20 [00:10<00:03, 1.77it/s] 75%|███████▌ | 15/20 [00:10<00:02, 1.77it/s] 80%|████████ | 16/20 [00:11<00:02, 1.78it/s] 85%|████████▌ | 17/20 [00:11<00:01, 1.78it/s] 90%|█████████ | 18/20 [00:12<00:01, 1.79it/s] 95%|█████████▌| 19/20 [00:13<00:00, 1.79it/s] 100%|██████████| 20/20 [00:13<00:00, 1.79it/s] 100%|██████████| 20/20 [00:13<00:00, 1.47it/s]
Prediction
pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524bIDlqgbz4rbcbrngw5mlikf36gcbmStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 2802306715
- width
- 576
- height
- 1024
- prompt
- photo of a woman, in space, futuristic space suit, cute face, sci-fi, dystopian, detailed eyes
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 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
- 20
{ "seed": 2802306715, "width": 576, "height": 1024, "prompt": "photo of a woman, in space, futuristic space suit, cute face, sci-fi, dystopian, detailed eyes", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 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": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", { input: { seed: 2802306715, width: 576, height: 1024, prompt: "photo of a woman, in space, futuristic space suit, cute face, sci-fi, dystopian, detailed eyes", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 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: 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", input={ "seed": 2802306715, "width": 576, "height": 1024, "prompt": "photo of a woman, in space, futuristic space suit, cute face, sci-fi, dystopian, detailed eyes", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 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": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run pagebrain/epicphotogasm-v1 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/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", "input": { "seed": 2802306715, "width": 576, "height": 1024, "prompt": "photo of a woman, in space, futuristic space suit, cute face, sci-fi, dystopian, detailed eyes", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 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": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-07T06:48:33.295146Z", "created_at": "2023-09-07T06:48:19.452535Z", "data_removed": false, "error": null, "id": "lqgbz4rbcbrngw5mlikf36gcbm", "input": { "seed": 2802306715, "width": 576, "height": 1024, "prompt": "photo of a woman, in space, futuristic space suit, cute face, sci-fi, dystopian, detailed eyes", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 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": 20 }, "logs": "Using seed: 2802306715\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:12, 1.54it/s]\n 10%|█ | 2/20 [00:01<00:11, 1.62it/s]\n 15%|█▌ | 3/20 [00:01<00:10, 1.64it/s]\n 20%|██ | 4/20 [00:02<00:09, 1.65it/s]\n 25%|██▌ | 5/20 [00:03<00:09, 1.65it/s]\n 30%|███ | 6/20 [00:03<00:08, 1.66it/s]\n 35%|███▌ | 7/20 [00:04<00:07, 1.66it/s]\n 40%|████ | 8/20 [00:04<00:07, 1.66it/s]\n 45%|████▌ | 9/20 [00:05<00:06, 1.66it/s]\n 50%|█████ | 10/20 [00:06<00:06, 1.66it/s]\n 55%|█████▌ | 11/20 [00:06<00:05, 1.66it/s]\n 60%|██████ | 12/20 [00:07<00:04, 1.66it/s]\n 65%|██████▌ | 13/20 [00:07<00:04, 1.66it/s]\n 70%|███████ | 14/20 [00:08<00:03, 1.66it/s]\n 75%|███████▌ | 15/20 [00:09<00:03, 1.66it/s]\n 80%|████████ | 16/20 [00:09<00:02, 1.66it/s]\n 85%|████████▌ | 17/20 [00:10<00:01, 1.65it/s]\n 90%|█████████ | 18/20 [00:10<00:01, 1.65it/s]\n 95%|█████████▌| 19/20 [00:11<00:00, 1.65it/s]\n100%|██████████| 20/20 [00:12<00:00, 1.65it/s]\n100%|██████████| 20/20 [00:12<00:00, 1.65it/s]", "metrics": { "predict_time": 13.885914, "total_time": 13.842611 }, "output": [ "https://replicate.delivery/pbxt/Ctoz5VRmDDbUExifr993IcExIQeF19bK8WTcymdMzjWARyhRA/out-0.png" ], "started_at": "2023-09-07T06:48:19.409232Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/lqgbz4rbcbrngw5mlikf36gcbm", "cancel": "https://api.replicate.com/v1/predictions/lqgbz4rbcbrngw5mlikf36gcbm/cancel" }, "version": "a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b" }
Generated inUsing seed: 2802306715 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:12, 1.54it/s] 10%|█ | 2/20 [00:01<00:11, 1.62it/s] 15%|█▌ | 3/20 [00:01<00:10, 1.64it/s] 20%|██ | 4/20 [00:02<00:09, 1.65it/s] 25%|██▌ | 5/20 [00:03<00:09, 1.65it/s] 30%|███ | 6/20 [00:03<00:08, 1.66it/s] 35%|███▌ | 7/20 [00:04<00:07, 1.66it/s] 40%|████ | 8/20 [00:04<00:07, 1.66it/s] 45%|████▌ | 9/20 [00:05<00:06, 1.66it/s] 50%|█████ | 10/20 [00:06<00:06, 1.66it/s] 55%|█████▌ | 11/20 [00:06<00:05, 1.66it/s] 60%|██████ | 12/20 [00:07<00:04, 1.66it/s] 65%|██████▌ | 13/20 [00:07<00:04, 1.66it/s] 70%|███████ | 14/20 [00:08<00:03, 1.66it/s] 75%|███████▌ | 15/20 [00:09<00:03, 1.66it/s] 80%|████████ | 16/20 [00:09<00:02, 1.66it/s] 85%|████████▌ | 17/20 [00:10<00:01, 1.65it/s] 90%|█████████ | 18/20 [00:10<00:01, 1.65it/s] 95%|█████████▌| 19/20 [00:11<00:00, 1.65it/s] 100%|██████████| 20/20 [00:12<00:00, 1.65it/s] 100%|██████████| 20/20 [00:12<00:00, 1.65it/s]
Prediction
pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524bIDarr26mzbjk324bsjs2miuytu7iStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 3741908761
- width
- "576"
- height
- "1024"
- prompt
- cinematic portrait of wounded action hero
- scheduler
- DDIM
- num_outputs
- 1
- guidance_scale
- 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
- 20
{ "seed": 3741908761, "width": "576", "height": "1024", "prompt": "cinematic portrait of wounded action hero", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 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": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", { input: { seed: 3741908761, width: "576", height: "1024", prompt: "cinematic portrait of wounded action hero", scheduler: "DDIM", num_outputs: 1, guidance_scale: 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: 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", input={ "seed": 3741908761, "width": "576", "height": "1024", "prompt": "cinematic portrait of wounded action hero", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 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": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run pagebrain/epicphotogasm-v1 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/epicphotogasm-v1:a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b", "input": { "seed": 3741908761, "width": "576", "height": "1024", "prompt": "cinematic portrait of wounded action hero", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 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": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-06T21:33:00.332962Z", "created_at": "2023-09-06T21:32:47.183295Z", "data_removed": false, "error": null, "id": "arr26mzbjk324bsjs2miuytu7i", "input": { "seed": 3741908761, "width": "576", "height": "1024", "prompt": "cinematic portrait of wounded action hero", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 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": 20 }, "logs": "Using seed: 3741908761\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:12, 1.57it/s]\n 10%|█ | 2/20 [00:01<00:10, 1.70it/s]\n 15%|█▌ | 3/20 [00:01<00:09, 1.71it/s]\n 20%|██ | 4/20 [00:02<00:09, 1.73it/s]\n 25%|██▌ | 5/20 [00:02<00:08, 1.74it/s]\n 30%|███ | 6/20 [00:03<00:08, 1.75it/s]\n 35%|███▌ | 7/20 [00:04<00:07, 1.75it/s]\n 40%|████ | 8/20 [00:04<00:06, 1.75it/s]\n 45%|████▌ | 9/20 [00:05<00:06, 1.76it/s]\n 50%|█████ | 10/20 [00:05<00:05, 1.75it/s]\n 55%|█████▌ | 11/20 [00:06<00:05, 1.76it/s]\n 60%|██████ | 12/20 [00:06<00:04, 1.76it/s]\n 65%|██████▌ | 13/20 [00:07<00:03, 1.76it/s]\n 70%|███████ | 14/20 [00:08<00:03, 1.76it/s]\n 75%|███████▌ | 15/20 [00:08<00:02, 1.76it/s]\n 80%|████████ | 16/20 [00:09<00:02, 1.75it/s]\n 85%|████████▌ | 17/20 [00:09<00:01, 1.75it/s]\n 90%|█████████ | 18/20 [00:10<00:01, 1.75it/s]\n 95%|█████████▌| 19/20 [00:10<00:00, 1.74it/s]\n100%|██████████| 20/20 [00:11<00:00, 1.74it/s]\n100%|██████████| 20/20 [00:11<00:00, 1.74it/s]", "metrics": { "predict_time": 13.187113, "total_time": 13.149667 }, "output": [ "https://replicate.delivery/pbxt/v4bJAhN80xaCOhjNvd9BfuR1YGGAjFMK7kTaayfYNaiLIqhRA/out-0.png" ], "started_at": "2023-09-06T21:32:47.145849Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/arr26mzbjk324bsjs2miuytu7i", "cancel": "https://api.replicate.com/v1/predictions/arr26mzbjk324bsjs2miuytu7i/cancel" }, "version": "a85289848da9d5a040510b0d787ff9df6f5a0de20298dd0d4e9ed287eaa1524b" }
Generated inUsing seed: 3741908761 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:12, 1.57it/s] 10%|█ | 2/20 [00:01<00:10, 1.70it/s] 15%|█▌ | 3/20 [00:01<00:09, 1.71it/s] 20%|██ | 4/20 [00:02<00:09, 1.73it/s] 25%|██▌ | 5/20 [00:02<00:08, 1.74it/s] 30%|███ | 6/20 [00:03<00:08, 1.75it/s] 35%|███▌ | 7/20 [00:04<00:07, 1.75it/s] 40%|████ | 8/20 [00:04<00:06, 1.75it/s] 45%|████▌ | 9/20 [00:05<00:06, 1.76it/s] 50%|█████ | 10/20 [00:05<00:05, 1.75it/s] 55%|█████▌ | 11/20 [00:06<00:05, 1.76it/s] 60%|██████ | 12/20 [00:06<00:04, 1.76it/s] 65%|██████▌ | 13/20 [00:07<00:03, 1.76it/s] 70%|███████ | 14/20 [00:08<00:03, 1.76it/s] 75%|███████▌ | 15/20 [00:08<00:02, 1.76it/s] 80%|████████ | 16/20 [00:09<00:02, 1.75it/s] 85%|████████▌ | 17/20 [00:09<00:01, 1.75it/s] 90%|█████████ | 18/20 [00:10<00:01, 1.75it/s] 95%|█████████▌| 19/20 [00:10<00:00, 1.74it/s] 100%|██████████| 20/20 [00:11<00:00, 1.74it/s] 100%|██████████| 20/20 [00:11<00:00, 1.74it/s]
Prediction
pagebrain/epicphotogasm-v1:ec267f5ff4c655ff4758fea167a58442f15fa18c6b021643b34c8de2eed35f61Input
- seed
- 332884020
- width
- 576
- height
- 1024
- prompt
- wide-shot, a woman, (freckles:0.9), depth of field, business woman
- scheduler
- K_EULER_ANCESTRAL
- num_outputs
- 1
- guidance_scale
- 5
- safety_checker
- negative_prompt
- UnrealisticDream, BadDream, EasyNegative
- prompt_strength
- 0.8
- num_inference_steps
- 20
{ "seed": 332884020, "width": 576, "height": 1024, "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "safety_checker": true, "negative_prompt": "UnrealisticDream, BadDream, EasyNegative", "prompt_strength": 0.8, "num_inference_steps": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/epicphotogasm-v1:ec267f5ff4c655ff4758fea167a58442f15fa18c6b021643b34c8de2eed35f61", { input: { seed: 332884020, width: 576, height: 1024, prompt: "wide-shot, a woman, (freckles:0.9), depth of field, business woman", scheduler: "K_EULER_ANCESTRAL", num_outputs: 1, guidance_scale: 5, safety_checker: true, negative_prompt: "UnrealisticDream, BadDream, EasyNegative", prompt_strength: 0.8, 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run pagebrain/epicphotogasm-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/epicphotogasm-v1:ec267f5ff4c655ff4758fea167a58442f15fa18c6b021643b34c8de2eed35f61", input={ "seed": 332884020, "width": 576, "height": 1024, "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "safety_checker": True, "negative_prompt": "UnrealisticDream, BadDream, EasyNegative", "prompt_strength": 0.8, "num_inference_steps": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run pagebrain/epicphotogasm-v1 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/epicphotogasm-v1:ec267f5ff4c655ff4758fea167a58442f15fa18c6b021643b34c8de2eed35f61", "input": { "seed": 332884020, "width": 576, "height": 1024, "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "safety_checker": true, "negative_prompt": "UnrealisticDream, BadDream, EasyNegative", "prompt_strength": 0.8, "num_inference_steps": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-10T14:39:25.683420Z", "created_at": "2023-09-10T14:39:12.157868Z", "data_removed": false, "error": null, "id": "4egikrbbzugr6jw5jsauohgf3q", "input": { "seed": 332884020, "width": 576, "height": 1024, "prompt": "wide-shot, a woman, (freckles:0.9), depth of field, business woman", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "safety_checker": true, "negative_prompt": "UnrealisticDream, BadDream, EasyNegative", "prompt_strength": 0.8, "num_inference_steps": 20 }, "logs": "Using seed: 332884020\nPrompt: wide-shot, a woman, (freckles:0.9), depth of field, business woman\ntxt2img mode\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:11, 1.63it/s]\n 10%|█ | 2/20 [00:01<00:10, 1.68it/s]\n 15%|█▌ | 3/20 [00:01<00:09, 1.71it/s]\n 20%|██ | 4/20 [00:02<00:09, 1.70it/s]\n 25%|██▌ | 5/20 [00:02<00:08, 1.71it/s]\n 30%|███ | 6/20 [00:03<00:08, 1.70it/s]\n 35%|███▌ | 7/20 [00:04<00:07, 1.72it/s]\n 40%|████ | 8/20 [00:04<00:06, 1.71it/s]\n 45%|████▌ | 9/20 [00:05<00:06, 1.71it/s]\n 50%|█████ | 10/20 [00:05<00:05, 1.71it/s]\n 55%|█████▌ | 11/20 [00:06<00:05, 1.71it/s]\n 60%|██████ | 12/20 [00:07<00:04, 1.70it/s]\n 65%|██████▌ | 13/20 [00:07<00:04, 1.70it/s]\n 70%|███████ | 14/20 [00:08<00:03, 1.70it/s]\n 75%|███████▌ | 15/20 [00:08<00:02, 1.70it/s]\n 80%|████████ | 16/20 [00:09<00:02, 1.70it/s]\n 85%|████████▌ | 17/20 [00:09<00:01, 1.70it/s]\n 90%|█████████ | 18/20 [00:10<00:01, 1.70it/s]\n 95%|█████████▌| 19/20 [00:11<00:00, 1.69it/s]\n100%|██████████| 20/20 [00:11<00:00, 1.69it/s]\n100%|██████████| 20/20 [00:11<00:00, 1.70it/s]", "metrics": { "predict_time": 13.559673, "total_time": 13.525552 }, "output": [ "https://pbxt.replicate.delivery/rf65ejrui4jgfJUFjUWoHh3YSepPsbxZxgekQeee7PkKcc4iRA/out-0.png" ], "started_at": "2023-09-10T14:39:12.123747Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4egikrbbzugr6jw5jsauohgf3q", "cancel": "https://api.replicate.com/v1/predictions/4egikrbbzugr6jw5jsauohgf3q/cancel" }, "version": "ec267f5ff4c655ff4758fea167a58442f15fa18c6b021643b34c8de2eed35f61" }
Generated inUsing seed: 332884020 Prompt: wide-shot, a woman, (freckles:0.9), depth of field, business woman txt2img mode 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:11, 1.63it/s] 10%|█ | 2/20 [00:01<00:10, 1.68it/s] 15%|█▌ | 3/20 [00:01<00:09, 1.71it/s] 20%|██ | 4/20 [00:02<00:09, 1.70it/s] 25%|██▌ | 5/20 [00:02<00:08, 1.71it/s] 30%|███ | 6/20 [00:03<00:08, 1.70it/s] 35%|███▌ | 7/20 [00:04<00:07, 1.72it/s] 40%|████ | 8/20 [00:04<00:06, 1.71it/s] 45%|████▌ | 9/20 [00:05<00:06, 1.71it/s] 50%|█████ | 10/20 [00:05<00:05, 1.71it/s] 55%|█████▌ | 11/20 [00:06<00:05, 1.71it/s] 60%|██████ | 12/20 [00:07<00:04, 1.70it/s] 65%|██████▌ | 13/20 [00:07<00:04, 1.70it/s] 70%|███████ | 14/20 [00:08<00:03, 1.70it/s] 75%|███████▌ | 15/20 [00:08<00:02, 1.70it/s] 80%|████████ | 16/20 [00:09<00:02, 1.70it/s] 85%|████████▌ | 17/20 [00:09<00:01, 1.70it/s] 90%|█████████ | 18/20 [00:10<00:01, 1.70it/s] 95%|█████████▌| 19/20 [00:11<00:00, 1.69it/s] 100%|██████████| 20/20 [00:11<00:00, 1.69it/s] 100%|██████████| 20/20 [00:11<00:00, 1.70it/s]
Want to make some of these yourself?
Run this model