asiryan/anything-v4.5

Anything V4.5 Model (Text2Img, Img2Img and Inpainting)

Realistic Vision V4.0 Model (Text2Img, Img2Img and Inpainting)

Kandinsky 2.2 Model (Text2Img, Img2Img and Inpainting)

SDXL Model (Text2Img, Img2Img and Inpainting)

AbsoluteReality V1.8.1 Model (Text2Img, Img2Img and Inpainting)

DreamShaper V8 Model (Text2Img, Img2Img and Inpainting)

Deliberate V3 Model (Text2Img, Img2Img and Inpainting)

URPM V1.3 Model (Text2Img, Img2Img and Inpainting)

Dark Sushi Mix 2.25D Model with vae-ft-mse-840000-ema (Text2Img, Img2Img and Inpainting)

Deliberate V4 Model (Text2Img, Img2Img and Inpainting)

Juggernaut Aftermath Model with original TRCVAE (Text2Img, Img2Img and Inpainting)

Juggernaut XL v7 Model (Text2Img, Img2Img and Inpainting)

Counterfeit XL v2 Model (Text2Img, Img2Img and Inpainting)

Deliberate V5 Model (Text2Img, Img2Img and Inpainting)

Kandinsky 3.0 Model (Text2Img and Img2Img)

Meina Mix V11 Model (Text2Img, Img2Img and Inpainting)

Realistic Vision V6.0 B1 Model (Text2Img, Img2Img and Inpainting)

Reliberate v3 Model (Text2Img, Img2Img and Inpainting)

Blue Pencil XL v2 Model (Text2Img, Img2Img and Inpainting)

Proteus v0.2 Model (Text2Img, Img2Img and Inpainting)

Deliberate V6 Model (Text2Img, Img2Img and Inpainting)
Prediction
asiryan/anything-v4.5:29ef95bc570c0f36e89ca278b68300573b11733614334bd259bfa9ea87122e9bID4e7sisdb2grio5qkmvdxw3p5gmStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 28730
- steps
- 30
- width
- 512
- height
- 768
- prompt
- masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
- strength
- 0.8
- scheduler
- DPMSolverMultistep
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- use_karras_sigmas
{ "seed": 28730, "steps": 30, "width": 512, "height": 768, "prompt": "masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/anything-v4.5:29ef95bc570c0f36e89ca278b68300573b11733614334bd259bfa9ea87122e9b", { input: { seed: 28730, steps: 30, width: 512, height: 768, prompt: "masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden", strength: 0.8, scheduler: "DPMSolverMultistep", guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", use_karras_sigmas: true } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/anything-v4.5:29ef95bc570c0f36e89ca278b68300573b11733614334bd259bfa9ea87122e9b", input={ "seed": 28730, "steps": 30, "width": 512, "height": 768, "prompt": "masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": True } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run asiryan/anything-v4.5 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": "asiryan/anything-v4.5:29ef95bc570c0f36e89ca278b68300573b11733614334bd259bfa9ea87122e9b", "input": { "seed": 28730, "steps": 30, "width": 512, "height": 768, "prompt": "masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true } }' \ 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/asiryan/anything-v4.5@sha256:29ef95bc570c0f36e89ca278b68300573b11733614334bd259bfa9ea87122e9b \ -i 'seed=28730' \ -i 'steps=30' \ -i 'width=512' \ -i 'height=768' \ -i 'prompt="masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden"' \ -i 'strength=0.8' \ -i 'scheduler="DPMSolverMultistep"' \ -i 'guidance_scale=7.5' \ -i 'negative_prompt="disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -i 'use_karras_sigmas=true'
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/asiryan/anything-v4.5@sha256:29ef95bc570c0f36e89ca278b68300573b11733614334bd259bfa9ea87122e9b
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 28730, "steps": 30, "width": 512, "height": 768, "prompt": "masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-11-22T22:39:27.633469Z", "created_at": "2023-11-22T22:39:24.348732Z", "data_removed": false, "error": null, "id": "4e7sisdb2grio5qkmvdxw3p5gm", "input": { "seed": 28730, "steps": 30, "width": 512, "height": 768, "prompt": "masterpiece, best quality, illustration, beautiful detailed, finely detailed, dramatic light, intricate details, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true }, "logs": "Scheduler: DPMSolverMultistep\nUsing karras sigmas: True\nUsing seed: 28730\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:01, 16.61it/s]\n 13%|█▎ | 4/30 [00:00<00:01, 16.52it/s]\n 20%|██ | 6/30 [00:00<00:01, 16.47it/s]\n 27%|██▋ | 8/30 [00:00<00:01, 16.46it/s]\n 33%|███▎ | 10/30 [00:00<00:01, 16.43it/s]\n 40%|████ | 12/30 [00:00<00:01, 16.41it/s]\n 47%|████▋ | 14/30 [00:00<00:00, 16.40it/s]\n 53%|█████▎ | 16/30 [00:00<00:00, 16.34it/s]\n 60%|██████ | 18/30 [00:01<00:00, 16.33it/s]\n 67%|██████▋ | 20/30 [00:01<00:00, 16.33it/s]\n 73%|███████▎ | 22/30 [00:01<00:00, 16.32it/s]\n 80%|████████ | 24/30 [00:01<00:00, 16.32it/s]\n 87%|████████▋ | 26/30 [00:01<00:00, 16.31it/s]\n 93%|█████████▎| 28/30 [00:01<00:00, 16.32it/s]\n100%|██████████| 30/30 [00:01<00:00, 16.31it/s]\n100%|██████████| 30/30 [00:01<00:00, 16.36it/s]", "metrics": { "predict_time": 3.247402, "total_time": 3.284737 }, "output": "https://replicate.delivery/pbxt/YTijb5CqfBwTA6PWJZizcHh9CeFtjrSeNrjMQGYFpWr8oG2jA/output.png", "started_at": "2023-11-22T22:39:24.386067Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4e7sisdb2grio5qkmvdxw3p5gm", "cancel": "https://api.replicate.com/v1/predictions/4e7sisdb2grio5qkmvdxw3p5gm/cancel" }, "version": "29ef95bc570c0f36e89ca278b68300573b11733614334bd259bfa9ea87122e9b" }
Generated inScheduler: DPMSolverMultistep Using karras sigmas: True Using seed: 28730 0%| | 0/30 [00:00<?, ?it/s] 7%|▋ | 2/30 [00:00<00:01, 16.61it/s] 13%|█▎ | 4/30 [00:00<00:01, 16.52it/s] 20%|██ | 6/30 [00:00<00:01, 16.47it/s] 27%|██▋ | 8/30 [00:00<00:01, 16.46it/s] 33%|███▎ | 10/30 [00:00<00:01, 16.43it/s] 40%|████ | 12/30 [00:00<00:01, 16.41it/s] 47%|████▋ | 14/30 [00:00<00:00, 16.40it/s] 53%|█████▎ | 16/30 [00:00<00:00, 16.34it/s] 60%|██████ | 18/30 [00:01<00:00, 16.33it/s] 67%|██████▋ | 20/30 [00:01<00:00, 16.33it/s] 73%|███████▎ | 22/30 [00:01<00:00, 16.32it/s] 80%|████████ | 24/30 [00:01<00:00, 16.32it/s] 87%|████████▋ | 26/30 [00:01<00:00, 16.31it/s] 93%|█████████▎| 28/30 [00:01<00:00, 16.32it/s] 100%|██████████| 30/30 [00:01<00:00, 16.31it/s] 100%|██████████| 30/30 [00:01<00:00, 16.36it/s]
Prediction
asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52ID2h7lldlbavqtfes2lzyhy7flz4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 28730
- width
- 512
- height
- 768
- prompt
- Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.
- strength
- 0.6
- scheduler
- DPMSolverMultistep
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- use_karras_sigmas
- num_inference_steps
- 30
{ "seed": 28730, "image": "https://replicate.delivery/pbxt/JvhvCxvKiNmncPiGBi89hjjkvt9RHlJddoRKVZfDmZfbadyy/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 30 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", { input: { seed: 28730, image: "https://replicate.delivery/pbxt/JvhvCxvKiNmncPiGBi89hjjkvt9RHlJddoRKVZfDmZfbadyy/astro.png", width: 512, height: 768, prompt: "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", strength: 0.6, scheduler: "DPMSolverMultistep", guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", use_karras_sigmas: true, num_inference_steps: 30 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", input={ "seed": 28730, "image": "https://replicate.delivery/pbxt/JvhvCxvKiNmncPiGBi89hjjkvt9RHlJddoRKVZfDmZfbadyy/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": True, "num_inference_steps": 30 } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run asiryan/anything-v4.5 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": "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", "input": { "seed": 28730, "image": "https://replicate.delivery/pbxt/JvhvCxvKiNmncPiGBi89hjjkvt9RHlJddoRKVZfDmZfbadyy/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 30 } }' \ 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/asiryan/anything-v4.5@sha256:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52 \ -i 'seed=28730' \ -i 'image="https://replicate.delivery/pbxt/JvhvCxvKiNmncPiGBi89hjjkvt9RHlJddoRKVZfDmZfbadyy/astro.png"' \ -i 'width=512' \ -i 'height=768' \ -i 'prompt="Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera."' \ -i 'strength=0.6' \ -i 'scheduler="DPMSolverMultistep"' \ -i 'guidance_scale=7.5' \ -i 'negative_prompt="disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -i 'use_karras_sigmas=true' \ -i 'num_inference_steps=30'
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/asiryan/anything-v4.5@sha256:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 28730, "image": "https://replicate.delivery/pbxt/JvhvCxvKiNmncPiGBi89hjjkvt9RHlJddoRKVZfDmZfbadyy/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-11-24T00:01:20.931666Z", "created_at": "2023-11-24T00:01:15.649977Z", "data_removed": false, "error": null, "id": "2h7lldlbavqtfes2lzyhy7flz4", "input": { "seed": 28730, "image": "https://replicate.delivery/pbxt/JvhvCxvKiNmncPiGBi89hjjkvt9RHlJddoRKVZfDmZfbadyy/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 30 }, "logs": "Scheduler: DPMSolverMultistep\nUsing karras sigmas: True\nUsing seed: 28730\nMode: img2img\n 0%| | 0/18 [00:00<?, ?it/s]\n 6%|▌ | 1/18 [00:00<00:02, 5.80it/s]\n 11%|█ | 2/18 [00:00<00:02, 5.83it/s]\n 17%|█▋ | 3/18 [00:00<00:02, 5.85it/s]\n 22%|██▏ | 4/18 [00:00<00:02, 5.85it/s]\n 28%|██▊ | 5/18 [00:00<00:02, 5.85it/s]\n 33%|███▎ | 6/18 [00:01<00:02, 5.85it/s]\n 39%|███▉ | 7/18 [00:01<00:01, 5.86it/s]\n 44%|████▍ | 8/18 [00:01<00:01, 5.86it/s]\n 50%|█████ | 9/18 [00:01<00:01, 5.86it/s]\n 56%|█████▌ | 10/18 [00:01<00:01, 5.86it/s]\n 61%|██████ | 11/18 [00:01<00:01, 5.86it/s]\n 67%|██████▋ | 12/18 [00:02<00:01, 5.86it/s]\n 72%|███████▏ | 13/18 [00:02<00:00, 5.85it/s]\n 78%|███████▊ | 14/18 [00:02<00:00, 5.85it/s]\n 83%|████████▎ | 15/18 [00:02<00:00, 5.85it/s]\n 89%|████████▉ | 16/18 [00:02<00:00, 5.85it/s]\n 94%|█████████▍| 17/18 [00:02<00:00, 5.85it/s]\n100%|██████████| 18/18 [00:03<00:00, 5.85it/s]\n100%|██████████| 18/18 [00:03<00:00, 5.85it/s]", "metrics": { "predict_time": 5.247274, "total_time": 5.281689 }, "output": "https://replicate.delivery/pbxt/A2ZCSo8m9JbNBRoZgY1TOn915jDcDJspqT1v5wlR4u8zZ2eIA/output.png", "started_at": "2023-11-24T00:01:15.684392Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2h7lldlbavqtfes2lzyhy7flz4", "cancel": "https://api.replicate.com/v1/predictions/2h7lldlbavqtfes2lzyhy7flz4/cancel" }, "version": "f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52" }
Generated inScheduler: DPMSolverMultistep Using karras sigmas: True Using seed: 28730 Mode: img2img 0%| | 0/18 [00:00<?, ?it/s] 6%|▌ | 1/18 [00:00<00:02, 5.80it/s] 11%|█ | 2/18 [00:00<00:02, 5.83it/s] 17%|█▋ | 3/18 [00:00<00:02, 5.85it/s] 22%|██▏ | 4/18 [00:00<00:02, 5.85it/s] 28%|██▊ | 5/18 [00:00<00:02, 5.85it/s] 33%|███▎ | 6/18 [00:01<00:02, 5.85it/s] 39%|███▉ | 7/18 [00:01<00:01, 5.86it/s] 44%|████▍ | 8/18 [00:01<00:01, 5.86it/s] 50%|█████ | 9/18 [00:01<00:01, 5.86it/s] 56%|█████▌ | 10/18 [00:01<00:01, 5.86it/s] 61%|██████ | 11/18 [00:01<00:01, 5.86it/s] 67%|██████▋ | 12/18 [00:02<00:01, 5.86it/s] 72%|███████▏ | 13/18 [00:02<00:00, 5.85it/s] 78%|███████▊ | 14/18 [00:02<00:00, 5.85it/s] 83%|████████▎ | 15/18 [00:02<00:00, 5.85it/s] 89%|████████▉ | 16/18 [00:02<00:00, 5.85it/s] 94%|█████████▍| 17/18 [00:02<00:00, 5.85it/s] 100%|██████████| 18/18 [00:03<00:00, 5.85it/s] 100%|██████████| 18/18 [00:03<00:00, 5.85it/s]
Prediction
asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52ID7imv2ylb5v2mk2yuvdqjt4sx5qStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1280
- height
- 1280
- prompt
- a tabby cat, high resolution, sitting on a park bench
- strength
- 0.6
- scheduler
- DPMSolverMultistep
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- use_karras_sigmas
- num_inference_steps
- 20
{ "mask": "https://replicate.delivery/pbxt/Jvhx9uWczLwMDNL2iFknbGiT1b3p0hWvv2zNDGq0Q2vIKu8h/mask.png", "image": "https://replicate.delivery/pbxt/JvhxADbygg0fKJryknGtdArCMqZ2cU8zKjFFWbTcv9mGPSWN/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", { input: { mask: "https://replicate.delivery/pbxt/Jvhx9uWczLwMDNL2iFknbGiT1b3p0hWvv2zNDGq0Q2vIKu8h/mask.png", image: "https://replicate.delivery/pbxt/JvhxADbygg0fKJryknGtdArCMqZ2cU8zKjFFWbTcv9mGPSWN/demo.png", width: 1280, height: 1280, prompt: "a tabby cat, high resolution, sitting on a park bench", strength: 0.6, scheduler: "DPMSolverMultistep", guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", use_karras_sigmas: true, num_inference_steps: 20 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", input={ "mask": "https://replicate.delivery/pbxt/Jvhx9uWczLwMDNL2iFknbGiT1b3p0hWvv2zNDGq0Q2vIKu8h/mask.png", "image": "https://replicate.delivery/pbxt/JvhxADbygg0fKJryknGtdArCMqZ2cU8zKjFFWbTcv9mGPSWN/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": True, "num_inference_steps": 20 } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run asiryan/anything-v4.5 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": "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", "input": { "mask": "https://replicate.delivery/pbxt/Jvhx9uWczLwMDNL2iFknbGiT1b3p0hWvv2zNDGq0Q2vIKu8h/mask.png", "image": "https://replicate.delivery/pbxt/JvhxADbygg0fKJryknGtdArCMqZ2cU8zKjFFWbTcv9mGPSWN/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 } }' \ 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/asiryan/anything-v4.5@sha256:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52 \ -i 'mask="https://replicate.delivery/pbxt/Jvhx9uWczLwMDNL2iFknbGiT1b3p0hWvv2zNDGq0Q2vIKu8h/mask.png"' \ -i 'image="https://replicate.delivery/pbxt/JvhxADbygg0fKJryknGtdArCMqZ2cU8zKjFFWbTcv9mGPSWN/demo.png"' \ -i 'width=1280' \ -i 'height=1280' \ -i 'prompt="a tabby cat, high resolution, sitting on a park bench"' \ -i 'strength=0.6' \ -i 'scheduler="DPMSolverMultistep"' \ -i 'guidance_scale=7.5' \ -i 'negative_prompt="disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -i 'use_karras_sigmas=true' \ -i 'num_inference_steps=20'
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/asiryan/anything-v4.5@sha256:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "mask": "https://replicate.delivery/pbxt/Jvhx9uWczLwMDNL2iFknbGiT1b3p0hWvv2zNDGq0Q2vIKu8h/mask.png", "image": "https://replicate.delivery/pbxt/JvhxADbygg0fKJryknGtdArCMqZ2cU8zKjFFWbTcv9mGPSWN/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-11-24T00:03:41.753907Z", "created_at": "2023-11-24T00:03:19.261652Z", "data_removed": false, "error": null, "id": "7imv2ylb5v2mk2yuvdqjt4sx5q", "input": { "mask": "https://replicate.delivery/pbxt/Jvhx9uWczLwMDNL2iFknbGiT1b3p0hWvv2zNDGq0Q2vIKu8h/mask.png", "image": "https://replicate.delivery/pbxt/JvhxADbygg0fKJryknGtdArCMqZ2cU8zKjFFWbTcv9mGPSWN/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.6, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 }, "logs": "Scheduler: DPMSolverMultistep\nUsing karras sigmas: True\nUsing seed: 34822\nMode: inpainting\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:01<00:21, 1.97s/it]\n 17%|█▋ | 2/12 [00:03<00:17, 1.71s/it]\n 25%|██▌ | 3/12 [00:05<00:14, 1.62s/it]\n 33%|███▎ | 4/12 [00:06<00:12, 1.58s/it]\n 42%|████▏ | 5/12 [00:08<00:10, 1.56s/it]\n 50%|█████ | 6/12 [00:09<00:09, 1.55s/it]\n 58%|█████▊ | 7/12 [00:11<00:07, 1.54s/it]\n 67%|██████▋ | 8/12 [00:12<00:06, 1.54s/it]\n 75%|███████▌ | 9/12 [00:14<00:04, 1.54s/it]\n 83%|████████▎ | 10/12 [00:15<00:03, 1.53s/it]\n 92%|█████████▏| 11/12 [00:17<00:01, 1.53s/it]\n100%|██████████| 12/12 [00:18<00:00, 1.53s/it]\n100%|██████████| 12/12 [00:18<00:00, 1.56s/it]", "metrics": { "predict_time": 22.456695, "total_time": 22.492255 }, "output": "https://replicate.delivery/pbxt/0YBTLLGdjSamJVT9Vnd9jCxYoVY6YlM8TErJQBv1FaAXa2eIA/output.png", "started_at": "2023-11-24T00:03:19.297212Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7imv2ylb5v2mk2yuvdqjt4sx5q", "cancel": "https://api.replicate.com/v1/predictions/7imv2ylb5v2mk2yuvdqjt4sx5q/cancel" }, "version": "f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52" }
Generated inScheduler: DPMSolverMultistep Using karras sigmas: True Using seed: 34822 Mode: inpainting 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:01<00:21, 1.97s/it] 17%|█▋ | 2/12 [00:03<00:17, 1.71s/it] 25%|██▌ | 3/12 [00:05<00:14, 1.62s/it] 33%|███▎ | 4/12 [00:06<00:12, 1.58s/it] 42%|████▏ | 5/12 [00:08<00:10, 1.56s/it] 50%|█████ | 6/12 [00:09<00:09, 1.55s/it] 58%|█████▊ | 7/12 [00:11<00:07, 1.54s/it] 67%|██████▋ | 8/12 [00:12<00:06, 1.54s/it] 75%|███████▌ | 9/12 [00:14<00:04, 1.54s/it] 83%|████████▎ | 10/12 [00:15<00:03, 1.53s/it] 92%|█████████▏| 11/12 [00:17<00:01, 1.53s/it] 100%|██████████| 12/12 [00:18<00:00, 1.53s/it] 100%|██████████| 12/12 [00:18<00:00, 1.56s/it]
Prediction
asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52IDpzn7kwlb2e36nzet24bccamviiStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 28730
- width
- 512
- height
- 768
- prompt
- beautiful girl on the motobike
- strength
- 0.8
- scheduler
- DPMSolverMultistep
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- use_karras_sigmas
- num_inference_steps
- 20
{ "seed": 28730, "width": 512, "height": 768, "prompt": "beautiful girl on the motobike", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", { input: { seed: 28730, width: 512, height: 768, prompt: "beautiful girl on the motobike", strength: 0.8, scheduler: "DPMSolverMultistep", guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", use_karras_sigmas: true, num_inference_steps: 20 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 asiryan/anything-v4.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", input={ "seed": 28730, "width": 512, "height": 768, "prompt": "beautiful girl on the motobike", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": True, "num_inference_steps": 20 } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run asiryan/anything-v4.5 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": "asiryan/anything-v4.5:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52", "input": { "seed": 28730, "width": 512, "height": 768, "prompt": "beautiful girl on the motobike", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 } }' \ 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/asiryan/anything-v4.5@sha256:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52 \ -i 'seed=28730' \ -i 'width=512' \ -i 'height=768' \ -i 'prompt="beautiful girl on the motobike"' \ -i 'strength=0.8' \ -i 'scheduler="DPMSolverMultistep"' \ -i 'guidance_scale=7.5' \ -i 'negative_prompt="disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -i 'use_karras_sigmas=true' \ -i 'num_inference_steps=20'
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/asiryan/anything-v4.5@sha256:f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 28730, "width": 512, "height": 768, "prompt": "beautiful girl on the motobike", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-11-24T00:09:24.719469Z", "created_at": "2023-11-24T00:09:19.660477Z", "data_removed": false, "error": null, "id": "pzn7kwlb2e36nzet24bccamvii", "input": { "seed": 28730, "width": 512, "height": 768, "prompt": "beautiful girl on the motobike", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, poorly drawn fingers, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "use_karras_sigmas": true, "num_inference_steps": 20 }, "logs": "Scheduler: DPMSolverMultistep\nUsing karras sigmas: True\nUsing seed: 28730\nMode: text2img\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:03, 5.94it/s]\n 10%|█ | 2/20 [00:00<00:03, 5.89it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 5.88it/s]\n 20%|██ | 4/20 [00:00<00:02, 5.88it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 5.87it/s]\n 30%|███ | 6/20 [00:01<00:02, 5.87it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 5.87it/s]\n 40%|████ | 8/20 [00:01<00:02, 5.86it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 5.85it/s]\n 50%|█████ | 10/20 [00:01<00:01, 5.85it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 5.84it/s]\n 60%|██████ | 12/20 [00:02<00:01, 5.84it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 5.84it/s]\n 70%|███████ | 14/20 [00:02<00:01, 5.84it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 5.83it/s]\n 80%|████████ | 16/20 [00:02<00:00, 5.83it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 5.83it/s]\n 90%|█████████ | 18/20 [00:03<00:00, 5.83it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 5.83it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.83it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.85it/s]", "metrics": { "predict_time": 5.02204, "total_time": 5.058992 }, "output": "https://replicate.delivery/pbxt/mvnwVYlLTfVMTyXxkrJdiiyLk87L80Rf59daACIkXK4zuZ7RA/output.png", "started_at": "2023-11-24T00:09:19.697429Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/pzn7kwlb2e36nzet24bccamvii", "cancel": "https://api.replicate.com/v1/predictions/pzn7kwlb2e36nzet24bccamvii/cancel" }, "version": "f0976cf4b89c284fac2b92af058f10c50eeea4f5aff7f5a04655b1a9de55de52" }
Generated inScheduler: DPMSolverMultistep Using karras sigmas: True Using seed: 28730 Mode: text2img 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:03, 5.94it/s] 10%|█ | 2/20 [00:00<00:03, 5.89it/s] 15%|█▌ | 3/20 [00:00<00:02, 5.88it/s] 20%|██ | 4/20 [00:00<00:02, 5.88it/s] 25%|██▌ | 5/20 [00:00<00:02, 5.87it/s] 30%|███ | 6/20 [00:01<00:02, 5.87it/s] 35%|███▌ | 7/20 [00:01<00:02, 5.87it/s] 40%|████ | 8/20 [00:01<00:02, 5.86it/s] 45%|████▌ | 9/20 [00:01<00:01, 5.85it/s] 50%|█████ | 10/20 [00:01<00:01, 5.85it/s] 55%|█████▌ | 11/20 [00:01<00:01, 5.84it/s] 60%|██████ | 12/20 [00:02<00:01, 5.84it/s] 65%|██████▌ | 13/20 [00:02<00:01, 5.84it/s] 70%|███████ | 14/20 [00:02<00:01, 5.84it/s] 75%|███████▌ | 15/20 [00:02<00:00, 5.83it/s] 80%|████████ | 16/20 [00:02<00:00, 5.83it/s] 85%|████████▌ | 17/20 [00:02<00:00, 5.83it/s] 90%|█████████ | 18/20 [00:03<00:00, 5.83it/s] 95%|█████████▌| 19/20 [00:03<00:00, 5.83it/s] 100%|██████████| 20/20 [00:03<00:00, 5.83it/s] 100%|██████████| 20/20 [00:03<00:00, 5.85it/s]
Want to make some of these yourself?
Run this model