Commit Graph

256 Commits

Author SHA1 Message Date
Shigma
fd1dd01d5b
feat: add waiting hints 2022-10-16 04:10:01 +08:00
Shigma
73645fdeba
fix: trim slash for config.endpoint
avoid 404 status code for naifu users
2022-10-16 00:55:31 +08:00
Shigma
e7a8fa5c02
fix: check empty response 2022-10-16 00:54:55 +08:00
Shigma
85b9b1a0ad
feat: migrate to <figure> element 2022-10-16 00:39:55 +08:00
Maiko Sinkyaet Tan
3133305c2c
feat: generate seed by Math.random() (#45)
as it returns a dependent range of random numbers,
and novel ai supports seed up to 2^32.
2022-10-16 00:37:01 +08:00
Shigma
091a746402
feat: support browser bundle 2022-10-16 00:32:50 +08:00
Maiko Sinkyaet Tan
47eac3d58e
fix: only append basePrompt when input does not include it (#35)
Co-authored-by: Shigma <shigma10826@gmail.com>
2022-10-15 15:25:58 +08:00
Shigma
d219985d59
fix: fix incorrect interpretation of negative prompts 2022-10-15 15:13:36 +08:00
Shigma
5c3451750a
feat: support config.headers
for custom endpoints such as nyaai mentioned in #40
2022-10-15 10:02:46 +08:00
Shigma
2645034e15
docs: add faq 2022-10-14 20:25:33 +08:00
Shigma
f9bd3cad69
chore: update links 2022-10-14 20:05:49 +08:00
Shigma
5b3b484990
chore: change default value of requestTimeout to 1min
as mentioned in #40
2022-10-14 20:01:33 +08:00
Maiko Sinkyaet Tan
d9a7068156
i18n: add french translation (#30) 2022-10-13 21:47:23 +08:00
Maiko Sinkyaet Tan
f1d98edcbd
i18n: add en i18n files (#27) 2022-10-13 17:26:36 +08:00
Shigma
1684f52ee5
feat: support loose sd-compatible negative prompt syntax 2022-10-13 17:10:52 +08:00
Shigma
3f55e5c7ec
feat: support sd-compatible negative prompt syntax 2022-10-13 17:06:09 +08:00
Shigma
93745df268
feat: enhance forbidden syntax 2022-10-13 17:00:10 +08:00
Shigma
f44f3f35b7
fix: fix download error, fix #32 2022-10-13 16:25:15 +08:00
Shigma
41fc4aa548
feat: support NAIFU compatible API, fix #22 2022-10-13 00:26:18 +08:00
Shigma
534682b5df
feat: catch network related errors 2022-10-13 00:26:04 +08:00
Shigma
460aba875c
feat: support data url, fix #29 2022-10-13 00:25:38 +08:00
Shigma
831df01760
docs: add more pages 2022-10-12 05:38:17 +08:00
Shigma
5196857cd9
docs: add commands usage 2022-10-12 04:42:44 +08:00
Shigma
69d59d5ce0
docs: add i18n guide
Co-Authored-By: Ninzore <33434617+Ninzore@users.noreply.github.com>
2022-10-12 03:27:53 +08:00
Shigma
1c5be94384
docs: add config file introduction 2022-10-12 03:27:25 +08:00
Shigma
d2ad707303
docs: add login config 2022-10-12 02:34:56 +08:00
Shigma
a627a74b40
fix: fix login failure 2022-10-12 02:12:00 +08:00
Maiko Sinkyaet Tan
a1086d0caf
i18n: add zh-tw i18n files (#26) 2022-10-12 02:08:44 +08:00
Shigma
9990b126eb
docs: add img2img and enhance
Co-Authored-By: Ninzore <33434617+Ninzore@users.noreply.github.com>
2022-10-12 02:07:57 +08:00
Shigma
66e3555471
docs: migrate readme, close #25 2022-10-11 22:53:52 +08:00
Shigma
8513d523ea
docs: setup vitepress docs 2022-10-11 21:49:22 +08:00
Shigma
5e9db20e33
feat: support options strength and noise, fix #24 2022-10-11 15:58:19 +08:00
Shigma
a474322fbb
feat: support img2img auto resize 2022-10-11 15:49:28 +08:00
Shigma
88383d73de
feat: support login errors 2022-10-11 11:43:37 +08:00
Shigma
e636c75be9
feat: support config.type for login 2022-10-10 20:44:38 +08:00
Shigma
a83dffe0a4
Merge pull request #19 from Ninzore/dev
feat: login via access_key
2022-10-10 20:04:38 +08:00
Shigma
e37c8211de
feat: enhance error messages 2022-10-10 20:02:25 +08:00
Ninzore
0eb340f378
feat: support calculations for access_key and encryption_key 2022-10-10 03:32:37 +01:00
Ninzore
ee7fbda6f4
feat: login via api 2022-10-10 02:07:19 +01:00
Ninzore
61f79fa951
feat: calculate hash for login (UNFINISHED) 2022-10-10 02:01:50 +01:00
Shigma
31b18b8fed
feat: enhance command shortcut and options 2022-10-09 17:00:10 +08:00
Shigma
1d68fc81fe
fix: --scale do not require anlas 2022-10-09 13:41:41 +08:00
Shigma
af92e772bd
Merge pull request #11 from Ninzore/master
docs: add more details for steps and scale
2022-10-09 13:40:11 +08:00
Shigma
ae80e2b917
docs: enhancement 2022-10-09 13:39:19 +08:00
Ninzore
266d286d96
docs: update docs for steps 2022-10-09 05:02:25 +01:00
Ninzore
7b4ca75186
docs: update doc for scale 2022-10-09 04:57:23 +01:00
Ninzore
d8e8793667
Merge pull request #3 from koishijs/master
merge: merge master branch
2022-10-09 04:48:16 +01:00
Ninzore
ce80f94fb1
Merge branch 'master' into master 2022-10-09 04:47:56 +01:00
Shigma
242f1d78dc
docs: enhance demo 2022-10-09 05:34:12 +08:00
Shigma
e223065737
feat: support options.steps and options.scale 2022-10-09 04:37:06 +08:00