An open API service indexing awesome lists of open source software.

https://github.com/web3-storage/ai-artwork-uploader

A small static site that used the vanilla w3ui components to receive Ai generated Artwork from resources such as DiffusionBee to be shared on w3!
https://github.com/web3-storage/ai-artwork-uploader

Last synced: about 1 year ago
JSON representation

A small static site that used the vanilla w3ui components to receive Ai generated Artwork from resources such as DiffusionBee to be shared on w3!

Awesome Lists containing this project

README

          

# ai-artwork-uploader

This is ai-artwork-uploader, a project that makes it easy to share your AI generated artwork on [web3.storage](https://web3.storage/).

## How does it work?
It's small static site using valinna JS that uses [w3ui components](https://beta.ui.web3.storage/) to upload images and metadata generated by DiffusionBee to web3.storage. Metadata and image links are passed in the parameters when linking to this static site ([example](https://web3-storage.github.io/ai-artwork-uploader/?description=Painting%20of%20a%20dog%20eating%20a%20banana%20in%20the%20style%20of%20Hockney&params=%7B%22Img%20Width%22:512,%22Img%20Height%22:512,%22Seed%22:4773,%22Scale%22:7.5,%22Steps%22:25,%22model_version%22:%22DiffusionBee%22%7D&images=https://bee.transfr.one/b2-63639ea9-e18/file.png,https://bee.transfr.one/b2-63639eaa-c5ed/file.png,https://bee.transfr.one/b2-63639eaa-25a0/file.png,https://bee.transfr.one/b2-63639eab-2308/file.png)), see the table below for more detail on the accepteed URL params.
The static site is hosted using GitHub pages.

### Accepted URL Parameters

| Parameter | Description | type | example |
| ------------- | ------------- | ------------- | ------------- |
| Description | The prompt used to generate the artwork. | `String` | "Paintnig of a dog eating a banana in the style of Hockney" |
|params|The metadata object used to generare the images.|`JSON Object`|{
"Seed": 4683
"Scale": 7.5
"Steps": 25
"Img Width": 512
"Img Height": 512
}|
|images|A list of generated image URLs (if commiing from DiffusionBee, these are temporary URLs|`Array`|"https://bee.transfr.one/b2-63639eaa-25a0/file.png, https://bee.transfr.one/b2-63639eaa-25a0/file.png"|

For example: https://web3-storage.github.io/ai-artwork-uploader/?description=Painting%20of%20a%20dog%20eating%20a%20banana%20in%20the%20style%20of%20Hockney&params=%7B%22Img%20Width%22:512,%22Img%20Height%22:512,%22Seed%22:4773,%22Scale%22:7.5,%22Steps%22:25,%22model_version%22:%22DiffusionBee%22%7D&images=https://bee.transfr.one/b2-63639ea9-e18/file.png,https://bee.transfr.one/b2-63639eaa-c5ed/file.png,https://bee.transfr.one/b2-63639eaa-25a0/file.png,https://bee.transfr.one/b2-63639eab-2308/file.png