Aedial / novelai-api

Python API for the NovelAI REST API
https://aedial.github.io/novelai-api/
MIT License
129 stars 17 forks source link

random tags #30

Closed TimmekHW closed 3 months ago

TimmekHW commented 5 months ago

I want to use random nai tags. What is their endpoint?

Aedial commented 5 months ago

You mean the random prompt button? There is no endpoint, it's a function that creates the prompt in your internet browser with a list of tags, weights

TimmekHW commented 5 months ago

Вы имеете в виду кнопку случайной подсказки? Конечной точки нет, это функция, которая создает в вашем интернет-браузере приглашение со списком тегов и весов.

how can I repeat it? I love Stable Diffusion and I like the tags that nai makes. how can it be done for automatic1111

Aedial commented 5 months ago

You will need to reverse engineer the Javascript code. It's not complicated, just tedious.

TimmekHW commented 5 months ago

You will need to reverse engineer the Javascript code. It's not complicated, just tedious.

is there a source code or an extension? maybe documentation?

sudoskys commented 5 months ago

@TimmekHW I reimplemented random_prompt in Python.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity. It will be closed if no activity happens within the next 7 days.

github-actions[bot] commented 3 months ago

This issue was closed because it has been stale for 7 days with no activity. Reopen it if relevant or open a new issue, further discussion on closed issues might not be seen.