Animegan
Image stylized migration Docker API service based on Animegan model
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2021-02-24 |
| Downloads | 0 |
| Last Indexed | 2026-09-07 06:08 |
Installation
nimble install Animegan
choosenim install Animegan
git clone https://gitlab.com/LiteraturePro/Animegan
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| Animegan | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/LiteraturePro/Animegan |
|---|---|
| Homepage | https://gitlab.com/LiteraturePro/Animegan |
| Registry Source | gitlab |
README
AnimeGANv2
Docker version API for AnimeGANv2
- Original address of the projectAnimeGANv2
- The project used by this versionAnimegan2-Pytorch
Explain
AnimeGANv2(Look at the picture)
Compiled project on hub.docker.com
Build
Make sure you have
dockerinstalled 1. Clone the Animegan repository:git clone https://github.com/LiteraturePro/Animegan.git cd Animegan2. Input command to build image:docker build -t animegan .- I also provided the compilation command forHeroku, just replace the last command of dockerfile file with each other, - For generalCMD exec gunicorn --bind 0.0.0.0:8080 --workers 1 --threads 8 --timeout 0 app:app- For herokuCMD exec gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 8 --timeout 0 app:app3. Running image (You can specify the running port yourself):docker run -p 8080:8080 animegan
Install
Make sure you have
dockerinstalled
I have built the image and can install it directly. The installation command is as follows(You can specify the running port yourself):
- For general
docker pull literature/animegan:latest
docker run -p 8080:8080 literature/animegan:latest
- For heroku
docker pull literature/animegan:heroku
docker run -p 8080:8080 literature/animegan:heroku
Now your service has started to run, but it runs on the local port. If you need to realize the external network call, you need to act as an agent to proxy the service to your domain name,
Use
The call I have shown is based on the agent I have done. If you need to call it, you need to do it yourself
- provided that you have installed
docker. After you deploy correctly, bothGETandPOSTrequests can be accessed. The actual display is as follows Interface:http://your domain/apiorhttp://127.0.0.1:8080/apican be accessed.Parameter: imagevalue: a pictureReturn value: the base64 data stream after processing the image

Other
Thanks for the work of the original author and the revised author. If you like, please give a star.