clarity-upscaler
Clarity AI | AI Image Upscaler & Enhancer - free and open-source Magnific Alternative
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Keywords
Repository
Clarity AI | AI Image Upscaler & Enhancer - free and open-source Magnific Alternative
Basic Info
- Host: GitHub
- Owner: philz1337x
- License: agpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://ClarityAI.co
- Size: 30.7 MB
Statistics
- Stars: 4,499
- Watchers: 35
- Forks: 465
- Open Issues: 17
- Releases: 0
Topics
Metadata Files
README.md
Clarity AI | AI Image Upscaler & Enhancer - free and open-source Magnific Alternative
[](https://ClarityAI.co) [](https://ClarityAI.co/api) [](https://twitter.com/philz1337x)   [Full Video on X/Twitter](https://x.com/philz1337x/status/1768679154726359128?s=20)👋 Hello
I build open source AI apps. To finance my work i also build paid versions of my code. But feel free to use the free code. I post features and new projects on https://twitter.com/philz1337x
🗞️ Updates
- 03/05/2025: Flux upscaling only via my app and api: (http://clarityai.co/flux-upscaler)
- 06/19/2024: Pattern upscaling
- 05/24/2024: Increased Resolution to 13kx13k (https://x.com/philz1337x/status/1793983581636690379)
- 05/16/2024: Output file format: jpg/png/webp (https://x.com/philz1337x/status/1791431093641457824)
- 05/02/2024: Sharpen image
- 05/07/2024: ComfyUI node (https://x.com/philz1337x/status/1787905308439826920)
- 04/12/2024: Multi-step upscaling (https://x.com/philz1337x/status/1785269458304442565)
- 04/07/2024: Resemblance fixed (https://x.com/levelsio/status/1776729356120797265)
- 04/05/2024: Speed Improvements (https://x.com/philz1337x/status/1776121175195975888)
- 04/01/2024: Support custom safetensors checkpoints (https://x.com/philz1337x/status/1774772572632338435)
- 03/28/2024: Anime upscaling (https://x.com/philz1337x/status/1773342568543346738) (https://clarityai.co/anime-image-upscaling)
- 03/26/2024: LoRa Support (https://x.com/philz1337x/status/1772575319871959180)
- 03/21/2024: Pre downscaling (https://x.com/philz1337x/status/1770680096031961351)
- 03/18/2024: Fractality (https://x.com/philz1337x/status/1769756654533485050)
- 03/15/2024: Code release (https://x.com/philz1337x/status/1768679154726359128)
🔎 Upscaling with Flux
Flux Upscaling is now available at ClarityAI.co/flux-upscaler and is not open-source
- It supports Flux LoRas with a style or a face
- It's very good at faces, text, art, and generating error-free images
🚀 Options to use Clarity-Upscaler
Note that this repository is an implementation for cog. If you are not familiar with cog, I recommend the easier solutions. The free options are ComfyUI and A1111, while the paid but easy-to-use options are my app ClarityAI.co and the ComfyUI API Node.
🧑💻 App
The simplest option to use Clarity is with the app at ClarityAI.co
⚙️ API
To integrate Clarity Upscaler with an API into your application use: ClarityAI.co/API
🐰 ComfyUI
1. API node
- Open ComfyUI Manager, search for Clarity AI, and install the node.
- Create an API key at: ClarityAI.co/ComfyUI
- Add the API key to the node as a) envirement variable
CAI_API_KEYOR b) to acai_platform_key.txttext file OR c) inapi_key_overridefield of the node.
Full instructions: https://github.com/philz1337x/ComfyUI-ClarityAI
2. Free workflow
- Download the repo https://github.com/philz1337x/ComfyUI-ClarityAI and use the file free-wokflow.json
🕵️♂️ Cog
If you are not familiar with cog read: cog docs
run
download_weights.pypredict with cog:
su
cog predict -i image="link-to-image"
🤹♂️ A1111 webUI
For a detailed explanation, use the tutorial in this post: https://x.com/philz1337x/status/1830504764389380466
https://github.com/AUTOMATIC1111/stable-diffusion-webui
- Use these params:
Prompt:
masterpiece, best quality, highres, <lora:more_details:0.5> <lora:SDXLrender_v2.0:1> Negative prompt: (worst quality, low quality, normal quality:2) JuggernautNegative-neg Steps: 18, Sampler: DPM++ 3M SDE Karras, CFG scale: 6.0, Seed: 1337, Size: 1024x1024, Model hash: 338b85bc4f, Model: juggernaut_reborn, Denoising strength: 0.35, Tiled Diffusion upscaler: 4x-UltraSharp, Tiled Diffusion scale factor: 2, Tiled Diffusion: {"Method": "MultiDiffusion", "Tile tile width": 112, "Tile tile height": 144, "Tile Overlap": 4, "Tile batch size": 8, "Upscaler": "4x-UltraSharp", "Upscale factor": 2, "Keep input size": true}, ControlNet 0: "Module: tile_resample, Model: control_v11f1e_sd15_tile, Weight: 0.6, Resize Mode: 1, Low Vram: False, Processor Res: 512, Threshold A: 1, Threshold B: 1, Guidance Start: 0.0, Guidance End: 1.0, Pixel Perfect: True, Control Mode: 1, Hr Option: HiResFixOption.BOTH, Save Detected Map: False", Lora hashes: "more_details: 3b8aa1d351ef, SDXLrender_v2.0: 3925cf4759af"
Owner
- Name: philz1337x
- Login: philz1337x
- Kind: user
- Website: ClarityAI.cc
- Twitter: philz1337x
- Repositories: 7
- Profile: https://github.com/philz1337x
AI developer from 🇩🇪 Germany living in 🇹🇭 Thailand building open source AI apps
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - given-names: AUTOMATIC1111 title: "Stable Diffusion Web UI" date-released: 2022-08-22 url: "https://github.com/AUTOMATIC1111/stable-diffusion-webui"
GitHub Events
Total
- Issues event: 11
- Watch event: 794
- Issue comment event: 26
- Push event: 2
- Pull request event: 5
- Fork event: 102
Last Year
- Issues event: 11
- Watch event: 794
- Issue comment event: 26
- Push event: 2
- Pull request event: 5
- Fork event: 102
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| p | p****n@g****e | 58 |
| j | j****t@g****m | 4 |
| ecal | e****n@e****v | 1 |
| Jesse Andrews | a****e@g****m | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 50
- Total pull requests: 12
- Average time to close issues: about 1 month
- Average time to close pull requests: 29 days
- Total issue authors: 46
- Total pull request authors: 9
- Average comments per issue: 2.44
- Average comments per pull request: 0.17
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 13
- Pull requests: 6
- Average time to close issues: 28 days
- Average time to close pull requests: 2 months
- Issue authors: 13
- Pull request authors: 5
- Average comments per issue: 1.85
- Average comments per pull request: 0.33
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ScottishFold007 (2)
- yiniesta (2)
- Dintan (2)
- BDVGitHub (1)
- Romanio1997 (1)
- anilsathyan7 (1)
- UnstableML-developer (1)
- yogotatara3 (1)
- Harper714 (1)
- rainsoulsrx (1)
- venturaEffect (1)
- OthmaneN (1)
- wolfgangmeyers (1)
- sujeendran (1)
- quasar136a8 (1)
Pull Request Authors
- pixelprotest (7)
- garg-aayush (2)
- jatin9823 (2)
- anotherjesse (2)
- eltociear (2)
- TonyAutomatic (2)
- codesmith-emmy (2)
- isiahw1 (1)
- e-cal (1)
- Pau-Lozano (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- eslint ^8.40.0 development
- pytest * test
- pytest-base-url * test
- pytest-cov * test
- GitPython *
- Pillow *
- accelerate *
- basicsr *
- blendmodes *
- clean-fid *
- einops *
- fastapi >=0.90.1
- gfpgan *
- gradio ==3.41.2
- inflection *
- jsonmerge *
- kornia *
- lark *
- numpy *
- omegaconf *
- open-clip-torch *
- piexif *
- psutil *
- pytorch_lightning *
- realesrgan *
- requests *
- resize-right *
- safetensors *
- scikit-image >=0.19
- timm *
- tomesd *
- torch *
- torchdiffeq *
- torchsde *
- transformers ==4.30.2
- GitPython ==3.1.32
- Pillow ==9.5.0
- accelerate ==0.21.0
- basicsr ==1.4.2
- blendmodes ==2022
- clean-fid ==0.1.35
- einops ==0.4.1
- fastapi ==0.94.0
- gfpgan ==1.3.8
- gradio ==3.41.2
- httpcore ==0.15
- httpx ==0.24.1
- inflection ==0.5.1
- jsonmerge ==1.8.0
- kornia ==0.6.7
- lark ==1.1.2
- numpy ==1.23.5
- omegaconf ==2.2.3
- open-clip-torch ==2.20.0
- piexif ==1.1.3
- psutil ==5.9.5
- pytorch_lightning ==1.9.4
- realesrgan ==0.3.0
- resize-right ==0.0.2
- safetensors ==0.3.1
- scikit-image ==0.21.0
- timm ==0.9.2
- tomesd ==0.1.3
- torch *
- torchdiffeq ==0.2.3
- torchsde ==0.2.6
- transformers ==4.30.2