Readme
DeepFashion SDXL with high resolution output
This model is maintained by DeepFashion.us
Generate high resolution image (Updated 10 months, 2 weeks ago)
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 omniedgeio/deepfashionsdxl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"omniedgeio/deepfashionsdxl:c5a81f3e847a328821191ae8aee7f9d5693d2f59635df444ae8c1d2bc3cd93a5",
{
input: {
hdr: 1,
width: 1024,
height: 1024,
prompt: "a young woman in a floral bikini stands on a beach, posing for a photo. she wears a necklace and seems to be enjoying her time at the beach. the sunset in the background adds a serene and picturesque atmosphere. the woman is the focal point of the scene, with the beach and sunset creating a peaceful and relaxing environment.",
refine: "base_image_refiner",
strength: 0.8,
scheduler: "DPMSolverSinglestepScheduler",
lora_scale: 0.6,
num_outputs: 1,
clothes_type: "Dress",
refine_steps: 10,
guidance_scale: 7.5,
condition_scale: 1.1,
high_noise_frac: 0.8,
negative_prompt: "illustration, cropped face, cover face, cover visage, mutated hands, bad anatomy, bad hands, three hands, three legs, bad arms,missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, worst face, three crus, extra crus, fused crus, worst feet, three feet, fused feet, fused thigh, three thigh, fused thigh, extra thigh, worst thigh, missing fingers, extra fingers, ugly fingers, long fingers, horn, extra eyes, huge eyes, 2girl, amputation, disconnected limbs, cartoon, cg, 3d, unreal, animate, not human, no head,low quality, worst quality, cgi, extra limbs, cleavage, pencil drawing, black and white, greyscale, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
prompt_strength: 0.8,
num_inference_steps: 28
}
}
);
// 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 omniedgeio/deepfashionsdxl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"omniedgeio/deepfashionsdxl:c5a81f3e847a328821191ae8aee7f9d5693d2f59635df444ae8c1d2bc3cd93a5",
input={
"hdr": 1,
"width": 1024,
"height": 1024,
"prompt": "a young woman in a floral bikini stands on a beach, posing for a photo. she wears a necklace and seems to be enjoying her time at the beach. the sunset in the background adds a serene and picturesque atmosphere. the woman is the focal point of the scene, with the beach and sunset creating a peaceful and relaxing environment.",
"refine": "base_image_refiner",
"strength": 0.8,
"scheduler": "DPMSolverSinglestepScheduler",
"lora_scale": 0.6,
"num_outputs": 1,
"clothes_type": "Dress",
"refine_steps": 10,
"guidance_scale": 7.5,
"condition_scale": 1.1,
"high_noise_frac": 0.8,
"negative_prompt": "illustration, cropped face, cover face, cover visage, mutated hands, bad anatomy, bad hands, three hands, three legs, bad arms,missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, worst face, three crus, extra crus, fused crus, worst feet, three feet, fused feet, fused thigh, three thigh, fused thigh, extra thigh, worst thigh, missing fingers, extra fingers, ugly fingers, long fingers, horn, extra eyes, huge eyes, 2girl, amputation, disconnected limbs, cartoon, cg, 3d, unreal, animate, not human, no head,low quality, worst quality, cgi, extra limbs, cleavage, pencil drawing, black and white, greyscale, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
"prompt_strength": 0.8,
"num_inference_steps": 28
}
)
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 omniedgeio/deepfashionsdxl 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": "omniedgeio/deepfashionsdxl:c5a81f3e847a328821191ae8aee7f9d5693d2f59635df444ae8c1d2bc3cd93a5",
"input": {
"hdr": 1,
"width": 1024,
"height": 1024,
"prompt": "a young woman in a floral bikini stands on a beach, posing for a photo. she wears a necklace and seems to be enjoying her time at the beach. the sunset in the background adds a serene and picturesque atmosphere. the woman is the focal point of the scene, with the beach and sunset creating a peaceful and relaxing environment.",
"refine": "base_image_refiner",
"strength": 0.8,
"scheduler": "DPMSolverSinglestepScheduler",
"lora_scale": 0.6,
"num_outputs": 1,
"clothes_type": "Dress",
"refine_steps": 10,
"guidance_scale": 7.5,
"condition_scale": 1.1,
"high_noise_frac": 0.8,
"negative_prompt": "illustration, cropped face, cover face, cover visage, mutated hands, bad anatomy, bad hands, three hands, three legs, bad arms,missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, worst face, three crus, extra crus, fused crus, worst feet, three feet, fused feet, fused thigh, three thigh, fused thigh, extra thigh, worst thigh, missing fingers, extra fingers, ugly fingers, long fingers, horn, extra eyes, huge eyes, 2girl, amputation, disconnected limbs, cartoon, cg, 3d, unreal, animate, not human, no head,low quality, worst quality, cgi, extra limbs, cleavage, pencil drawing, black and white, greyscale, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
"prompt_strength": 0.8,
"num_inference_steps": 28
}
}' \
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
{
"completed_at": "2024-07-02T19:59:27.433660Z",
"created_at": "2024-07-02T19:55:40.534000Z",
"data_removed": false,
"error": null,
"id": "dmnt0gb4esrgj0cgem2akqe52m",
"input": {
"hdr": 1,
"width": 1024,
"height": 1024,
"prompt": "a young woman in a floral bikini stands on a beach, posing for a photo. she wears a necklace and seems to be enjoying her time at the beach. the sunset in the background adds a serene and picturesque atmosphere. the woman is the focal point of the scene, with the beach and sunset creating a peaceful and relaxing environment.",
"refine": "base_image_refiner",
"strength": 0.8,
"scheduler": "DPMSolverSinglestepScheduler",
"lora_scale": 0.6,
"num_outputs": 1,
"refine_steps": 10,
"guidance_scale": 7.5,
"apply_watermark": false,
"condition_scale": 1.1,
"high_noise_frac": 0.8,
"negative_prompt": "illustration, cropped face, cover face, cover visage, mutated hands, bad anatomy, bad hands, three hands, three legs, bad arms,missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, worst face, three crus, extra crus, fused crus, worst feet, three feet, fused feet, fused thigh, three thigh, fused thigh, extra thigh, worst thigh, missing fingers, extra fingers, ugly fingers, long fingers, horn, extra eyes, huge eyes, 2girl, amputation, disconnected limbs, cartoon, cg, 3d, unreal, animate, not human, no head,low quality, worst quality, cgi, extra limbs, cleavage, pencil drawing, black and white, greyscale, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
"prompt_strength": 0.8,
"num_inference_steps": 28
},
"logs": "Using seed: 37898\nPrompt: a young woman in a floral bikini stands on a beach, posing for a photo. she wears a necklace and seems to be enjoying her time at the beach. the sunset in the background adds a serene and picturesque atmosphere. the woman is the focal point of the scene, with the beach and sunset creating a peaceful and relaxing environment.\ntxt2img mode\nThe config attributes {'final_sigmas_type': 'zero', 'sigma_max': None, 'sigma_min': None, 'timestep_type': 'discrete'} were passed to DPMSolverSinglestepScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:03, 8.03it/s]\n 7%|▋ | 2/28 [00:00<00:03, 8.46it/s]\n 11%|█ | 3/28 [00:00<00:02, 8.63it/s]\n 14%|█▍ | 4/28 [00:00<00:02, 8.73it/s]\n 18%|█▊ | 5/28 [00:00<00:02, 8.77it/s]\n 21%|██▏ | 6/28 [00:00<00:02, 8.79it/s]\n 25%|██▌ | 7/28 [00:00<00:02, 8.82it/s]\n 29%|██▊ | 8/28 [00:00<00:02, 8.81it/s]\n 32%|███▏ | 9/28 [00:01<00:02, 8.81it/s]\n 36%|███▌ | 10/28 [00:01<00:02, 8.80it/s]\n 39%|███▉ | 11/28 [00:01<00:01, 8.80it/s]\n 43%|████▎ | 12/28 [00:01<00:01, 8.80it/s]\n 46%|████▋ | 13/28 [00:01<00:01, 8.80it/s]\n 50%|█████ | 14/28 [00:01<00:01, 8.80it/s]\n 54%|█████▎ | 15/28 [00:01<00:01, 8.80it/s]\n 57%|█████▋ | 16/28 [00:01<00:01, 8.80it/s]\n 61%|██████ | 17/28 [00:01<00:01, 8.81it/s]\n 64%|██████▍ | 18/28 [00:02<00:01, 8.80it/s]\n 68%|██████▊ | 19/28 [00:02<00:01, 8.80it/s]\n 71%|███████▏ | 20/28 [00:02<00:00, 8.80it/s]\n 75%|███████▌ | 21/28 [00:02<00:00, 8.80it/s]\n 79%|███████▊ | 22/28 [00:02<00:00, 8.80it/s]\n 82%|████████▏ | 23/28 [00:02<00:00, 8.80it/s]\n 86%|████████▌ | 24/28 [00:02<00:00, 8.80it/s]\n 89%|████████▉ | 25/28 [00:02<00:00, 8.80it/s]\n 93%|█████████▎| 26/28 [00:02<00:00, 8.80it/s]\n 96%|█████████▋| 27/28 [00:03<00:00, 8.80it/s]\n100%|██████████| 28/28 [00:03<00:00, 8.80it/s]\n100%|██████████| 28/28 [00:03<00:00, 8.78it/s]\n 0%| | 0/3 [00:00<?, ?it/s]\n 33%|███▎ | 1/3 [00:00<00:00, 7.44it/s]\n 67%|██████▋ | 2/3 [00:00<00:00, 7.67it/s]\n100%|██████████| 3/3 [00:00<00:00, 7.75it/s]\n100%|██████████| 3/3 [00:00<00:00, 7.70it/s]\n/root/.pyenv/versions/3.9.19/lib/python3.9/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.\nwarnings.warn(\n/root/.pyenv/versions/3.9.19/lib/python3.9/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.\nwarnings.warn(msg)\nDownloading: \"https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth\" to /src/gfpgan/weights/detection_Resnet50_Final.pth\n 0%| | 0.00/104M [00:00<?, ?B/s]\n 20%|██ | 21.3M/104M [00:00<00:00, 224MB/s]\n 48%|████▊ | 50.3M/104M [00:00<00:00, 271MB/s]\n 93%|█████████▎| 96.9M/104M [00:00<00:00, 370MB/s]\n100%|██████████| 104M/104M [00:00<00:00, 346MB/s]\nDownloading: \"https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth\" to /src/gfpgan/weights/parsing_parsenet.pth\n 0%| | 0.00/81.4M [00:00<?, ?B/s]\n 26%|██▌ | 21.3M/81.4M [00:00<00:00, 223MB/s]\n 71%|███████▏ | 58.1M/81.4M [00:00<00:00, 319MB/s]\n100%|██████████| 81.4M/81.4M [00:00<00:00, 342MB/s]",
"metrics": {
"predict_time": 16.56205749,
"total_time": 226.89966
},
"output": [
"https://replicate.delivery/pbxt/R9Slyszx3f0CDC20dc6k11gPgfvTtSlOmiDshdpVeze1hDSMB/output.png"
],
"started_at": "2024-07-02T19:59:10.871603Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/dmnt0gb4esrgj0cgem2akqe52m",
"cancel": "https://api.replicate.com/v1/predictions/dmnt0gb4esrgj0cgem2akqe52m/cancel"
},
"version": "23356eb92f617f63b19d769f942ec696b3ed9d197a249593c53fdfaf7a983f28"
}
Using seed: 37898
Prompt: a young woman in a floral bikini stands on a beach, posing for a photo. she wears a necklace and seems to be enjoying her time at the beach. the sunset in the background adds a serene and picturesque atmosphere. the woman is the focal point of the scene, with the beach and sunset creating a peaceful and relaxing environment.
txt2img mode
The config attributes {'final_sigmas_type': 'zero', 'sigma_max': None, 'sigma_min': None, 'timestep_type': 'discrete'} were passed to DPMSolverSinglestepScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
0%| | 0/28 [00:00<?, ?it/s]
4%|▎ | 1/28 [00:00<00:03, 8.03it/s]
7%|▋ | 2/28 [00:00<00:03, 8.46it/s]
11%|█ | 3/28 [00:00<00:02, 8.63it/s]
14%|█▍ | 4/28 [00:00<00:02, 8.73it/s]
18%|█▊ | 5/28 [00:00<00:02, 8.77it/s]
21%|██▏ | 6/28 [00:00<00:02, 8.79it/s]
25%|██▌ | 7/28 [00:00<00:02, 8.82it/s]
29%|██▊ | 8/28 [00:00<00:02, 8.81it/s]
32%|███▏ | 9/28 [00:01<00:02, 8.81it/s]
36%|███▌ | 10/28 [00:01<00:02, 8.80it/s]
39%|███▉ | 11/28 [00:01<00:01, 8.80it/s]
43%|████▎ | 12/28 [00:01<00:01, 8.80it/s]
46%|████▋ | 13/28 [00:01<00:01, 8.80it/s]
50%|█████ | 14/28 [00:01<00:01, 8.80it/s]
54%|█████▎ | 15/28 [00:01<00:01, 8.80it/s]
57%|█████▋ | 16/28 [00:01<00:01, 8.80it/s]
61%|██████ | 17/28 [00:01<00:01, 8.81it/s]
64%|██████▍ | 18/28 [00:02<00:01, 8.80it/s]
68%|██████▊ | 19/28 [00:02<00:01, 8.80it/s]
71%|███████▏ | 20/28 [00:02<00:00, 8.80it/s]
75%|███████▌ | 21/28 [00:02<00:00, 8.80it/s]
79%|███████▊ | 22/28 [00:02<00:00, 8.80it/s]
82%|████████▏ | 23/28 [00:02<00:00, 8.80it/s]
86%|████████▌ | 24/28 [00:02<00:00, 8.80it/s]
89%|████████▉ | 25/28 [00:02<00:00, 8.80it/s]
93%|█████████▎| 26/28 [00:02<00:00, 8.80it/s]
96%|█████████▋| 27/28 [00:03<00:00, 8.80it/s]
100%|██████████| 28/28 [00:03<00:00, 8.80it/s]
100%|██████████| 28/28 [00:03<00:00, 8.78it/s]
0%| | 0/3 [00:00<?, ?it/s]
33%|███▎ | 1/3 [00:00<00:00, 7.44it/s]
67%|██████▋ | 2/3 [00:00<00:00, 7.67it/s]
100%|██████████| 3/3 [00:00<00:00, 7.75it/s]
100%|██████████| 3/3 [00:00<00:00, 7.70it/s]
/root/.pyenv/versions/3.9.19/lib/python3.9/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/root/.pyenv/versions/3.9.19/lib/python3.9/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
warnings.warn(msg)
Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth" to /src/gfpgan/weights/detection_Resnet50_Final.pth
0%| | 0.00/104M [00:00<?, ?B/s]
20%|██ | 21.3M/104M [00:00<00:00, 224MB/s]
48%|████▊ | 50.3M/104M [00:00<00:00, 271MB/s]
93%|█████████▎| 96.9M/104M [00:00<00:00, 370MB/s]
100%|██████████| 104M/104M [00:00<00:00, 346MB/s]
Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth" to /src/gfpgan/weights/parsing_parsenet.pth
0%| | 0.00/81.4M [00:00<?, ?B/s]
26%|██▌ | 21.3M/81.4M [00:00<00:00, 223MB/s]
71%|███████▏ | 58.1M/81.4M [00:00<00:00, 319MB/s]
100%|██████████| 81.4M/81.4M [00:00<00:00, 342MB/s]
This output was created using a different version of the model, omniedgeio/deepfashionsdxl:23356eb9.
This model costs approximately $0.021 to run on Replicate, or 47 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia A100 (80GB) GPU hardware. Predictions typically complete within 16 seconds. The predict time for this model varies significantly based on the inputs.
DeepFashion SDXL with high resolution output
This model is maintained by DeepFashion.us
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Using seed: 37898
Prompt: a young woman in a floral bikini stands on a beach, posing for a photo. she wears a necklace and seems to be enjoying her time at the beach. the sunset in the background adds a serene and picturesque atmosphere. the woman is the focal point of the scene, with the beach and sunset creating a peaceful and relaxing environment.
txt2img mode
The config attributes {'final_sigmas_type': 'zero', 'sigma_max': None, 'sigma_min': None, 'timestep_type': 'discrete'} were passed to DPMSolverSinglestepScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
0%| | 0/28 [00:00<?, ?it/s]
4%|▎ | 1/28 [00:00<00:03, 8.03it/s]
7%|▋ | 2/28 [00:00<00:03, 8.46it/s]
11%|█ | 3/28 [00:00<00:02, 8.63it/s]
14%|█▍ | 4/28 [00:00<00:02, 8.73it/s]
18%|█▊ | 5/28 [00:00<00:02, 8.77it/s]
21%|██▏ | 6/28 [00:00<00:02, 8.79it/s]
25%|██▌ | 7/28 [00:00<00:02, 8.82it/s]
29%|██▊ | 8/28 [00:00<00:02, 8.81it/s]
32%|███▏ | 9/28 [00:01<00:02, 8.81it/s]
36%|███▌ | 10/28 [00:01<00:02, 8.80it/s]
39%|███▉ | 11/28 [00:01<00:01, 8.80it/s]
43%|████▎ | 12/28 [00:01<00:01, 8.80it/s]
46%|████▋ | 13/28 [00:01<00:01, 8.80it/s]
50%|█████ | 14/28 [00:01<00:01, 8.80it/s]
54%|█████▎ | 15/28 [00:01<00:01, 8.80it/s]
57%|█████▋ | 16/28 [00:01<00:01, 8.80it/s]
61%|██████ | 17/28 [00:01<00:01, 8.81it/s]
64%|██████▍ | 18/28 [00:02<00:01, 8.80it/s]
68%|██████▊ | 19/28 [00:02<00:01, 8.80it/s]
71%|███████▏ | 20/28 [00:02<00:00, 8.80it/s]
75%|███████▌ | 21/28 [00:02<00:00, 8.80it/s]
79%|███████▊ | 22/28 [00:02<00:00, 8.80it/s]
82%|████████▏ | 23/28 [00:02<00:00, 8.80it/s]
86%|████████▌ | 24/28 [00:02<00:00, 8.80it/s]
89%|████████▉ | 25/28 [00:02<00:00, 8.80it/s]
93%|█████████▎| 26/28 [00:02<00:00, 8.80it/s]
96%|█████████▋| 27/28 [00:03<00:00, 8.80it/s]
100%|██████████| 28/28 [00:03<00:00, 8.80it/s]
100%|██████████| 28/28 [00:03<00:00, 8.78it/s]
0%| | 0/3 [00:00<?, ?it/s]
33%|███▎ | 1/3 [00:00<00:00, 7.44it/s]
67%|██████▋ | 2/3 [00:00<00:00, 7.67it/s]
100%|██████████| 3/3 [00:00<00:00, 7.75it/s]
100%|██████████| 3/3 [00:00<00:00, 7.70it/s]
/root/.pyenv/versions/3.9.19/lib/python3.9/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/root/.pyenv/versions/3.9.19/lib/python3.9/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
warnings.warn(msg)
Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth" to /src/gfpgan/weights/detection_Resnet50_Final.pth
0%| | 0.00/104M [00:00<?, ?B/s]
20%|██ | 21.3M/104M [00:00<00:00, 224MB/s]
48%|████▊ | 50.3M/104M [00:00<00:00, 271MB/s]
93%|█████████▎| 96.9M/104M [00:00<00:00, 370MB/s]
100%|██████████| 104M/104M [00:00<00:00, 346MB/s]
Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth" to /src/gfpgan/weights/parsing_parsenet.pth
0%| | 0.00/81.4M [00:00<?, ?B/s]
26%|██▌ | 21.3M/81.4M [00:00<00:00, 223MB/s]
71%|███████▏ | 58.1M/81.4M [00:00<00:00, 319MB/s]
100%|██████████| 81.4M/81.4M [00:00<00:00, 342MB/s]