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.
charlesmccarthy /epicrealism-v7:7199497d
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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run charlesmccarthy/epicrealism-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"charlesmccarthy/epicrealism-v7:7199497dd63b88bfd1b219bd8a1779d154d63b962f3467c947c10a68be66cf54",
{
input: {
vae: "sdxl-vae-fp16-fix",
seed: -1,
model: "epiCRealism-v7.safetensors",
steps: 35,
width: 1184,
height: 864,
prompt: "portrait of a young woman with long wavy brown hair, wearing a blue silk dress, standing against a wooden wardrobe background, hands on hips, natural lighting, confident expression, high-quality, realistic photo, Perfect face, Perfect Hands, detail expression, detailed skin, extreme realistic skin detail, detailed face, (skin imperfections:0.3), intricate, (skin pores:0.2). Cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.",
cfg_scale: 7,
scheduler: "DPM++ 2M SDE Karras",
batch_size: 1,
negative_prompt: "watermarks, logos",
guidance_rescale: 0.4
}
}
);
// 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 charlesmccarthy/epicrealism-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"charlesmccarthy/epicrealism-v7:7199497dd63b88bfd1b219bd8a1779d154d63b962f3467c947c10a68be66cf54",
input={
"vae": "sdxl-vae-fp16-fix",
"seed": -1,
"model": "epiCRealism-v7.safetensors",
"steps": 35,
"width": 1184,
"height": 864,
"prompt": "portrait of a young woman with long wavy brown hair, wearing a blue silk dress, standing against a wooden wardrobe background, hands on hips, natural lighting, confident expression, high-quality, realistic photo, Perfect face, Perfect Hands, detail expression, detailed skin, extreme realistic skin detail, detailed face, (skin imperfections:0.3), intricate, (skin pores:0.2). Cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.",
"cfg_scale": 7,
"scheduler": "DPM++ 2M SDE Karras",
"batch_size": 1,
"negative_prompt": "watermarks, logos",
"guidance_rescale": 0.4
}
)
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 charlesmccarthy/epicrealism-v7 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": "charlesmccarthy/epicrealism-v7:7199497dd63b88bfd1b219bd8a1779d154d63b962f3467c947c10a68be66cf54",
"input": {
"vae": "sdxl-vae-fp16-fix",
"seed": -1,
"model": "epiCRealism-v7.safetensors",
"steps": 35,
"width": 1184,
"height": 864,
"prompt": "portrait of a young woman with long wavy brown hair, wearing a blue silk dress, standing against a wooden wardrobe background, hands on hips, natural lighting, confident expression, high-quality, realistic photo, Perfect face, Perfect Hands, detail expression, detailed skin, extreme realistic skin detail, detailed face, (skin imperfections:0.3), intricate, (skin pores:0.2). Cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.",
"cfg_scale": 7,
"scheduler": "DPM++ 2M SDE Karras",
"batch_size": 1,
"negative_prompt": "watermarks, logos",
"guidance_rescale": 0.4
}
}' \
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": "2024-06-03T00:27:09.870863Z",
"created_at": "2024-06-03T00:27:01.789000Z",
"data_removed": false,
"error": null,
"id": "davs62rb3nrgg0cfvdz9x3fn7c",
"input": {
"vae": "sdxl-vae-fp16-fix",
"seed": -1,
"model": "epiCRealism-v7.safetensors",
"steps": 35,
"width": 1184,
"height": 864,
"prompt": "portrait of a young woman with long wavy brown hair, wearing a blue silk dress, standing against a wooden wardrobe background, hands on hips, natural lighting, confident expression, high-quality, realistic photo, Perfect face, Perfect Hands, detail expression, detailed skin, extreme realistic skin detail, detailed face, (skin imperfections:0.3), intricate, (skin pores:0.2). Cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.",
"cfg_scale": 7,
"scheduler": "DPM++ 2M SDE Karras",
"batch_size": 1,
"negative_prompt": "watermarks, logos",
"guidance_rescale": 0.4
},
"logs": "The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['pores : 0. 2 ). cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.']\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['pores : 0. 2 ). cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.']\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:06, 5.25it/s]\n 6%|▌ | 2/35 [00:00<00:04, 7.02it/s]\n 9%|▊ | 3/35 [00:00<00:05, 6.09it/s]\n 11%|█▏ | 4/35 [00:00<00:05, 5.73it/s]\n 14%|█▍ | 5/35 [00:00<00:05, 5.55it/s]\n 17%|█▋ | 6/35 [00:01<00:05, 5.43it/s]\n 20%|██ | 7/35 [00:01<00:05, 5.36it/s]\n 23%|██▎ | 8/35 [00:01<00:05, 5.33it/s]\n 26%|██▌ | 9/35 [00:01<00:04, 5.30it/s]\n 29%|██▊ | 10/35 [00:01<00:04, 5.28it/s]\n 31%|███▏ | 11/35 [00:02<00:04, 5.26it/s]\n 34%|███▍ | 12/35 [00:02<00:04, 5.25it/s]\n 37%|███▋ | 13/35 [00:02<00:04, 5.25it/s]\n 40%|████ | 14/35 [00:02<00:04, 5.24it/s]\n 43%|████▎ | 15/35 [00:02<00:03, 5.24it/s]\n 46%|████▌ | 16/35 [00:02<00:03, 5.23it/s]\n 49%|████▊ | 17/35 [00:03<00:03, 5.23it/s]\n 51%|█████▏ | 18/35 [00:03<00:03, 5.22it/s]\n 54%|█████▍ | 19/35 [00:03<00:03, 5.23it/s]\n 57%|█████▋ | 20/35 [00:03<00:02, 5.23it/s]\n 60%|██████ | 21/35 [00:03<00:02, 5.23it/s]\n 63%|██████▎ | 22/35 [00:04<00:02, 5.22it/s]\n 66%|██████▌ | 23/35 [00:04<00:02, 5.22it/s]\n 69%|██████▊ | 24/35 [00:04<00:02, 5.22it/s]\n 71%|███████▏ | 25/35 [00:04<00:01, 5.22it/s]\n 74%|███████▍ | 26/35 [00:04<00:01, 5.21it/s]\n 77%|███████▋ | 27/35 [00:05<00:01, 5.21it/s]\n 80%|████████ | 28/35 [00:05<00:01, 5.21it/s]\n 83%|████████▎ | 29/35 [00:05<00:01, 5.21it/s]\n 86%|████████▌ | 30/35 [00:05<00:00, 5.21it/s]\n 89%|████████▊ | 31/35 [00:05<00:00, 5.21it/s]\n 91%|█████████▏| 32/35 [00:06<00:00, 5.21it/s]\n 94%|█████████▍| 33/35 [00:06<00:00, 5.21it/s]\n 97%|█████████▋| 34/35 [00:06<00:00, 5.21it/s]\n100%|██████████| 35/35 [00:06<00:00, 5.21it/s]\n100%|██████████| 35/35 [00:06<00:00, 5.29it/s]",
"metrics": {
"predict_time": 8.064224,
"total_time": 8.081863
},
"output": [
"https://replicate.delivery/pbxt/j1LfymLvVPSyWK6ZtFBze1KR97lL5mjgUp0IbisqqzsdfX1lA/0.png"
],
"started_at": "2024-06-03T00:27:01.806639Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/davs62rb3nrgg0cfvdz9x3fn7c",
"cancel": "https://api.replicate.com/v1/predictions/davs62rb3nrgg0cfvdz9x3fn7c/cancel"
},
"version": "7199497dd63b88bfd1b219bd8a1779d154d63b962f3467c947c10a68be66cf54"
}
The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['pores : 0. 2 ). cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.']
The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['pores : 0. 2 ). cinematic photo, real photo, natural lighting, high quality, film grain, high pixels, high quality, high resolution, photorealistic.']
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:06, 5.25it/s]
6%|▌ | 2/35 [00:00<00:04, 7.02it/s]
9%|▊ | 3/35 [00:00<00:05, 6.09it/s]
11%|█▏ | 4/35 [00:00<00:05, 5.73it/s]
14%|█▍ | 5/35 [00:00<00:05, 5.55it/s]
17%|█▋ | 6/35 [00:01<00:05, 5.43it/s]
20%|██ | 7/35 [00:01<00:05, 5.36it/s]
23%|██▎ | 8/35 [00:01<00:05, 5.33it/s]
26%|██▌ | 9/35 [00:01<00:04, 5.30it/s]
29%|██▊ | 10/35 [00:01<00:04, 5.28it/s]
31%|███▏ | 11/35 [00:02<00:04, 5.26it/s]
34%|███▍ | 12/35 [00:02<00:04, 5.25it/s]
37%|███▋ | 13/35 [00:02<00:04, 5.25it/s]
40%|████ | 14/35 [00:02<00:04, 5.24it/s]
43%|████▎ | 15/35 [00:02<00:03, 5.24it/s]
46%|████▌ | 16/35 [00:02<00:03, 5.23it/s]
49%|████▊ | 17/35 [00:03<00:03, 5.23it/s]
51%|█████▏ | 18/35 [00:03<00:03, 5.22it/s]
54%|█████▍ | 19/35 [00:03<00:03, 5.23it/s]
57%|█████▋ | 20/35 [00:03<00:02, 5.23it/s]
60%|██████ | 21/35 [00:03<00:02, 5.23it/s]
63%|██████▎ | 22/35 [00:04<00:02, 5.22it/s]
66%|██████▌ | 23/35 [00:04<00:02, 5.22it/s]
69%|██████▊ | 24/35 [00:04<00:02, 5.22it/s]
71%|███████▏ | 25/35 [00:04<00:01, 5.22it/s]
74%|███████▍ | 26/35 [00:04<00:01, 5.21it/s]
77%|███████▋ | 27/35 [00:05<00:01, 5.21it/s]
80%|████████ | 28/35 [00:05<00:01, 5.21it/s]
83%|████████▎ | 29/35 [00:05<00:01, 5.21it/s]
86%|████████▌ | 30/35 [00:05<00:00, 5.21it/s]
89%|████████▊ | 31/35 [00:05<00:00, 5.21it/s]
91%|█████████▏| 32/35 [00:06<00:00, 5.21it/s]
94%|█████████▍| 33/35 [00:06<00:00, 5.21it/s]
97%|█████████▋| 34/35 [00:06<00:00, 5.21it/s]
100%|██████████| 35/35 [00:06<00:00, 5.21it/s]
100%|██████████| 35/35 [00:06<00:00, 5.29it/s]