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.
prompthero /epicrealism:dd027f64
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 prompthero/epicrealism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"prompthero/epicrealism:dd027f64fca42dca8a3debe12920c876f5dca7a0f6dcb08fab5ded5c42e4b4ad",
{
input: {
seed: 3238363855,
width: 512,
height: 512,
prompt: "Russian woman, helmet with clear glass shield, space suit, blonde hair, pretty face, high detail face, high detail eyes, high detail costume, mars backdrop, masterpiece, best quality, high detail, realistic,photo quality, high quality,(photorealistic:1.4)\n",
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",
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.
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 prompthero/epicrealism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"prompthero/epicrealism:dd027f64fca42dca8a3debe12920c876f5dca7a0f6dcb08fab5ded5c42e4b4ad",
input={
"seed": 3238363855,
"width": 512,
"height": 512,
"prompt": "Russian woman, helmet with clear glass shield, space suit, blonde hair, pretty face, high detail face, high detail eyes, high detail costume, mars backdrop, masterpiece, best quality, high detail, realistic,photo quality, high quality,(photorealistic:1.4)\n",
"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",
"prompt_strength": 0.8,
"num_inference_steps": 30
}
)
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 prompthero/epicrealism 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": "prompthero/epicrealism:dd027f64fca42dca8a3debe12920c876f5dca7a0f6dcb08fab5ded5c42e4b4ad",
"input": {
"seed": 3238363855,
"width": 512,
"height": 512,
"prompt": "Russian woman, helmet with clear glass shield, space suit, blonde hair, pretty face, high detail face, high detail eyes, high detail costume, mars backdrop, masterpiece, best quality, high detail, realistic,photo quality, high quality,(photorealistic:1.4)\\n",
"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",
"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.
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-07-07T05:58:43.206716Z",
"created_at": "2023-07-07T05:58:39.133685Z",
"data_removed": false,
"error": null,
"id": "iq7x2z3bbsydr2am5muzc4ltou",
"input": {
"seed": 3238363855,
"width": 512,
"height": "512",
"prompt": "Russian woman, helmet with clear glass shield, space suit, blonde hair, pretty face, high detail face, high detail eyes, high detail costume, mars backdrop, masterpiece, best quality, high detail, realistic,photo quality, high quality,(photorealistic:1.4)\n",
"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",
"prompt_strength": 0.8,
"num_inference_steps": 30
},
"logs": "Using seed: 3238363855\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:02, 10.55it/s]\n 13%|█▎ | 4/30 [00:00<00:02, 10.55it/s]\n 20%|██ | 6/30 [00:00<00:02, 10.54it/s]\n 27%|██▋ | 8/30 [00:00<00:02, 10.54it/s]\n 33%|███▎ | 10/30 [00:00<00:01, 10.54it/s]\n 40%|████ | 12/30 [00:01<00:01, 10.54it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 10.54it/s]\n 53%|█████▎ | 16/30 [00:01<00:01, 10.54it/s]\n 60%|██████ | 18/30 [00:01<00:01, 10.54it/s]\n 67%|██████▋ | 20/30 [00:01<00:00, 10.54it/s]\n 73%|███████▎ | 22/30 [00:02<00:00, 10.54it/s]\n 80%|████████ | 24/30 [00:02<00:00, 10.53it/s]\n 87%|████████▋ | 26/30 [00:02<00:00, 10.53it/s]\n 93%|█████████▎| 28/30 [00:02<00:00, 10.54it/s]\n100%|██████████| 30/30 [00:02<00:00, 10.54it/s]\n100%|██████████| 30/30 [00:02<00:00, 10.54it/s]",
"metrics": {
"predict_time": 4.062725,
"total_time": 4.073031
},
"output": [
"https://replicate.delivery/pbxt/WRVckffJLJgzpEKCMF6fgJi8Kwt0JLSwrBY4nbEdbSllcraiA/out-0.png"
],
"started_at": "2023-07-07T05:58:39.143991Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/iq7x2z3bbsydr2am5muzc4ltou",
"cancel": "https://api.replicate.com/v1/predictions/iq7x2z3bbsydr2am5muzc4ltou/cancel"
},
"version": "dd027f64fca42dca8a3debe12920c876f5dca7a0f6dcb08fab5ded5c42e4b4ad"
}
Using seed: 3238363855
0%| | 0/30 [00:00<?, ?it/s]
7%|▋ | 2/30 [00:00<00:02, 10.55it/s]
13%|█▎ | 4/30 [00:00<00:02, 10.55it/s]
20%|██ | 6/30 [00:00<00:02, 10.54it/s]
27%|██▋ | 8/30 [00:00<00:02, 10.54it/s]
33%|███▎ | 10/30 [00:00<00:01, 10.54it/s]
40%|████ | 12/30 [00:01<00:01, 10.54it/s]
47%|████▋ | 14/30 [00:01<00:01, 10.54it/s]
53%|█████▎ | 16/30 [00:01<00:01, 10.54it/s]
60%|██████ | 18/30 [00:01<00:01, 10.54it/s]
67%|██████▋ | 20/30 [00:01<00:00, 10.54it/s]
73%|███████▎ | 22/30 [00:02<00:00, 10.54it/s]
80%|████████ | 24/30 [00:02<00:00, 10.53it/s]
87%|████████▋ | 26/30 [00:02<00:00, 10.53it/s]
93%|█████████▎| 28/30 [00:02<00:00, 10.54it/s]
100%|██████████| 30/30 [00:02<00:00, 10.54it/s]
100%|██████████| 30/30 [00:02<00:00, 10.54it/s]