#Creating User Interface using AI

78 messages · Page 1 of 1 (latest)

autumn crest
#

Hello everyone
I seen many new tools regarding ai
So I want to ask this question, I am planning to create something, that will help people to generate illustrations, ui designs according to their needs
is this something possible?
Ui like the final results, like dribbble present ui's
people often time don't know what / how to design
is it something doable to build a tool like this and solve this problem with ai?
If its possible, then how can I do it?

hollow harness
#

I remember seeing a demo that built a UI using a short textual description. A quick search on the web also shows AI that create prototypes of UIs from photos of sketches.
To do it you most likely need a dataset with lots of examples from the source domain (description or photo) to the target domain (I guess XML, HTML, or maybe directly framework code)

autumn crest
#

Where can I get data to teach the machine?

hollow harness
#

If it is to generate design proposals and not functional prototypes, I guess you could try to fine-tune a diffusion model such as Stable Diffusion on a website screenshot dataset.
Most likely you will need to collect it yourself.

autumn crest
maiden idol
#

you said we need data for machine to learn the designs?, I am new to ai, but I scared that it will cost a lot of money to create something with it

hollow harness
# maiden idol you said we need data for machine to learn the designs?, I am new to ai, but I s...

Well, I guess you could also build a website generator by hand using procedural generation techniques, so without using machine learning and so also without using a dataset.
But the amount of work needed to build a design generator would probably be much larger, depending on what you want to do. There would also probably be less variations in the designs if you were to code a generator by hand.

#

Machine learning needs data, and more often than not, labelled data. You need lots of data also.
For these kinds of projects, if I had to do it I would probably collect lots of website screenshots along with some meta data (the type of website, if it is a big website, if it sells stuff, what is it selling) in order to let the AI learn what design to associate with what needs.

#

Take a look at how Stable Diffusion was trained and what the data looked like, you'll see what I mean

#

For stable diffusion, it is basically pairs of images and text

maiden idol
autumn crest
hollow harness
hollow harness
maiden idol
autumn crest
hollow harness
#

be careful of copyrights though, I am not sure if it is completely legal to screenshot website designs and put them into a dataset without consent

hollow harness
maiden idol
#

like it helps in copywriting

#

so in order to teach machine learning models they might need a lots of data

#

How did they do that? you said about copyright issue?

hollow harness
#

copy.ai seems like a text generator, they are either connecting to an API (maybe GPT-3) or maybe they have trained their own language model on text

maiden idol
#

where can I get the data

hollow harness
#

well, if they own the training data there is no copyright issue

#

either collect it/make it yourself
or you can outsource the work to mechanical turk for instance

#

getting the data is usually the difficult part, big companies can usually do it very simply because their users generate the data for them
when you are a startup, things are more complicated

autumn crest
hollow harness
#

but if you have the resources, it is possible to collect it yourself, OpenAI collected millions of web pages on the web to train their language models

hollow harness
maiden idol
hollow harness
maiden idol
autumn crest
hollow harness
autumn crest
#

Because there could also be templates?

maiden idol
#

is it true?

hollow harness
hollow harness
maiden idol
#

I don't have thousands of dollars

#

does that mean its not for me? can I not be able to make a ai related tool?

hollow harness
#

I guess the question is more about knowing whether an AI trained at your scale would be useful

autumn crest
#

effective in terms of visual designs, illustrations design etc.

#

with proper according to one's need

hollow harness
#

they usually explain what dataset they use, the model size and the results they get

autumn crest
#

🙂

maiden idol
hollow harness
# maiden idol I also try searching for it in order to learn more about it, but couldn't find i...

there is this paper that tries to do something kinda similar https://www.sciencedirect.com/science/article/abs/pii/S0167739X20330764?casa_token=zj44ky3x9xAAAAAA:ZfbMQHGZ2xTSriWETxXdw8VcSCsuvV1dlucZl1dcRlTHiCzL7XiyD6SMpsUmwpEkjT5EW6dQ2A
they collected a dataset but I haven't try to find if they made it available to the public
Search on google scholar, try keywords, I found this by typing "website design generation algorithm"

autumn crest
#

Do you have something to share about it? How did they did this? and if they can do ai for logos than that means ai for designs / illustrations can also be made?

hollow harness
#

it is probably using a diffusion model trained on logo databases
in principle diffusion models can generate anything yeah, you just need training data and lots of computational resources

autumn crest
hollow harness
autumn crest
hollow harness
#

then you need money to pay for training on big gpu servers, or scale down your ambitions

autumn crest
#

What if I start small with just illustrations

hollow harness
#

yeah, for training stable diffusion it costs something like 600k$

#

but it is trained for very long on a very large image database

autumn crest
hollow harness
#

maybe they are cutting the costs by re-training existing models with less data
600k$ is kind of an upper bound in this case, most models are trained at a smaller scale, perhaps one or two orders of magnitude smaller

autumn crest
hollow harness
#

what matters is not that they use APIs, it is what types of AIs are behind these APIs. And if you want to use the same APIs, well see if you can get access to them

autumn crest
hollow harness
cold seal
#

yes. these're generated by stable diffusion

autumn crest