zust-ai
/
supir
- Public
- 158.9K runs
-
A100 (80GB)
Prediction
zust-ai/supir:9daf6d19IDjivwwrdbhba7mclbtkhlfqe23yStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- s_cfg
- 7.5
- s_churn
- 5
- s_noise
- 1.003
- upscale
- 2
- a_prompt
- Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.
- min_size
- 1024
- n_prompt
- painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth
- s_stage1
- -1
- s_stage2
- 1
- edm_steps
- 50
- use_llava
- linear_CFG
- model_name
- SUPIR-v0F
- color_fix_type
- Wavelet
- spt_linear_CFG
- 1
- linear_s_stage2
- spt_linear_s_stage2
- 0
{ "image": "https://replicate.delivery/pbxt/KTLVJXCM9ezJK0VXD1hfRvsOgFQ94ZrsNc6Lw7F4hoMzhCJ4/1703062309551-1024.png", "s_cfg": 7.5, "s_churn": 5, "s_noise": 1.003, "upscale": 2, "a_prompt": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.", "min_size": 1024, "n_prompt": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth", "s_stage1": -1, "s_stage2": 1, "edm_steps": 50, "use_llava": true, "linear_CFG": false, "model_name": "SUPIR-v0F", "color_fix_type": "Wavelet", "spt_linear_CFG": 1, "linear_s_stage2": false, "spt_linear_s_stage2": 0 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run zust-ai/supir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zust-ai/supir:9daf6d19556db0fd6e347a7a5cae7d4a68cf25486266ca3e6dc82618f0a2e0b9", { input: { image: "https://replicate.delivery/pbxt/KTLVJXCM9ezJK0VXD1hfRvsOgFQ94ZrsNc6Lw7F4hoMzhCJ4/1703062309551-1024.png", s_cfg: 7.5, s_churn: 5, s_noise: 1.003, upscale: 2, a_prompt: "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.", min_size: 1024, n_prompt: "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth", s_stage1: -1, s_stage2: 1, edm_steps: 50, use_llava: true, linear_CFG: false, model_name: "SUPIR-v0F", color_fix_type: "Wavelet", spt_linear_CFG: 1, linear_s_stage2: false, spt_linear_s_stage2: 0 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run zust-ai/supir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zust-ai/supir:9daf6d19556db0fd6e347a7a5cae7d4a68cf25486266ca3e6dc82618f0a2e0b9", input={ "image": "https://replicate.delivery/pbxt/KTLVJXCM9ezJK0VXD1hfRvsOgFQ94ZrsNc6Lw7F4hoMzhCJ4/1703062309551-1024.png", "s_cfg": 7.5, "s_churn": 5, "s_noise": 1.003, "upscale": 2, "a_prompt": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.", "min_size": 1024, "n_prompt": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth", "s_stage1": -1, "s_stage2": 1, "edm_steps": 50, "use_llava": True, "linear_CFG": False, "model_name": "SUPIR-v0F", "color_fix_type": "Wavelet", "spt_linear_CFG": 1, "linear_s_stage2": False, "spt_linear_s_stage2": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run zust-ai/supir 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": "9daf6d19556db0fd6e347a7a5cae7d4a68cf25486266ca3e6dc82618f0a2e0b9", "input": { "image": "https://replicate.delivery/pbxt/KTLVJXCM9ezJK0VXD1hfRvsOgFQ94ZrsNc6Lw7F4hoMzhCJ4/1703062309551-1024.png", "s_cfg": 7.5, "s_churn": 5, "s_noise": 1.003, "upscale": 2, "a_prompt": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.", "min_size": 1024, "n_prompt": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth", "s_stage1": -1, "s_stage2": 1, "edm_steps": 50, "use_llava": true, "linear_CFG": false, "model_name": "SUPIR-v0F", "color_fix_type": "Wavelet", "spt_linear_CFG": 1, "linear_s_stage2": false, "spt_linear_s_stage2": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Install Cogbrew install cog
If you don’t have Homebrew, there are other installation options available.
Pull and run zust-ai/supir using Cog (this will download the full model and run it in your local environment):
cog predict r8.im/zust-ai/supir@sha256:9daf6d19556db0fd6e347a7a5cae7d4a68cf25486266ca3e6dc82618f0a2e0b9 \ -i 'image="https://replicate.delivery/pbxt/KTLVJXCM9ezJK0VXD1hfRvsOgFQ94ZrsNc6Lw7F4hoMzhCJ4/1703062309551-1024.png"' \ -i 's_cfg=7.5' \ -i 's_churn=5' \ -i 's_noise=1.003' \ -i 'upscale=2' \ -i 'a_prompt="Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations."' \ -i 'min_size=1024' \ -i 'n_prompt="painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth"' \ -i 's_stage1=-1' \ -i 's_stage2=1' \ -i 'edm_steps=50' \ -i 'use_llava=true' \ -i 'linear_CFG=false' \ -i 'model_name="SUPIR-v0F"' \ -i 'color_fix_type="Wavelet"' \ -i 'spt_linear_CFG=1' \ -i 'linear_s_stage2=false' \ -i 'spt_linear_s_stage2=0'
To learn more, take a look at the Cog documentation.
Pull and run zust-ai/supir using Docker (this will download the full model and run it in your local environment):
docker run -d -p 5000:5000 --gpus=all r8.im/zust-ai/supir@sha256:9daf6d19556db0fd6e347a7a5cae7d4a68cf25486266ca3e6dc82618f0a2e0b9
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KTLVJXCM9ezJK0VXD1hfRvsOgFQ94ZrsNc6Lw7F4hoMzhCJ4/1703062309551-1024.png", "s_cfg": 7.5, "s_churn": 5, "s_noise": 1.003, "upscale": 2, "a_prompt": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.", "min_size": 1024, "n_prompt": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth", "s_stage1": -1, "s_stage2": 1, "edm_steps": 50, "use_llava": true, "linear_CFG": false, "model_name": "SUPIR-v0F", "color_fix_type": "Wavelet", "spt_linear_CFG": 1, "linear_s_stage2": false, "spt_linear_s_stage2": 0 } }' \ http://localhost:5000/predictions
Output
{ "completed_at": "2024-02-26T18:38:40.822927Z", "created_at": "2024-02-26T18:33:57.549139Z", "data_removed": false, "error": null, "id": "jivwwrdbhba7mclbtkhlfqe23y", "input": { "image": "https://replicate.delivery/pbxt/KTLVJXCM9ezJK0VXD1hfRvsOgFQ94ZrsNc6Lw7F4hoMzhCJ4/1703062309551-1024.png", "s_cfg": 7.5, "s_churn": 5, "s_noise": 1.003, "upscale": 2, "a_prompt": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.", "min_size": 1024, "n_prompt": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth", "s_stage1": -1, "s_stage2": 1, "edm_steps": 50, "use_llava": true, "linear_CFG": false, "model_name": "SUPIR-v0F", "color_fix_type": "Wavelet", "spt_linear_CFG": 1, "linear_s_stage2": false, "spt_linear_s_stage2": 0 }, "logs": "Using seed: 4823\nCaptions from LLaVA: ['The image features three men sitting around a dining table, each wearing blue shirts. They are focused on a laptop computer placed on the table, likely discussing or working on a project together. The table is set with various items, including a keyboard and a mouse, which are placed in front of the laptop. There are also several cups scattered around the table, possibly containing drinks for the men. A chair can be seen on the right side of the table, and a book is placed nearby. The scene appears to be a casual and collaborative work environment.']\nSeed set to 4823", "metrics": { "predict_time": 37.636681, "total_time": 283.273788 }, "output": "https://replicate.delivery/pbxt/DpsWMmd7jBKENpfHLf54FOeIWxvj5ANvHkdTcry4z0uhlR1kA/out.png", "started_at": "2024-02-26T18:38:03.186246Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jivwwrdbhba7mclbtkhlfqe23y", "cancel": "https://api.replicate.com/v1/predictions/jivwwrdbhba7mclbtkhlfqe23y/cancel" }, "version": "9daf6d19556db0fd6e347a7a5cae7d4a68cf25486266ca3e6dc82618f0a2e0b9" }
Generated inUsing seed: 4823 Captions from LLaVA: ['The image features three men sitting around a dining table, each wearing blue shirts. They are focused on a laptop computer placed on the table, likely discussing or working on a project together. The table is set with various items, including a keyboard and a mouse, which are placed in front of the laptop. There are also several cups scattered around the table, possibly containing drinks for the men. A chair can be seen on the right side of the table, and a book is placed nearby. The scene appears to be a casual and collaborative work environment.'] Seed set to 4823
Want to make some of these yourself?
Run this model