omniedgeio / deepfashionsdxl
Generate high resolution image
- Public
- 1.3K runs
-
A100 (80GB)
Prediction
omniedgeio/deepfashionsdxl:f739c74c0b1bd61419461ebf0087b55173a214d9df8b2848b728a2c31e36be60IDd70wcw5z7drgj0cfydrs8p82xrStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- hdr
- 0.5
- width
- 1024
- height
- 1024
- prompt
- An astronaut riding a rainbow unicorn, cinematic, dramatic
- refine
- base_image_refiner
- scheduler
- K_EULER_ANCESTRAL
- lora_scale
- 0.6
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "hdr": 0.5, "width": 1024, "height": 1024, "prompt": "An astronaut riding a rainbow unicorn, cinematic, dramatic", "refine": "base_image_refiner", "scheduler": "K_EULER_ANCESTRAL", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 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:f739c74c0b1bd61419461ebf0087b55173a214d9df8b2848b728a2c31e36be60", { input: { hdr: 0.5, width: 1024, height: 1024, prompt: "An astronaut riding a rainbow unicorn, cinematic, dramatic", refine: "base_image_refiner", scheduler: "K_EULER_ANCESTRAL", lora_scale: 0.6, num_outputs: 1, guidance_scale: 7.5, apply_watermark: false, high_noise_frac: 0.8, negative_prompt: "", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 omniedgeio/deepfashionsdxl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "omniedgeio/deepfashionsdxl:f739c74c0b1bd61419461ebf0087b55173a214d9df8b2848b728a2c31e36be60", input={ "hdr": 0.5, "width": 1024, "height": 1024, "prompt": "An astronaut riding a rainbow unicorn, cinematic, dramatic", "refine": "base_image_refiner", "scheduler": "K_EULER_ANCESTRAL", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": False, "high_noise_frac": 0.8, "negative_prompt": "", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:f739c74c0b1bd61419461ebf0087b55173a214d9df8b2848b728a2c31e36be60", "input": { "hdr": 0.5, "width": 1024, "height": 1024, "prompt": "An astronaut riding a rainbow unicorn, cinematic, dramatic", "refine": "base_image_refiner", "scheduler": "K_EULER_ANCESTRAL", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/omniedgeio/deepfashionsdxl@sha256:f739c74c0b1bd61419461ebf0087b55173a214d9df8b2848b728a2c31e36be60 \ -i 'hdr=0.5' \ -i 'width=1024' \ -i 'height=1024' \ -i 'prompt="An astronaut riding a rainbow unicorn, cinematic, dramatic"' \ -i 'refine="base_image_refiner"' \ -i 'scheduler="K_EULER_ANCESTRAL"' \ -i 'lora_scale=0.6' \ -i 'num_outputs=1' \ -i 'guidance_scale=7.5' \ -i 'apply_watermark=false' \ -i 'high_noise_frac=0.8' \ -i 'negative_prompt=""' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/omniedgeio/deepfashionsdxl@sha256:f739c74c0b1bd61419461ebf0087b55173a214d9df8b2848b728a2c31e36be60
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "hdr": 0.5, "width": 1024, "height": 1024, "prompt": "An astronaut riding a rainbow unicorn, cinematic, dramatic", "refine": "base_image_refiner", "scheduler": "K_EULER_ANCESTRAL", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-06-07T16:05:44.085706Z", "created_at": "2024-06-07T16:04:29.115000Z", "data_removed": false, "error": null, "id": "d70wcw5z7drgj0cfydrs8p82xr", "input": { "hdr": 0.5, "width": 1024, "height": 1024, "prompt": "An astronaut riding a rainbow unicorn, cinematic, dramatic", "refine": "base_image_refiner", "scheduler": "K_EULER_ANCESTRAL", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 17852\nPrompt: An astronaut riding a rainbow unicorn, cinematic, dramatic\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:06, 7.97it/s]\n 4%|▍ | 2/50 [00:00<00:05, 8.00it/s]\n 6%|▌ | 3/50 [00:00<00:05, 8.32it/s]\n 8%|▊ | 4/50 [00:00<00:05, 8.49it/s]\n 10%|█ | 5/50 [00:00<00:05, 8.59it/s]\n 12%|█▏ | 6/50 [00:00<00:05, 8.65it/s]\n 14%|█▍ | 7/50 [00:00<00:04, 8.69it/s]\n 16%|█▌ | 8/50 [00:00<00:04, 8.72it/s]\n 18%|█▊ | 9/50 [00:01<00:04, 8.73it/s]\n 20%|██ | 10/50 [00:01<00:04, 8.74it/s]\n 22%|██▏ | 11/50 [00:01<00:04, 8.75it/s]\n 24%|██▍ | 12/50 [00:01<00:04, 8.76it/s]\n 26%|██▌ | 13/50 [00:01<00:04, 8.75it/s]\n 28%|██▊ | 14/50 [00:01<00:04, 8.74it/s]\n 30%|███ | 15/50 [00:01<00:04, 8.74it/s]\n 32%|███▏ | 16/50 [00:01<00:03, 8.74it/s]\n 34%|███▍ | 17/50 [00:01<00:03, 8.74it/s]\n 36%|███▌ | 18/50 [00:02<00:03, 8.75it/s]\n 38%|███▊ | 19/50 [00:02<00:03, 8.75it/s]\n 40%|████ | 20/50 [00:02<00:03, 8.76it/s]\n 42%|████▏ | 21/50 [00:02<00:03, 8.74it/s]\n 44%|████▍ | 22/50 [00:02<00:03, 8.74it/s]\n 46%|████▌ | 23/50 [00:02<00:03, 8.72it/s]\n 48%|████▊ | 24/50 [00:02<00:02, 8.73it/s]\n 50%|█████ | 25/50 [00:02<00:02, 8.72it/s]\n 52%|█████▏ | 26/50 [00:02<00:02, 8.72it/s]\n 54%|█████▍ | 27/50 [00:03<00:02, 8.72it/s]\n 56%|█████▌ | 28/50 [00:03<00:02, 8.73it/s]\n 58%|█████▊ | 29/50 [00:03<00:02, 8.73it/s]\n 60%|██████ | 30/50 [00:03<00:02, 8.72it/s]\n 62%|██████▏ | 31/50 [00:03<00:02, 8.74it/s]\n 64%|██████▍ | 32/50 [00:03<00:02, 8.74it/s]\n 66%|██████▌ | 33/50 [00:03<00:01, 8.73it/s]\n 68%|██████▊ | 34/50 [00:03<00:01, 8.73it/s]\n 70%|███████ | 35/50 [00:04<00:01, 8.74it/s]\n 72%|███████▏ | 36/50 [00:04<00:01, 8.74it/s]\n 74%|███████▍ | 37/50 [00:04<00:01, 8.74it/s]\n 76%|███████▌ | 38/50 [00:04<00:01, 8.75it/s]\n 78%|███████▊ | 39/50 [00:04<00:01, 8.74it/s]\n 80%|████████ | 40/50 [00:04<00:01, 8.75it/s]\n 82%|████████▏ | 41/50 [00:04<00:01, 8.74it/s]\n 84%|████████▍ | 42/50 [00:04<00:00, 8.74it/s]\n 86%|████████▌ | 43/50 [00:04<00:00, 8.74it/s]\n 88%|████████▊ | 44/50 [00:05<00:00, 8.74it/s]\n 90%|█████████ | 45/50 [00:05<00:00, 8.74it/s]\n 92%|█████████▏| 46/50 [00:05<00:00, 8.74it/s]\n 94%|█████████▍| 47/50 [00:05<00:00, 8.73it/s]\n 96%|█████████▌| 48/50 [00:05<00:00, 8.73it/s]\n 98%|█████████▊| 49/50 [00:05<00:00, 8.72it/s]\n100%|██████████| 50/50 [00:05<00:00, 8.73it/s]\n100%|██████████| 50/50 [00:05<00:00, 8.71it/s]\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:00<00:01, 7.27it/s]\n 13%|█▎ | 2/15 [00:00<00:01, 7.57it/s]\n 20%|██ | 3/15 [00:00<00:01, 7.69it/s]\n 27%|██▋ | 4/15 [00:00<00:01, 7.74it/s]\n 33%|███▎ | 5/15 [00:00<00:01, 7.77it/s]\n 40%|████ | 6/15 [00:00<00:01, 7.78it/s]\n 47%|████▋ | 7/15 [00:00<00:01, 7.79it/s]\n 53%|█████▎ | 8/15 [00:01<00:00, 7.80it/s]\n 60%|██████ | 9/15 [00:01<00:00, 7.80it/s]\n 67%|██████▋ | 10/15 [00:01<00:00, 7.80it/s]\n 73%|███████▎ | 11/15 [00:01<00:00, 7.80it/s]\n 80%|████████ | 12/15 [00:01<00:00, 7.81it/s]\n 87%|████████▋ | 13/15 [00:01<00:00, 7.81it/s]\n 93%|█████████▎| 14/15 [00:01<00:00, 7.80it/s]\n100%|██████████| 15/15 [00:01<00:00, 7.80it/s]\n100%|██████████| 15/15 [00:01<00:00, 7.77it/s]", "metrics": { "predict_time": 20.150416, "total_time": 74.970706 }, "output": [ "https://replicate.delivery/pbxt/92RpLb4Ad1r7CZZJeSoIaVeudGHGevHWHJaoXLAWXAltOc4lA/DF2024-Image.png" ], "started_at": "2024-06-07T16:05:23.935290Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/d70wcw5z7drgj0cfydrs8p82xr", "cancel": "https://api.replicate.com/v1/predictions/d70wcw5z7drgj0cfydrs8p82xr/cancel" }, "version": "f739c74c0b1bd61419461ebf0087b55173a214d9df8b2848b728a2c31e36be60" }
Generated inUsing seed: 17852 Prompt: An astronaut riding a rainbow unicorn, cinematic, dramatic txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:06, 7.97it/s] 4%|▍ | 2/50 [00:00<00:05, 8.00it/s] 6%|▌ | 3/50 [00:00<00:05, 8.32it/s] 8%|▊ | 4/50 [00:00<00:05, 8.49it/s] 10%|█ | 5/50 [00:00<00:05, 8.59it/s] 12%|█▏ | 6/50 [00:00<00:05, 8.65it/s] 14%|█▍ | 7/50 [00:00<00:04, 8.69it/s] 16%|█▌ | 8/50 [00:00<00:04, 8.72it/s] 18%|█▊ | 9/50 [00:01<00:04, 8.73it/s] 20%|██ | 10/50 [00:01<00:04, 8.74it/s] 22%|██▏ | 11/50 [00:01<00:04, 8.75it/s] 24%|██▍ | 12/50 [00:01<00:04, 8.76it/s] 26%|██▌ | 13/50 [00:01<00:04, 8.75it/s] 28%|██▊ | 14/50 [00:01<00:04, 8.74it/s] 30%|███ | 15/50 [00:01<00:04, 8.74it/s] 32%|███▏ | 16/50 [00:01<00:03, 8.74it/s] 34%|███▍ | 17/50 [00:01<00:03, 8.74it/s] 36%|███▌ | 18/50 [00:02<00:03, 8.75it/s] 38%|███▊ | 19/50 [00:02<00:03, 8.75it/s] 40%|████ | 20/50 [00:02<00:03, 8.76it/s] 42%|████▏ | 21/50 [00:02<00:03, 8.74it/s] 44%|████▍ | 22/50 [00:02<00:03, 8.74it/s] 46%|████▌ | 23/50 [00:02<00:03, 8.72it/s] 48%|████▊ | 24/50 [00:02<00:02, 8.73it/s] 50%|█████ | 25/50 [00:02<00:02, 8.72it/s] 52%|█████▏ | 26/50 [00:02<00:02, 8.72it/s] 54%|█████▍ | 27/50 [00:03<00:02, 8.72it/s] 56%|█████▌ | 28/50 [00:03<00:02, 8.73it/s] 58%|█████▊ | 29/50 [00:03<00:02, 8.73it/s] 60%|██████ | 30/50 [00:03<00:02, 8.72it/s] 62%|██████▏ | 31/50 [00:03<00:02, 8.74it/s] 64%|██████▍ | 32/50 [00:03<00:02, 8.74it/s] 66%|██████▌ | 33/50 [00:03<00:01, 8.73it/s] 68%|██████▊ | 34/50 [00:03<00:01, 8.73it/s] 70%|███████ | 35/50 [00:04<00:01, 8.74it/s] 72%|███████▏ | 36/50 [00:04<00:01, 8.74it/s] 74%|███████▍ | 37/50 [00:04<00:01, 8.74it/s] 76%|███████▌ | 38/50 [00:04<00:01, 8.75it/s] 78%|███████▊ | 39/50 [00:04<00:01, 8.74it/s] 80%|████████ | 40/50 [00:04<00:01, 8.75it/s] 82%|████████▏ | 41/50 [00:04<00:01, 8.74it/s] 84%|████████▍ | 42/50 [00:04<00:00, 8.74it/s] 86%|████████▌ | 43/50 [00:04<00:00, 8.74it/s] 88%|████████▊ | 44/50 [00:05<00:00, 8.74it/s] 90%|█████████ | 45/50 [00:05<00:00, 8.74it/s] 92%|█████████▏| 46/50 [00:05<00:00, 8.74it/s] 94%|█████████▍| 47/50 [00:05<00:00, 8.73it/s] 96%|█████████▌| 48/50 [00:05<00:00, 8.73it/s] 98%|█████████▊| 49/50 [00:05<00:00, 8.72it/s] 100%|██████████| 50/50 [00:05<00:00, 8.73it/s] 100%|██████████| 50/50 [00:05<00:00, 8.71it/s] 0%| | 0/15 [00:00<?, ?it/s] 7%|▋ | 1/15 [00:00<00:01, 7.27it/s] 13%|█▎ | 2/15 [00:00<00:01, 7.57it/s] 20%|██ | 3/15 [00:00<00:01, 7.69it/s] 27%|██▋ | 4/15 [00:00<00:01, 7.74it/s] 33%|███▎ | 5/15 [00:00<00:01, 7.77it/s] 40%|████ | 6/15 [00:00<00:01, 7.78it/s] 47%|████▋ | 7/15 [00:00<00:01, 7.79it/s] 53%|█████▎ | 8/15 [00:01<00:00, 7.80it/s] 60%|██████ | 9/15 [00:01<00:00, 7.80it/s] 67%|██████▋ | 10/15 [00:01<00:00, 7.80it/s] 73%|███████▎ | 11/15 [00:01<00:00, 7.80it/s] 80%|████████ | 12/15 [00:01<00:00, 7.81it/s] 87%|████████▋ | 13/15 [00:01<00:00, 7.81it/s] 93%|█████████▎| 14/15 [00:01<00:00, 7.80it/s] 100%|██████████| 15/15 [00:01<00:00, 7.80it/s] 100%|██████████| 15/15 [00:01<00:00, 7.77it/s]
Prediction
omniedgeio/deepfashionsdxl:a3bfe0b3be7300072b03c7367e9d4bfdd14d484c4a6ae878a3c464cf93e0dc3eID39bn4vj2gxrgj0cg9y69h06r28StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- 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
- K_EULER
- lora_scale
- 0.6
- num_outputs
- 1
- refine_steps
- 10
- guidance_scale
- 7.5
- apply_watermark
- 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
{ "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": "K_EULER", "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 }
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 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:a3bfe0b3be7300072b03c7367e9d4bfdd14d484c4a6ae878a3c464cf93e0dc3e", { 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: "K_EULER", 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 } } ); // 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 omniedgeio/deepfashionsdxl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "omniedgeio/deepfashionsdxl:a3bfe0b3be7300072b03c7367e9d4bfdd14d484c4a6ae878a3c464cf93e0dc3e", 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": "K_EULER", "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 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:a3bfe0b3be7300072b03c7367e9d4bfdd14d484c4a6ae878a3c464cf93e0dc3e", "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": "K_EULER", "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 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/omniedgeio/deepfashionsdxl@sha256:a3bfe0b3be7300072b03c7367e9d4bfdd14d484c4a6ae878a3c464cf93e0dc3e \ -i 'hdr=1' \ -i 'width=1024' \ -i 'height=1024' \ -i '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."' \ -i 'refine="base_image_refiner"' \ -i 'strength=0.8' \ -i 'scheduler="K_EULER"' \ -i 'lora_scale=0.6' \ -i 'num_outputs=1' \ -i 'refine_steps=10' \ -i 'guidance_scale=7.5' \ -i 'apply_watermark=false' \ -i 'condition_scale=1.1' \ -i 'high_noise_frac=0.8' \ -i '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"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=28'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/omniedgeio/deepfashionsdxl@sha256:a3bfe0b3be7300072b03c7367e9d4bfdd14d484c4a6ae878a3c464cf93e0dc3e
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "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": "K_EULER", "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 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-06-25T13:19:39.081256Z", "created_at": "2024-06-25T13:18:30.535000Z", "data_removed": false, "error": null, "id": "39bn4vj2gxrgj0cg9y69h06r28", "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": "K_EULER", "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: 20405\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\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:20, 1.35it/s]\n 7%|▋ | 2/28 [00:00<00:09, 2.68it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.94it/s]\n 14%|█▍ | 4/28 [00:01<00:04, 5.05it/s]\n 18%|█▊ | 5/28 [00:01<00:03, 5.98it/s]\n 21%|██▏ | 6/28 [00:01<00:03, 6.73it/s]\n 25%|██▌ | 7/28 [00:01<00:02, 7.30it/s]\n 29%|██▊ | 8/28 [00:01<00:02, 7.73it/s]\n 32%|███▏ | 9/28 [00:01<00:02, 8.05it/s]\n 36%|███▌ | 10/28 [00:01<00:02, 8.28it/s]\n 39%|███▉ | 11/28 [00:01<00:02, 8.45it/s]\n 43%|████▎ | 12/28 [00:01<00:01, 8.55it/s]\n 46%|████▋ | 13/28 [00:02<00:01, 8.63it/s]\n 50%|█████ | 14/28 [00:02<00:01, 8.70it/s]\n 54%|█████▎ | 15/28 [00:02<00:01, 8.76it/s]\n 57%|█████▋ | 16/28 [00:02<00:01, 8.80it/s]\n 61%|██████ | 17/28 [00:02<00:01, 8.81it/s]\n 64%|██████▍ | 18/28 [00:02<00:01, 8.82it/s]\n 68%|██████▊ | 19/28 [00:02<00:01, 8.83it/s]\n 71%|███████▏ | 20/28 [00:02<00:00, 8.84it/s]\n 75%|███████▌ | 21/28 [00:03<00:00, 8.84it/s]\n 79%|███████▊ | 22/28 [00:03<00:00, 8.84it/s]\n 82%|████████▏ | 23/28 [00:03<00:00, 8.85it/s]\n 86%|████████▌ | 24/28 [00:03<00:00, 8.84it/s]\n 89%|████████▉ | 25/28 [00:03<00:00, 8.84it/s]\n 93%|█████████▎| 26/28 [00:03<00:00, 8.83it/s]\n 96%|█████████▋| 27/28 [00:03<00:00, 8.83it/s]\n100%|██████████| 28/28 [00:03<00:00, 8.82it/s]\n100%|██████████| 28/28 [00:03<00:00, 7.38it/s]\n 0%| | 0/3 [00:00<?, ?it/s]\n 33%|███▎ | 1/3 [00:00<00:00, 7.50it/s]\n 67%|██████▋ | 2/3 [00:00<00:00, 7.73it/s]\n100%|██████████| 3/3 [00:00<00:00, 7.81it/s]\n100%|██████████| 3/3 [00:00<00:00, 7.76it/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 38%|███▊ | 39.2M/104M [00:00<00:00, 411MB/s]\n 78%|███████▊ | 81.6M/104M [00:00<00:00, 431MB/s]\n100%|██████████| 104M/104M [00:00<00:00, 431MB/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 58%|█████▊ | 46.9M/81.4M [00:00<00:00, 492MB/s]\n100%|██████████| 81.4M/81.4M [00:00<00:00, 498MB/s]", "metrics": { "predict_time": 11.979974044, "total_time": 68.546256 }, "output": [ "https://replicate.delivery/pbxt/TKVGogApmaJiMhDesxzmcMnkYCHe0ElIwsYe3q1SXM5VvOEmA/output.png" ], "started_at": "2024-06-25T13:19:27.101282Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/39bn4vj2gxrgj0cg9y69h06r28", "cancel": "https://api.replicate.com/v1/predictions/39bn4vj2gxrgj0cg9y69h06r28/cancel" }, "version": "a3bfe0b3be7300072b03c7367e9d4bfdd14d484c4a6ae878a3c464cf93e0dc3e" }
Generated inUsing seed: 20405 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 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:20, 1.35it/s] 7%|▋ | 2/28 [00:00<00:09, 2.68it/s] 11%|█ | 3/28 [00:00<00:06, 3.94it/s] 14%|█▍ | 4/28 [00:01<00:04, 5.05it/s] 18%|█▊ | 5/28 [00:01<00:03, 5.98it/s] 21%|██▏ | 6/28 [00:01<00:03, 6.73it/s] 25%|██▌ | 7/28 [00:01<00:02, 7.30it/s] 29%|██▊ | 8/28 [00:01<00:02, 7.73it/s] 32%|███▏ | 9/28 [00:01<00:02, 8.05it/s] 36%|███▌ | 10/28 [00:01<00:02, 8.28it/s] 39%|███▉ | 11/28 [00:01<00:02, 8.45it/s] 43%|████▎ | 12/28 [00:01<00:01, 8.55it/s] 46%|████▋ | 13/28 [00:02<00:01, 8.63it/s] 50%|█████ | 14/28 [00:02<00:01, 8.70it/s] 54%|█████▎ | 15/28 [00:02<00:01, 8.76it/s] 57%|█████▋ | 16/28 [00:02<00:01, 8.80it/s] 61%|██████ | 17/28 [00:02<00:01, 8.81it/s] 64%|██████▍ | 18/28 [00:02<00:01, 8.82it/s] 68%|██████▊ | 19/28 [00:02<00:01, 8.83it/s] 71%|███████▏ | 20/28 [00:02<00:00, 8.84it/s] 75%|███████▌ | 21/28 [00:03<00:00, 8.84it/s] 79%|███████▊ | 22/28 [00:03<00:00, 8.84it/s] 82%|████████▏ | 23/28 [00:03<00:00, 8.85it/s] 86%|████████▌ | 24/28 [00:03<00:00, 8.84it/s] 89%|████████▉ | 25/28 [00:03<00:00, 8.84it/s] 93%|█████████▎| 26/28 [00:03<00:00, 8.83it/s] 96%|█████████▋| 27/28 [00:03<00:00, 8.83it/s] 100%|██████████| 28/28 [00:03<00:00, 8.82it/s] 100%|██████████| 28/28 [00:03<00:00, 7.38it/s] 0%| | 0/3 [00:00<?, ?it/s] 33%|███▎ | 1/3 [00:00<00:00, 7.50it/s] 67%|██████▋ | 2/3 [00:00<00:00, 7.73it/s] 100%|██████████| 3/3 [00:00<00:00, 7.81it/s] 100%|██████████| 3/3 [00:00<00:00, 7.76it/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] 38%|███▊ | 39.2M/104M [00:00<00:00, 411MB/s] 78%|███████▊ | 81.6M/104M [00:00<00:00, 431MB/s] 100%|██████████| 104M/104M [00:00<00:00, 431MB/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] 58%|█████▊ | 46.9M/81.4M [00:00<00:00, 492MB/s] 100%|██████████| 81.4M/81.4M [00:00<00:00, 498MB/s]
Prediction
omniedgeio/deepfashionsdxl:23356eb92f617f63b19d769f942ec696b3ed9d197a249593c53fdfaf7a983f28IDdmnt0gb4esrgj0cgem2akqe52mStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- 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
- 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
{ "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 }
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 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:23356eb92f617f63b19d769f942ec696b3ed9d197a249593c53fdfaf7a983f28", { 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 } } ); // 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 omniedgeio/deepfashionsdxl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "omniedgeio/deepfashionsdxl:23356eb92f617f63b19d769f942ec696b3ed9d197a249593c53fdfaf7a983f28", 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 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:23356eb92f617f63b19d769f942ec696b3ed9d197a249593c53fdfaf7a983f28", "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 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/omniedgeio/deepfashionsdxl@sha256:23356eb92f617f63b19d769f942ec696b3ed9d197a249593c53fdfaf7a983f28 \ -i 'hdr=1' \ -i 'width=1024' \ -i 'height=1024' \ -i '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."' \ -i 'refine="base_image_refiner"' \ -i 'strength=0.8' \ -i 'scheduler="DPMSolverSinglestepScheduler"' \ -i 'lora_scale=0.6' \ -i 'num_outputs=1' \ -i 'refine_steps=10' \ -i 'guidance_scale=7.5' \ -i 'apply_watermark=false' \ -i 'condition_scale=1.1' \ -i 'high_noise_frac=0.8' \ -i '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"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=28'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/omniedgeio/deepfashionsdxl@sha256:23356eb92f617f63b19d769f942ec696b3ed9d197a249593c53fdfaf7a983f28
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "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 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "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" }
Generated inUsing 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]
Want to make some of these yourself?
Run this model