gia-ast

1.0.9 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i gia-ast

Weekly Downloads

344

Version

1.0.9

License

MIT

Unpacked Size

1.94 MB

Total Files

80

Last publish

Collaborators

  • jgi