gia-ast
v1.0.9
Published
A CLI Wrapping AST Web API calls to servers
Downloads
40
Readme
--@STCGoal migrating from : https://github.com/GuillaumeAI/x__etch-a-sketch__210224
AStia Project
Basically, it connects to the Astia Server.
Install
npm i gia-ast gia-ast-util --g
Use sample
gia-ast sample.jpg 9098
Run a Server
From HuggingFace
#launch
gia-ast-server --picasso
#stylize an image using it
gia-ast sample.jpg 7860
#remove the server
gia-ast-server --picasso --rm
Extended
#launch on custom port
gia-ast-server --picasso 8888
#stylize an image using it
gia-ast sample.jpg 8888
dot Env conf example
- It gets created if it does not exist
asthostname=localhost
astoutsuffix=__stylized__
astportbase=78
astcallprotocol=https
astcallmethod=/stylize
more elaborated .env (with meta server)
#asthostname=osiris.astia.xyz
asthostname=localhost
astoutsuffix=__stylized__
astportbase=90
astcallprotocol=http
astcallmethod=/stylize
astmetaportnum=8999
astusemetasvr=true
astdebug=false
astsavemeta=true
astappendmodelid=true
dihostname=localhost
echocmd=false
devmode=false
astmetaoutputdir=.astmeta