Spaces:
Running
Running
hatmanstack
commited on
Commit
•
b245167
1
Parent(s):
7591ec7
Final
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitignore +13 -0
- Dockerfile +28 -0
- README.md +56 -3
- main.py +369 -0
- requirements.txt +15 -0
- web-build/asset-manifest.json +31 -0
- web-build/index.html +1 -0
- web-build/manifest.json +7 -0
- web-build/serve.json +13 -0
- web-build/static/js/133.507aa947.js +0 -0
- web-build/static/js/133.507aa947.js.LICENSE.txt +54 -0
- web-build/static/js/133.507aa947.js.map +0 -0
- web-build/static/js/23.aed00c51.js +0 -0
- web-build/static/js/23.aed00c51.js.LICENSE.txt +50 -0
- web-build/static/js/23.aed00c51.js.map +0 -0
- web-build/static/js/968.ccf00a78.js +0 -0
- web-build/static/js/968.ccf00a78.js.LICENSE.txt +54 -0
- web-build/static/js/968.ccf00a78.js.map +0 -0
- web-build/static/js/main.00a04e5c.js +2 -0
- web-build/static/js/main.00a04e5c.js.map +0 -0
- web-build/static/js/main.08c7ebf3.js +2 -0
- web-build/static/js/main.08c7ebf3.js.map +1 -0
- web-build/static/js/main.0ca09350.js +2 -0
- web-build/static/js/main.0ca09350.js.map +1 -0
- web-build/static/js/main.249d6d8d.js +2 -0
- web-build/static/js/main.249d6d8d.js.map +0 -0
- web-build/static/js/main.29ed9b25.js +2 -0
- web-build/static/js/main.29ed9b25.js.map +0 -0
- web-build/static/js/main.2f13f18b.js +2 -0
- web-build/static/js/main.2f13f18b.js.map +1 -0
- web-build/static/js/main.30214d15.js +2 -0
- web-build/static/js/main.30214d15.js.map +1 -0
- web-build/static/js/main.3198e460.js +2 -0
- web-build/static/js/main.3198e460.js.map +1 -0
- web-build/static/js/main.3dd69b84.js +2 -0
- web-build/static/js/main.3dd69b84.js.map +1 -0
- web-build/static/js/main.4ac7cb0c.js +2 -0
- web-build/static/js/main.4ac7cb0c.js.map +1 -0
- web-build/static/js/main.5602f129.js +2 -0
- web-build/static/js/main.5602f129.js.map +0 -0
- web-build/static/js/main.5d2851a8.js +2 -0
- web-build/static/js/main.5d2851a8.js.map +0 -0
- web-build/static/js/main.61bb8bf6.js +2 -0
- web-build/static/js/main.61bb8bf6.js.map +1 -0
- web-build/static/js/main.7bca34d3.js +2 -0
- web-build/static/js/main.7bca34d3.js.map +1 -0
- web-build/static/js/main.8f5f72e0.js +2 -0
- web-build/static/js/main.8f5f72e0.js.map +0 -0
- web-build/static/js/main.96350325.js +2 -0
- web-build/static/js/main.96350325.js.map +1 -0
.gitignore
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
node_modules/
|
2 |
+
.expo/
|
3 |
+
yarn.lock
|
4 |
+
.env
|
5 |
+
app.json
|
6 |
+
package-lock.json
|
7 |
+
__pycache__/
|
8 |
+
|
9 |
+
# macOS
|
10 |
+
.DS_Store
|
11 |
+
|
12 |
+
# Temporary files created by Metro to check the health of the file watcher
|
13 |
+
.metro-health-check*
|
Dockerfile
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use the official lightweight Python image.
|
2 |
+
FROM python:3.12-slim
|
3 |
+
|
4 |
+
# Copy local code to the container image.
|
5 |
+
WORKDIR /app
|
6 |
+
COPY . ./
|
7 |
+
|
8 |
+
# Install production dependencies.
|
9 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
10 |
+
|
11 |
+
# Set up a new user named "user" with user ID 1000
|
12 |
+
RUN useradd -m -u 1000 user
|
13 |
+
|
14 |
+
# Switch to the "user" user
|
15 |
+
USER user
|
16 |
+
|
17 |
+
# Set home to the user's home directory
|
18 |
+
ENV HOME=/home/user \
|
19 |
+
PATH=/home/user/.local/bin:$PATH
|
20 |
+
|
21 |
+
# Set the working directory to the user's home directory
|
22 |
+
WORKDIR $HOME/app
|
23 |
+
|
24 |
+
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
25 |
+
COPY --chown=user . $HOME/app
|
26 |
+
|
27 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
28 |
+
|
README.md
CHANGED
@@ -1,10 +1,63 @@
|
|
1 |
---
|
2 |
title: Pixel Prompt
|
3 |
-
emoji:
|
4 |
colorFrom: red
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
|
|
8 |
---
|
|
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
title: Pixel Prompt
|
3 |
+
emoji: 🔥
|
4 |
colorFrom: red
|
5 |
+
colorTo: blue
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
+
license: mit
|
9 |
---
|
10 |
+
# Pixel Prompt Container
|
11 |
|
12 |
+
This repository contains a static React Native application built using Expo with FastApi and Docker for deployment. It's serving several diffusion models that use the huggingface [inference-api](https://huggingface.co/docs/api-inference/index). A blog post explaining this deployment and the HuggingFace Inference API can be found [here](https://medium.com/@HatmanStack/cloud-bound-hugging-face-spaces-1101c569690d).
|
13 |
+
|
14 |
+
## Code :zap:
|
15 |
+
|
16 |
+
To preview the application visit the hosted version on the Hugging Face Spaces platform [here](https://hatman-pixel-prompt.hf.space).
|
17 |
+
|
18 |
+
## Installation 💻
|
19 |
+
|
20 |
+
To generate the static content for this container have a working Node/npm installation and clone the [pixel-prompt-frontend](https://github.com/HatmanStack/pixel-prompt-frontend) repo. Run these commands in the pixel-prompt-frontend root directory to generate static content.
|
21 |
+
|
22 |
+
```shell
|
23 |
+
npm install -g yarn
|
24 |
+
yarn
|
25 |
+
npx expo export:web
|
26 |
+
```
|
27 |
+
|
28 |
+
Static files are output to the web-build folder in the root directory. Move the web-build from your pixel-prompt-frontend root directory to your pixel-prompt-container root directory. **To reach the endpoint from the frontend use `/api` in the pixel-prompt-frontend NOT `http://localhost:7860/api`**
|
29 |
+
|
30 |
+
Add your HF_TOKEN variable as an environmental variable in your container settings.
|
31 |
+
|
32 |
+
## Models ⚡
|
33 |
+
|
34 |
+
All models are opensource and available on HuggingFace.
|
35 |
+
|
36 |
+
### Diffusion
|
37 |
+
|
38 |
+
- **Random**
|
39 |
+
- **stabilityai/stable-diffusion-3-medium**
|
40 |
+
- **stabilityai/stable-diffusion-xl-base-1.0**
|
41 |
+
- **nerijs/pixel-art-xl**
|
42 |
+
- **Fictiverse/Voxel_XL_Lora**
|
43 |
+
- **dallinmackay/Van-Gogh-diffusion**
|
44 |
+
- **gsdf/Counterfeit-V2.5**
|
45 |
+
|
46 |
+
### Prompts
|
47 |
+
|
48 |
+
- **Gustavosta/MagicPrompt-Stable-Diffusion**
|
49 |
+
- **meta-llama/Meta-Llama-3-70B-Instruct**
|
50 |
+
|
51 |
+
## Functionality
|
52 |
+
|
53 |
+
This App was creating using the HuggingFace Inference API. Although Free to use, some functionality isn't available yet. The Style and Layout switches are based on the IP adapter which isn't supported by the Inference API. If you decide to use custom endpoints this is available now.
|
54 |
+
|
55 |
+
## License
|
56 |
+
|
57 |
+
This project is licensed under the [MIT License](LICENSE)
|
58 |
+
|
59 |
+
## Acknowledgments 🏆
|
60 |
+
|
61 |
+
This application is built with Expo, a powerful framework for building cross-platform mobile applications. Learn more about Expo: [https://expo.io](https://expo.io)
|
62 |
+
|
63 |
+
This application is using the HuggingFace Inference API, provided by <a href="https://huggingface.co">HuggingFace</a>
|
main.py
ADDED
@@ -0,0 +1,369 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import random
|
2 |
+
from fastapi import FastAPI
|
3 |
+
from fastapi.staticfiles import StaticFiles
|
4 |
+
from fastapi.responses import FileResponse
|
5 |
+
from fastapi.middleware.cors import CORSMiddleware
|
6 |
+
from huggingface_hub import InferenceClient, login
|
7 |
+
from transformers import AutoTokenizer
|
8 |
+
from pydantic import BaseModel
|
9 |
+
from gradio_client import Client, file
|
10 |
+
from starlette.responses import StreamingResponse
|
11 |
+
import re
|
12 |
+
from datetime import datetime
|
13 |
+
import json
|
14 |
+
import time
|
15 |
+
import requests
|
16 |
+
import base64
|
17 |
+
import os
|
18 |
+
from PIL import Image
|
19 |
+
from io import BytesIO
|
20 |
+
import aiohttp
|
21 |
+
import asyncio
|
22 |
+
from typing import Optional
|
23 |
+
from dotenv import load_dotenv
|
24 |
+
import boto3
|
25 |
+
|
26 |
+
app = FastAPI()
|
27 |
+
|
28 |
+
app.add_middleware(
|
29 |
+
CORSMiddleware,
|
30 |
+
allow_origins=["*"],
|
31 |
+
allow_credentials=True,
|
32 |
+
allow_methods=["*"],
|
33 |
+
allow_headers=["*"],
|
34 |
+
)
|
35 |
+
|
36 |
+
load_dotenv()
|
37 |
+
token = os.environ.get("HF_TOKEN")
|
38 |
+
login(token)
|
39 |
+
|
40 |
+
prompt_model = "meta-llama/Meta-Llama-3-8B-Instruct"
|
41 |
+
magic_prompt_model = "Gustavosta/MagicPrompt-Stable-Diffusion"
|
42 |
+
options = {"use_cache": False, "wait_for_model": True}
|
43 |
+
parameters = {"return_full_text":False, "max_new_tokens":300}
|
44 |
+
headers = {"Authorization": f"Bearer {token}", "x-use-cache":"0", 'Content-Type' :'application/json'}
|
45 |
+
API_URL = f'https://api-inference.huggingface.co/models/'
|
46 |
+
perm_negative_prompt = "watermark, lowres, low quality, worst quality, deformed, glitch, low contrast, noisy, saturation, blurry"
|
47 |
+
cwd = os.getcwd()
|
48 |
+
pictures_directory = os.path.join(cwd, 'pictures')
|
49 |
+
last_two_models = []
|
50 |
+
|
51 |
+
class Item(BaseModel):
|
52 |
+
prompt: str
|
53 |
+
steps: int
|
54 |
+
guidance: float
|
55 |
+
modelID: str
|
56 |
+
modelLabel: str
|
57 |
+
image: Optional[str] = None
|
58 |
+
target: str
|
59 |
+
control: float
|
60 |
+
|
61 |
+
class Core(BaseModel):
|
62 |
+
itemString: str
|
63 |
+
|
64 |
+
@app.get("/core")
|
65 |
+
async def core():
|
66 |
+
if not os.path.exists(pictures_directory):
|
67 |
+
os.makedirs(pictures_directory)
|
68 |
+
async def generator():
|
69 |
+
# Start JSON array
|
70 |
+
yield '['
|
71 |
+
first = True
|
72 |
+
for filename in os.listdir(pictures_directory):
|
73 |
+
if filename.endswith('.json'):
|
74 |
+
file_path = os.path.join(pictures_directory, filename)
|
75 |
+
with open(file_path, 'r') as file:
|
76 |
+
data = json.load(file)
|
77 |
+
|
78 |
+
# For JSON formatting, ensure only the first item doesn't have a preceding comma
|
79 |
+
if first:
|
80 |
+
first = False
|
81 |
+
else:
|
82 |
+
yield ','
|
83 |
+
yield json.dumps({"base64": data["base64image"], "prompt": data["returnedPrompt"]})
|
84 |
+
# End JSON array
|
85 |
+
yield ']'
|
86 |
+
|
87 |
+
return StreamingResponse(generator(), media_type="application/json")
|
88 |
+
|
89 |
+
|
90 |
+
def getPrompt(prompt, modelID, attempts=1):
|
91 |
+
input = prompt
|
92 |
+
if modelID != magic_prompt_model:
|
93 |
+
tokenizer = AutoTokenizer.from_pretrained(modelID)
|
94 |
+
chat = [
|
95 |
+
{"role": "user", "content": prompt_base},
|
96 |
+
{"role": "assistant", "content": prompt_assistant},
|
97 |
+
{"role": "user", "content": prompt},
|
98 |
+
]
|
99 |
+
input = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
|
100 |
+
try:
|
101 |
+
apiData={"inputs":input, "parameters": parameters, "options": options}
|
102 |
+
response = requests.post(API_URL + modelID, headers=headers, data=json.dumps(apiData))
|
103 |
+
if response.status_code == 200:
|
104 |
+
try:
|
105 |
+
responseData = response.json()
|
106 |
+
return responseData
|
107 |
+
except ValueError as e:
|
108 |
+
print(f"Error parsing JSON: {e}")
|
109 |
+
else:
|
110 |
+
print(f"Error from API: {response.status_code} - {response.text}")
|
111 |
+
if attempts < 3:
|
112 |
+
getPrompt(prompt, modelID, attempts + 1)
|
113 |
+
except Exception as e:
|
114 |
+
print(f"An error occurred: {e}")
|
115 |
+
if attempts < 3:
|
116 |
+
getPrompt(prompt, modelID, attempts + 1)
|
117 |
+
return response.json()
|
118 |
+
|
119 |
+
@app.post("/inferencePrompt")
|
120 |
+
def inferencePrompt(item: Core):
|
121 |
+
try:
|
122 |
+
plain_response_data = getPrompt(item.itemString, prompt_model)
|
123 |
+
magic_response_data = getPrompt(item.itemString, magic_prompt_model)
|
124 |
+
print(plain_response_data[0]["generated_text"])
|
125 |
+
returnJson = {"plain": plain_response_data[0]["generated_text"], "magic": item.itemString + magic_response_data[0]["generated_text"]}
|
126 |
+
return returnJson
|
127 |
+
except Exception as e:
|
128 |
+
returnJson = {"plain": f'An Error occured: {e}', "magic": f'An Error occured: {e}'}
|
129 |
+
|
130 |
+
async def wake_model(modelID):
|
131 |
+
data = {"inputs":"wake up call", "options":options}
|
132 |
+
headers = {"Authorization": f"Bearer {token}"}
|
133 |
+
api_data = json.dumps(data)
|
134 |
+
try:
|
135 |
+
timeout = aiohttp.ClientTimeout(total=60) # Set timeout to 60 seconds
|
136 |
+
async with aiohttp.ClientSession(timeout=timeout) as session:
|
137 |
+
async with session.post(API_URL + modelID, headers=headers, data=api_data) as response:
|
138 |
+
pass
|
139 |
+
print('Model Waking')
|
140 |
+
|
141 |
+
except Exception as e:
|
142 |
+
print(f"An error occurred: {e}")
|
143 |
+
|
144 |
+
|
145 |
+
def formatReturn(result):
|
146 |
+
if isinstance(result, str):
|
147 |
+
if not os.path.isfile(result):
|
148 |
+
print('what')
|
149 |
+
result = BytesIO(base64.b64decode(result))
|
150 |
+
else:
|
151 |
+
result = BytesIO(result)
|
152 |
+
img = Image.open(result)
|
153 |
+
img.save("response.png")
|
154 |
+
img_byte_arr = BytesIO()
|
155 |
+
img.save(img_byte_arr, format='PNG')
|
156 |
+
return base64.b64encode(img_byte_arr.getvalue()).decode('utf-8')
|
157 |
+
|
158 |
+
def save_image(base64image, item, model, NSFW):
|
159 |
+
if not NSFW:
|
160 |
+
data = {"base64image": "data:image/png;base64," + base64image, "returnedPrompt": "Model:\n" + model + "\n\nPrompt:\n" + item.prompt, "prompt": item.prompt, "steps": item.steps, "guidance": item.guidance, "control": item.control, "target": item.target}
|
161 |
+
timestamp = datetime.now().strftime("%Y%m%d%H%M%S")
|
162 |
+
file_path = os.path.join(pictures_directory, f'{timestamp}.json')
|
163 |
+
with open(file_path, 'w') as json_file:
|
164 |
+
json.dump(data, json_file)
|
165 |
+
|
166 |
+
def gradioSD3(item):
|
167 |
+
client = Client(item.modelID, hf_token=token)
|
168 |
+
result = client.predict(
|
169 |
+
prompt=item.prompt,
|
170 |
+
negative_prompt=perm_negative_prompt,
|
171 |
+
guidance_scale=item.guidance,
|
172 |
+
num_inference_steps=item.steps,
|
173 |
+
api_name="/infer"
|
174 |
+
)
|
175 |
+
return formatReturn(result[0])
|
176 |
+
|
177 |
+
def gradioAuraFlow(item):
|
178 |
+
client = Client("multimodalart/AuraFlow")
|
179 |
+
result = client.predict(
|
180 |
+
prompt=item.prompt,
|
181 |
+
negative_prompt=perm_negative_prompt,
|
182 |
+
randomize_seed=True,
|
183 |
+
guidance_scale=item.guidance,
|
184 |
+
num_inference_steps=item.steps,
|
185 |
+
api_name="/infer"
|
186 |
+
)
|
187 |
+
return formatReturn(result[0])
|
188 |
+
|
189 |
+
def gradioHatmanInstantStyle(item):
|
190 |
+
client = Client("Hatman/InstantStyle")
|
191 |
+
image_stream = BytesIO(base64.b64decode(item.image.split("base64,")[1]))
|
192 |
+
image = Image.open(image_stream)
|
193 |
+
image.save("style.png")
|
194 |
+
result = client.predict(
|
195 |
+
image_pil=file("style.png"),
|
196 |
+
prompt=item.prompt,
|
197 |
+
n_prompt=perm_negative_prompt,
|
198 |
+
scale=1,
|
199 |
+
control_scale=item.control,
|
200 |
+
guidance_scale=item.guidance,
|
201 |
+
num_inference_steps=item.steps,
|
202 |
+
seed=1,
|
203 |
+
target=item.target,
|
204 |
+
api_name="/create_image"
|
205 |
+
)
|
206 |
+
return formatReturn(result)
|
207 |
+
|
208 |
+
def lambda_image(prompt, modelID):
|
209 |
+
data = {
|
210 |
+
"prompt": prompt,
|
211 |
+
"modelID": modelID
|
212 |
+
}
|
213 |
+
serialized_data = json.dumps(data)
|
214 |
+
aws_id = os.environ.get("AWS_ID")
|
215 |
+
aws_secret = os.environ.get("AWS_SECRET")
|
216 |
+
aws_region = os.environ.get("AWS_REGION")
|
217 |
+
try:
|
218 |
+
session = boto3.Session(aws_access_key_id=aws_id, aws_secret_access_key=aws_secret, region_name=aws_region)
|
219 |
+
lambda_client = session.client('lambda')
|
220 |
+
response = lambda_client.invoke(
|
221 |
+
FunctionName='pixel_prompt_lambda',
|
222 |
+
InvocationType='RequestResponse',
|
223 |
+
Payload=serialized_data
|
224 |
+
)
|
225 |
+
response_payload = response['Payload'].read()
|
226 |
+
response_data = json.loads(response_payload)
|
227 |
+
except Exception as e:
|
228 |
+
print(f"An error occurred: {e}")
|
229 |
+
|
230 |
+
return formatReturn(response_data['body'])
|
231 |
+
|
232 |
+
def inferenceAPI(model, item, attempts = 1):
|
233 |
+
if attempts > 5:
|
234 |
+
return 'An error occured when Processing', model
|
235 |
+
prompt = item.prompt
|
236 |
+
if "dallinmackay" in model:
|
237 |
+
prompt = "lvngvncnt, " + item.prompt
|
238 |
+
data = {"inputs":prompt, "negative_prompt": perm_negative_prompt, "options":options}
|
239 |
+
api_data = json.dumps(data)
|
240 |
+
try:
|
241 |
+
response = requests.request("POST", API_URL + model, headers=headers, data=api_data)
|
242 |
+
if response is None:
|
243 |
+
inferenceAPI(get_random_model(activeModels['text-to-image']), item, attempts+1)
|
244 |
+
base64_img = formatReturn(response.content)
|
245 |
+
|
246 |
+
return model, base64_img
|
247 |
+
except Exception as e:
|
248 |
+
print(f'Error When Processing Image: {e}')
|
249 |
+
activeModels = InferenceClient().list_deployed_models()
|
250 |
+
model = get_random_model(activeModels['text-to-image'])
|
251 |
+
pattern = r'^(.{1,30})\/(.{1,50})$'
|
252 |
+
if not re.match(pattern, model):
|
253 |
+
return "error model not valid", model
|
254 |
+
return inferenceAPI(model, item, attempts+1)
|
255 |
+
|
256 |
+
|
257 |
+
def get_random_model(models):
|
258 |
+
global last_two_models
|
259 |
+
model = None
|
260 |
+
priorities = [
|
261 |
+
"kandinsky-community",
|
262 |
+
"Kolors-diffusers",
|
263 |
+
"Juggernaut",
|
264 |
+
"insaneRealistic",
|
265 |
+
"MajicMIX",
|
266 |
+
"digiautogpt3",
|
267 |
+
"fluently"
|
268 |
+
]
|
269 |
+
|
270 |
+
for priority in priorities:
|
271 |
+
for i, model_name in enumerate(models):
|
272 |
+
if priority in model_name and model_name not in last_two_models:
|
273 |
+
model = models[i]
|
274 |
+
break
|
275 |
+
if model is not None:
|
276 |
+
break
|
277 |
+
if model is None:
|
278 |
+
print("Choosing randomly")
|
279 |
+
model = random.choice(models)
|
280 |
+
last_two_models.append(model)
|
281 |
+
last_two_models = last_two_models[-5:]
|
282 |
+
return model
|
283 |
+
|
284 |
+
def nsfw_check(attempts = 1):
|
285 |
+
try:
|
286 |
+
API_URL = "https://api-inference.huggingface.co/models/Falconsai/nsfw_image_detection"
|
287 |
+
with open('response.png', 'rb') as f:
|
288 |
+
data = f.read()
|
289 |
+
response = requests.request("POST", API_URL, headers=headers, data=data)
|
290 |
+
decoded_response = json.loads(response.content.decode("utf-8"))
|
291 |
+
if 'error' in decoded_response:
|
292 |
+
print(f'Error in NSFW Check: {decoded_response}')
|
293 |
+
time.sleep(int(decoded_response["estimated_time"]))
|
294 |
+
return nsfw_check(attempts+1)
|
295 |
+
print(decoded_response)
|
296 |
+
scores = {item['label']: item['score'] for item in decoded_response}
|
297 |
+
error_msg = True if scores.get('nsfw') > scores.get('normal') else False
|
298 |
+
return error_msg
|
299 |
+
except Exception as e:
|
300 |
+
print(f'NSFW Check Error: {e}')
|
301 |
+
if attempts > 3:
|
302 |
+
return True
|
303 |
+
return nsfw_check(attempts+1)
|
304 |
+
|
305 |
+
|
306 |
+
@app.post("/api")
|
307 |
+
async def inference(item: Item):
|
308 |
+
activeModels = InferenceClient().list_deployed_models()
|
309 |
+
base64_img = ""
|
310 |
+
model = item.modelID
|
311 |
+
NSFW = False
|
312 |
+
try:
|
313 |
+
if item.image:
|
314 |
+
model = "stabilityai/stable-diffusion-xl-base-1.0"
|
315 |
+
base64_img = gradioHatmanInstantStyle(item)
|
316 |
+
elif "AuraFlow" in item.modelID:
|
317 |
+
base64_img = gradioAuraFlow(item)
|
318 |
+
elif "Random" in item.modelID:
|
319 |
+
model = get_random_model(activeModels['text-to-image'])
|
320 |
+
pattern = r'^(.{1,30})\/(.{1,50})$'
|
321 |
+
if not re.match(pattern, model):
|
322 |
+
raise ValueError("Model not Valid")
|
323 |
+
model, base64_img= inferenceAPI(model, item)
|
324 |
+
elif "stable-diffusion-3" in item.modelID:
|
325 |
+
base64_img = gradioSD3(item)
|
326 |
+
elif "Voxel" in item.modelID or "pixel" in item.modelID:
|
327 |
+
prompt = item.prompt
|
328 |
+
if "Voxel" in item.modelID:
|
329 |
+
prompt = "voxel style, " + item.prompt
|
330 |
+
base64_img = lambda_image(prompt, item.modelID)
|
331 |
+
elif item.modelID not in activeModels['text-to-image']:
|
332 |
+
asyncio.create_task(wake_model(item.modelID))
|
333 |
+
return {"output": "Model Waking"}
|
334 |
+
else:
|
335 |
+
model, base64_img = inferenceAPI(model, item)
|
336 |
+
if 'error' in base64_img:
|
337 |
+
return {"output": base64_img, "model": model}
|
338 |
+
NSFW = nsfw_check()
|
339 |
+
|
340 |
+
save_image(base64_img, item, model, NSFW)
|
341 |
+
except Exception as e:
|
342 |
+
print(f"An error occurred: {e}")
|
343 |
+
base64_img = f"An error occurred: {e}"
|
344 |
+
return {"output": base64_img, "model": model, "NSFW": NSFW}
|
345 |
+
|
346 |
+
prompt_base = 'Instructions:\
|
347 |
+
\
|
348 |
+
1. Take the provided seed string as inspiration.\
|
349 |
+
2. Generate a prompt that is clear, vivid, and imaginative.\
|
350 |
+
3. This is a visual image so any reference to senses other than sight should be avoided.\
|
351 |
+
4. Ensure the prompt is between 90 and 100 tokens.\
|
352 |
+
5. Return only the prompt.\
|
353 |
+
Format your response as follows:\
|
354 |
+
Stable Diffusion Prompt: [Your prompt here]\
|
355 |
+
\
|
356 |
+
Remember:\
|
357 |
+
\
|
358 |
+
- The prompt should be descriptive.\
|
359 |
+
- Avoid overly complex or abstract phrases.\
|
360 |
+
- Make sure the prompt evokes strong imagery and can guide the creation of visual content.\
|
361 |
+
- Make sure the prompt is between 90 and 100 tokens.'
|
362 |
+
|
363 |
+
prompt_assistant = "I am ready to return a prompt that is between 90 and 100 tokens. What is your seed string?"
|
364 |
+
|
365 |
+
app.mount("/", StaticFiles(directory="web-build", html=True), name="build")
|
366 |
+
|
367 |
+
@app.get('/')
|
368 |
+
def homepage() -> FileResponse:
|
369 |
+
return FileResponse(path="/app/build/index.html", media_type="text/html")
|
requirements.txt
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Pillow
|
2 |
+
requests
|
3 |
+
uvicorn
|
4 |
+
fastapi
|
5 |
+
diffusers
|
6 |
+
huggingface_hub
|
7 |
+
transformers
|
8 |
+
sentencepiece
|
9 |
+
protobuf
|
10 |
+
aiohttp
|
11 |
+
accelerate
|
12 |
+
safetensors
|
13 |
+
gradio_client
|
14 |
+
python-dotenv
|
15 |
+
boto3
|
web-build/asset-manifest.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"files": {
|
3 |
+
"main.js": "/static/js/main.b46a4b05.js",
|
4 |
+
"static/js/23.aed00c51.js": "/static/js/23.aed00c51.js",
|
5 |
+
"static/media/Sigmar-Regular.ttf": "/static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf",
|
6 |
+
"static/media/avocado.jpg": "/static/media/avocado.667d95040b7743f10475.jpg",
|
7 |
+
"static/media/expand.wav": "/static/media/expand.b5b6ef947e392b34f3a7.wav",
|
8 |
+
"static/media/switch.wav": "/static/media/switch.240137757eea64787aa0.wav",
|
9 |
+
"static/media/swoosh.mp3": "/static/media/swoosh.62af6af682638947da60.mp3",
|
10 |
+
"static/media/rotated_circle.png": "/static/media/rotated_circle.b56c18824dce5a63d6a7.png",
|
11 |
+
"static/media/circle.png": "/static/media/circle.ec41e37092298d9f2a54.png",
|
12 |
+
"static/media/join_colored.png": "/static/media/join_colored.196d8ae6245a668731e5.png",
|
13 |
+
"static/media/click.wav": "/static/media/click.514e4b6ee663e4f549a5.wav",
|
14 |
+
"static/media/join.png": "/static/media/join.110714915a44dac5efa1.png",
|
15 |
+
"static/media/add_image.png": "/static/media/add_image.81a4c7060d33d44f6b5f.png",
|
16 |
+
"static/media/close.png": "/static/media/close.7b63baa66ff83915615a.png",
|
17 |
+
"static/media/delete_colored.png": "/static/media/delete_colored.888943ef6f1f40237fcd.png",
|
18 |
+
"static/media/delete.png": "/static/media/delete.22bf9b10369bd23cac1c.png",
|
19 |
+
"static/media/down.png": "/static/media/down.96a1baf6b806338f1733.png",
|
20 |
+
"static/media/right.png": "/static/media/right.6e46922e35869806233f.png",
|
21 |
+
"index.html": "/index.html",
|
22 |
+
"serve.json": "/serve.json",
|
23 |
+
"manifest.json": "/manifest.json",
|
24 |
+
"main.b46a4b05.js.map": "/static/js/main.b46a4b05.js.map",
|
25 |
+
"23.aed00c51.js.map": "/static/js/23.aed00c51.js.map"
|
26 |
+
},
|
27 |
+
"entrypoints": [
|
28 |
+
"static/js/23.aed00c51.js",
|
29 |
+
"static/js/main.b46a4b05.js"
|
30 |
+
]
|
31 |
+
}
|
web-build/index.html
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta httpequiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1.00001,viewport-fit=cover"/><title>Pixel Prompt Frontend</title><style>#root,body,html{width:100%;-webkit-overflow-scrolling:touch;margin:0;padding:0;min-height:100%}#root{flex-shrink:0;flex-basis:auto;flex-grow:1;display:flex;flex:1}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;height:calc(100% + env(safe-area-inset-top))}body{display:flex;overflow-y:auto;overscroll-behavior-y:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-ms-overflow-style:scrollbar}</style><link rel="manifest" href="\manifest.json"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><meta name="apple-mobile-web-app-title" content="Pixel Prompt Frontend"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><script defer="defer" src="/static/js/23.aed00c51.js"></script><script defer="defer" src="/static/js/main.b46a4b05.js"></script></head><body><noscript><form action="" style="background-color:#fff;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999"><div style="font-size:18px;font-family:Helvetica,sans-serif;line-height:24px;margin:10%;width:80%"><p>Oh no! It looks like JavaScript is not enabled in your browser.</p><p style="margin:20px 0"><button type="submit" style="background-color:#4630eb;border-radius:100px;border:none;box-shadow:none;color:#fff;cursor:pointer;font-weight:700;line-height:20px;padding:6px 16px">Reload</button></p></div></form></noscript><div id="root"></div></body></html>
|
web-build/manifest.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"display": "standalone",
|
3 |
+
"lang": "en",
|
4 |
+
"name": "Pixel Prompt Frontend",
|
5 |
+
"short_name": "Pixel Prompt Frontend",
|
6 |
+
"start_url": "/?utm_source=web_app_manifest"
|
7 |
+
}
|
web-build/serve.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"headers": [
|
3 |
+
{
|
4 |
+
"source": "static/**/*.js",
|
5 |
+
"headers": [
|
6 |
+
{
|
7 |
+
"key": "Cache-Control",
|
8 |
+
"value": "public, max-age=31536000, immutable"
|
9 |
+
}
|
10 |
+
]
|
11 |
+
}
|
12 |
+
]
|
13 |
+
}
|
web-build/static/js/133.507aa947.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/133.507aa947.js.LICENSE.txt
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
object-assign
|
3 |
+
(c) Sindre Sorhus
|
4 |
+
@license MIT
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @license
|
9 |
+
* Lodash <https://lodash.com/>
|
10 |
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
11 |
+
* Released under MIT license <https://lodash.com/license>
|
12 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
13 |
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
14 |
+
*/
|
15 |
+
|
16 |
+
/**
|
17 |
+
* @license React
|
18 |
+
* react-dom.production.min.js
|
19 |
+
*
|
20 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
21 |
+
*
|
22 |
+
* This source code is licensed under the MIT license found in the
|
23 |
+
* LICENSE file in the root directory of this source tree.
|
24 |
+
*/
|
25 |
+
|
26 |
+
/**
|
27 |
+
* @license React
|
28 |
+
* react-jsx-runtime.production.min.js
|
29 |
+
*
|
30 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
31 |
+
*
|
32 |
+
* This source code is licensed under the MIT license found in the
|
33 |
+
* LICENSE file in the root directory of this source tree.
|
34 |
+
*/
|
35 |
+
|
36 |
+
/**
|
37 |
+
* @license React
|
38 |
+
* react.production.min.js
|
39 |
+
*
|
40 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
41 |
+
*
|
42 |
+
* This source code is licensed under the MIT license found in the
|
43 |
+
* LICENSE file in the root directory of this source tree.
|
44 |
+
*/
|
45 |
+
|
46 |
+
/**
|
47 |
+
* @license React
|
48 |
+
* scheduler.production.min.js
|
49 |
+
*
|
50 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
51 |
+
*
|
52 |
+
* This source code is licensed under the MIT license found in the
|
53 |
+
* LICENSE file in the root directory of this source tree.
|
54 |
+
*/
|
web-build/static/js/133.507aa947.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/23.aed00c51.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/23.aed00c51.js.LICENSE.txt
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* The buffer module from node.js, for the browser.
|
3 |
+
*
|
4 |
+
* @author Feross Aboukhadijeh <https://feross.org>
|
5 |
+
* @license MIT
|
6 |
+
*/
|
7 |
+
|
8 |
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
9 |
+
|
10 |
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
11 |
+
|
12 |
+
/**
|
13 |
+
* @license React
|
14 |
+
* react-dom.production.min.js
|
15 |
+
*
|
16 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
17 |
+
*
|
18 |
+
* This source code is licensed under the MIT license found in the
|
19 |
+
* LICENSE file in the root directory of this source tree.
|
20 |
+
*/
|
21 |
+
|
22 |
+
/**
|
23 |
+
* @license React
|
24 |
+
* react-jsx-runtime.production.min.js
|
25 |
+
*
|
26 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
27 |
+
*
|
28 |
+
* This source code is licensed under the MIT license found in the
|
29 |
+
* LICENSE file in the root directory of this source tree.
|
30 |
+
*/
|
31 |
+
|
32 |
+
/**
|
33 |
+
* @license React
|
34 |
+
* react.production.min.js
|
35 |
+
*
|
36 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
37 |
+
*
|
38 |
+
* This source code is licensed under the MIT license found in the
|
39 |
+
* LICENSE file in the root directory of this source tree.
|
40 |
+
*/
|
41 |
+
|
42 |
+
/**
|
43 |
+
* @license React
|
44 |
+
* scheduler.production.min.js
|
45 |
+
*
|
46 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
47 |
+
*
|
48 |
+
* This source code is licensed under the MIT license found in the
|
49 |
+
* LICENSE file in the root directory of this source tree.
|
50 |
+
*/
|
web-build/static/js/23.aed00c51.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/968.ccf00a78.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/968.ccf00a78.js.LICENSE.txt
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
object-assign
|
3 |
+
(c) Sindre Sorhus
|
4 |
+
@license MIT
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @license
|
9 |
+
* Lodash <https://lodash.com/>
|
10 |
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
11 |
+
* Released under MIT license <https://lodash.com/license>
|
12 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
13 |
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
14 |
+
*/
|
15 |
+
|
16 |
+
/**
|
17 |
+
* @license React
|
18 |
+
* react-dom.production.min.js
|
19 |
+
*
|
20 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
21 |
+
*
|
22 |
+
* This source code is licensed under the MIT license found in the
|
23 |
+
* LICENSE file in the root directory of this source tree.
|
24 |
+
*/
|
25 |
+
|
26 |
+
/**
|
27 |
+
* @license React
|
28 |
+
* react-jsx-runtime.production.min.js
|
29 |
+
*
|
30 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
31 |
+
*
|
32 |
+
* This source code is licensed under the MIT license found in the
|
33 |
+
* LICENSE file in the root directory of this source tree.
|
34 |
+
*/
|
35 |
+
|
36 |
+
/**
|
37 |
+
* @license React
|
38 |
+
* react.production.min.js
|
39 |
+
*
|
40 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
41 |
+
*
|
42 |
+
* This source code is licensed under the MIT license found in the
|
43 |
+
* LICENSE file in the root directory of this source tree.
|
44 |
+
*/
|
45 |
+
|
46 |
+
/**
|
47 |
+
* @license React
|
48 |
+
* scheduler.production.min.js
|
49 |
+
*
|
50 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
51 |
+
*
|
52 |
+
* This source code is licensed under the MIT license found in the
|
53 |
+
* LICENSE file in the root directory of this source tree.
|
54 |
+
*/
|
web-build/static/js/968.ccf00a78.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/main.00a04e5c.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{var e={9618:(e,t,a)=>{"use strict";var i=a(4657),n=a(5458),r=a(296),o=a(6665),s=a(3668),l=a(3929),c=a(2772),d=a(6283),u=a(5708),h=a(484),g=a(6725),m=a(7225),f=a(3374),p=a(7851),y=a.n(p),w=a(397);function b(e){var t=e.setSteps,a=e.setGuidance,i=o.useState(28),n=(0,r.default)(i,2),s=n[0],c=n[1],u=o.useState(5),h=(0,r.default)(u,2),g=h[0],m=h[1];return(0,w.jsxs)(l.default,{style:k.container,children:[(0,w.jsx)(d.default,{style:k.captionText,children:"Sampling Steps"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:3,maximumValue:50,step:1,value:s,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){c(e),t(e)}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:s}),(0,w.jsx)(d.default,{style:k.captionText,children:"Guidance"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:0,maximumValue:10,step:.1,value:g,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){m(parseFloat(e.toFixed(2))),a(parseFloat(e.toFixed(2)))}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:g})]})}var v="#FFFFFF",k=s.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:v,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:v,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}}),x=a(4467),A=a(6773);function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach((function(t){(0,x.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function C(e){var t=e.setPlaySound,i=e.setPrompt,n=e.inferredPrompt,s=o.useState(""),c=(0,r.default)(s,2),d=c[0],m=c[1],f=j(j({},I.input),{},{width:g.default.get("window").width>500?500:g.default.get("window").width-80});(0,o.useEffect)((function(){n&&(m(n),i(n))}),[n]);return(0,w.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,w.jsx)(A.default,{style:f,placeholder:"",multiline:!0,textAlign:"center",onChangeText:function(e){m(e),i(e)},value:d,maxLength:2e4}),(0,w.jsx)(u.default,{style:function(e){return[{height:30,width:30,backgroundColor:e.pressed?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}]},onPress:function(){m(""),i(""),t("click")},children:(0,w.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}var P="#FFFFFF",T="#B58392",F="#000000",I=s.default.create({input:{backgroundColor:P,borderColor:T,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:F,fontFamily:"Sigmar",marginRight:10}}),B=a(5009),D=a(558);function R(){var e=(0,o.useRef)((0,n.default)(Array(12)).map((function(){return new B.default.Value(0)}))).current,t=(0,D.default)().width;(0,o.useEffect)((function(){e.map((function(e,t){var a=B.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=B.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,o=600,s=[t*n,t*r,(11-t)*n,t*o,(11-t)*r,t*n,(11-t)*o,t*r,(11-t)*n,(11-t)*r,t*o,(11-t)*o].map((function(e,t){return B.default.sequence([B.default.delay(e),a,i])})),l=B.default.sequence(s);return B.default.loop(l)})).forEach((function(e){e.start()}))}),[e]);var a=e.map((function(e){return e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"})})).map((function(e){return{fontSize:e}}));return(0,w.jsx)(l.default,{style:O.containerbreathing,children:(0,w.jsxs)(d.default,{style:O.heading,children:[(0,w.jsx)(B.default.Text,{style:[O.char,a[0]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[1]],children:"I"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[2]],children:"X"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[3]],children:"E"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[4]],children:"L"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[5]],children:" "}),(0,w.jsx)(B.default.Text,{style:[O.char,a[6]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[7]],children:"R"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[8]],children:"O"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[9]],children:"M"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[10]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[11]],children:"T"})]})})}var O=s.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}}),z=a(5781);function M(e){var t=e.passModelID,a=(0,o.useState)("Model ID"),i=(0,r.default)(a,2),n=i[0],s=i[1];return(0,w.jsx)(z.Dropdown,{style:L.dropdown,selectedTextStyle:L.selectedTextStyle,placeholderStyle:L.placeholderStyle,data:[{label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"},{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"SPO Diffusion XL",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:n,onChange:function(e){t(e),s(e.label)}})}var E="#9DA58D",H="#FFFFFF",L=s.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:E,borderBottomWidth:3},placeholderStyle:{color:H,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:H,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}}),G=a(467),_=a(4037),W=a(932),V=a(3303),N=a(9050),q=a(4692),J=a(8945),K=a(3558),U={backgroundColor:"#25292e",selectButtonBackground:"#3a3c3f",white:"#FFFFFF"},X=s.default.create({flatListContainer:{width:"auto",height:"auto"},switchesRowContainer:{backgroundColor:U.backgroundColor,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{marginTop:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:U.selectButtonBackground},promptText:{color:U.white,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},imageCard:{backgroundColor:U.buttonBackground,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center"}});const Z=function(e){var t=e.columnCount,a=e.selectedImageIndex,i=e.setSelectedImageIndex,s=e.initialReturnedPrompt,c=e.setReturnedPrompt,m=e.promptList,f=e.setPromptList,p=e.setPlaySound,y=e.imageSource,b=e.setImageSource,v=e.styleSwitch,k=e.setStyleSwitch,x=e.settingSwitch,A=e.setSettingSwitch,S=(0,o.useState)(0),j=(0,r.default)(S,2),C=j[0],P=j[1],T=(0,o.useState)(160),F=(0,r.default)(T,2),I=F[0],B=F[1];(0,o.useEffect)((function(){g.default.get("window").width<1e3&&B(null!==a?440+C:160)}),[a,C]);var D=function(){var e=(0,G.default)((function*(e){if("granted"===(yield V.requestMediaLibraryPermissionsAsync()).status){console.log("Selecting image");var t=yield V.launchImageLibraryAsync({mediaTypes:N.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});t.cancelled||(p("swoosh"),b((function(a){var i=(0,n.default)(a);return i[e]=t.assets[0].uri,i[e+1]=q,i})),f((function(t){var a=(0,n.default)(t);return a[e]="Uploaded Image",a})))}else alert("Sorry, we need media library permissions to select an image.")}));return function(t){return e.apply(this,arguments)}}();(0,o.useEffect)((function(){c(null!==a?m[a]:s)}),[a]);function R(e){var i=(a+1)%t===0||a===y.length-1,n=a%t===0;return a===e+(n?-1:1)||a===e+(n?-2:i?2:-1)}return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(l.default,{style:X.switchesRowContainer,children:[(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:v?"#9DA58D":"#FFFFFF"},X.sliderText],children:"Style"}),(0,w.jsx)(_.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){k(!v),p("switch")},value:v})]}),(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:x?"#9FA8DA":"#FFFFFF"},X.sliderText],children:"Layout"}),(0,w.jsx)(_.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){A(!x),p("switch")},value:x})]})]}),(0,w.jsx)(l.default,{style:X.flatListContainer,children:(0,w.jsx)(W.default,{data:y,numColumns:t,keyExtractor:function(e,t){return t.toString()},renderItem:function(e){var n=e.item,r=e.index;return(0,w.jsxs)(l.default,{style:[X.imageColumnContainer,{width:R(r)?0:a===r?330:r===y.length-1?160:105,height:g.default.get("window").width<1e3&&a==r?I:a===r?440:r===y.length-1?160:105,margin:0,marginTop:a===r?20:0,overflow:"visible"}],children:[(0,w.jsx)(l.default,{style:[X.columnContainer],children:(0,w.jsx)(u.default,{onPress:function(){p("click"),i(a!==r?r:null)},style:[X.imageCard,{alignItems:"flex-start",justifyContent:"flex-start",width:R(r)?0:a===r?320:100,height:R(r)?0:a===r?400:100,borderRadius:a===r?30:0}],children:(0,w.jsx)(h.default,{source:"number"===typeof n?n:{uri:n},style:[{width:R(r)?0:a===r?320:100,height:R(r)?0:a===r?400:100,borderRadius:a===r?30:0}]})})}),r!==y.length-1&&(null===a||r!==a+1)&&(null===a||(r-2)%t!==0)&&(0,w.jsx)(u.default,{onPress:function(){!function(e){b((function(t){return p("click"),t.length>1?t.filter((function(t,a){return a!==e})):[q]})),c(m[e+1]),f((function(t){return t.length>1?t.filter((function(t,a){return a!==e})):[""]}))}(r)},style:{position:"absolute",top:0,right:0},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?J:K,style:[X.changeButton]})}}),g.default.get("window").width<1e3&&a===r&&r!==y.length-1&&(0,w.jsx)(d.default,{style:[X.promptText,{flexShrink:1}],numberOfLines:1e3,onLayout:function(e){var t=e.nativeEvent.layout.height;P(t)},children:m[r]}),r===y.length-1&&!a&&(null===a||r!==a+2)&&(null===a||2!==y.length)&&(0,w.jsx)(u.default,{style:[X.selectButton],onPress:function(){p("click"),D(r)},children:(0,w.jsx)(d.default,{style:X.promptText,children:"Select"})})]})}},t)})]})};var $=a(530),Q=a(1284),Y=a(4663),ee="#25292e",te="#FFFFFF",ae=s.default.create({rowContainer:{backgroundColor:ee,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:te,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}});const ie=function(e){var t=e.setPlaySound,a=e.switchToFlan,i=e.setInferrenceButton,n=e.activity,s=e.longPrompt,c=e.setTextInference,g=e.switchPromptFunction,m=e.promptLengthValue,f=e.setParametersWrapper,p=(0,o.useState)(!1),y=(0,r.default)(p,2),b=y[0],v=y[1];return(0,w.jsx)(w.Fragment,{children:n?(0,w.jsx)($.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,w.jsxs)(w.Fragment,{children:[s?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(l.default,{style:[ae.rowContainer],children:[(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}}),(0,w.jsxs)(l.default,{style:ae.columnContainer,children:[(0,w.jsxs)(l.default,{style:[ae.rowContainer],children:[(0,w.jsx)(d.default,{style:[{color:b||m?"#FFFFFF":"#9FA8DA",marginRight:15},ae.sliderText],children:"Short"}),(0,w.jsx)(d.default,{style:[{color:b?"#FFFFFF":m?"#9FA8DA":"#FFFFFF",marginRight:15},ae.sliderText],children:"Long"})]}),(0,w.jsxs)(l.default,{style:[ae.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,w.jsx)(_.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){v(!1),g()},value:m}),(0,w.jsx)(u.default,{onPress:function(){a(),v(!0),t("click")},children:(0,w.jsx)(h.default,{source:b?Q:Y,style:[{marginRight:30},ae.changeButton]})})]})]})]})}):(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D"},ae.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ae.promptText,children:t?"PROMPTED!":"Prompt"})}}),(0,w.jsx)(u.default,{onPress:function(){i(!0),f(),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#9DA58D":"#958DA5",marginBottom:20},ae.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ae.promptText,children:t?"INFERRED!":"Inference"})}})]})})};var ne=s.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}});const re=function(e){var t=e.setPlaySound,i=e.isImagePickerVisible,n=e.setImagePickerVisible,r=a(1297),o=a(8707);return(0,w.jsx)(u.default,{style:[ne.expandButton,{alignSelf:"flex-start",marginLeft:(g.default.get("window").width,"20%"),marginBottom:0}],onPress:function(){t("expand"),n(!i)},children:i?(0,w.jsx)(h.default,{source:o,style:ne.expandImage}):(0,w.jsx)(h.default,{source:r,style:ne.expandImage})})},oe=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}');const se=function(e){var t=e.setFlanPrompt,a=e.prompt,i=e.textInference,n=e.setTextInference,r=e.setLongPrompt,s=e.setShortPrompt,l=e.setInferredPrompt,c=e.promptLengthValue,d=e.setActivity,u=e.setModelError;(0,o.useEffect)((function(){if(i){d(!0),u(!1);var e="";if("Avocado Armchair"===a||""===a){var o=Math.floor(Math.random()*oe.seeds.length);if(o>oe.seeds.length-13)return r(oe.seeds[o]),s(oe.seeds[o]),l(oe.seeds[o]),void d(!1);e=oe.seeds[o]}else e=a;fetch("http://localhost:8000/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({itemString:e})}).then((function(a){a.json().then((function(a){var i=a.plain.split("Stable Diffusion Prompt:")[1];t(a.magic),r(i),s(e),l(c?i:e),d(!1)})).catch((function(e){return console.error("Error:",e)}))})).catch((function(e){return console.error("Fetch Error:",e)})),n(!1)}}),[i])};const le=function(e){var t=e.setImageSource,a=e.setPromptList,i=e.selectedImageIndex,s=e.setInferrenceButton,l=e.inferrenceButton,c=e.setModelMessage,d=e.imageSource,u=e.modelID,h=e.prompt,g=e.styleSwitch,m=e.settingSwitch,f=e.guidance,p=e.steps,y=e.setActivity,w=e.setModelError,b=e.setReturnedPrompt,v=e.setInitialReturnedPrompt,k=e.setInferredImage,x=(0,o.useState)(""),A=(0,r.default)(x,2),S=A[0],j=A[1];(0,o.useEffect)((function(){fetch("http://localhost:8000/core",{method:"GET"}).then((function(e){return e.json()})).then((function(e){console.log(e),e.prompt.length>0&&(e.prompt.forEach((function(e,t){a((function(t){return[e].concat((0,n.default)(t))}))})),e.base64.forEach((function(e,a){t((function(t){return[e].concat((0,n.default)(t))}))})))})).catch((function(e){console.error("There was an error!",e)}))}),[]),(0,o.useEffect)((function(){if(S){var e={none:{key2:[0,0]}};g&&(e={up:{block_0:[0,1,0]}}),m&&(e={down:{block_2:[0,1]}}),g&&m&&(e={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(e),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:h,steps:p,guidance:f,modelID:u.value,image:S,scale:e})}).then((function(e){return e.json()})).then((function(e){y(!1),s(!1),b(h),v(h),j(null),k("data:image/png;base64,"+e.output)})).catch((function(e){c("Model Error!"),y(!1),w(!0),s(!1),console.log(e)}))}}),[S]),(0,o.useEffect)((function(){if(l){y(!0);var e=u.value,t={up:{block_0:[0,1,0]}};(g||m)&&(d[i],e="gradiotxt2img",m&&(t={down:{block_2:[0,1]}}),g&&m&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}})),u.value.includes("pix2pix")?(c("Inference API img2img NotAvailable"),y(!1),w(!0),s(!1)):fetch("http://localhost:8000/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:h,steps:p,guidance:f,modelID:e,modelLabel:u.label,image:"test",scale:t})}).then((function(e){return e.json()})).then((function(e){"Model Waking"==e.output?(c("Model Waking"),y(!1),w(!0),s(!1)):v(u.label+" "+h),s(!1),y(!1),b(h),k("data:image/png;base64,"+e.output)})).catch((function(e){c("Model Error!"),y(!1),w(!0),s(!1),console.log(e)}))}}),[l])};var ce=a(5806),de=a(4825),ue=a(4283),he=a(2968),ge=a(8641),me=a(7390);const fe=function(e){var t=e.makeSound,a=(0,o.useRef)(null);return(0,o.useEffect)((function(){return ce.setAudioModeAsync({playsInSilentModeIOS:!0,staysActiveInBackground:!0,shouldDuckAndroid:!0,interruptionModeIOS:ce.INTERRUPTION_MODE_IOS_DO_NOT_MIX,interruptionModeAndroid:ce.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX}),function(){var e;a.current&&(null==(e=a.current)||e.unloadAsync())}}),[]),(0,o.useEffect)((function(){var e=function(){var e=(0,G.default)((function*(){var e=(yield de.Sound.createAsync({uri:"click"===t[0]?ue:"swoosh"===t[0]?he:"switch"===t[0]?ge:me},{shouldPlay:!0})).sound;a.current=e,yield e.playAsync()}));return function(){return e.apply(this,arguments)}}();t&&e()}),[t]),null};var pe=a(1872),ye=a(8507),we=a(4692),be=a(7038);function ve(){(0,f.useFonts)({Sigmar:a(3021)});var e=(0,o.useState)(pe),t=(0,r.default)(e,2),i=t[0],s=t[1],p=(0,o.useState)(28),y=(0,r.default)(p,2),v=y[0],k=y[1],x=(0,o.useState)(5),A=(0,r.default)(x,2),S=A[0],j=A[1],P=(0,o.useState)({label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"}),T=(0,r.default)(P,2),F=T[0],I=T[1],B=(0,o.useState)("Avocado Armchair"),D=(0,r.default)(B,2),O=D[0],z=D[1],E=(0,o.useState)(null),H=(0,r.default)(E,2),L=H[0],G=H[1],_=(0,o.useState)(null),W=(0,r.default)(_,2),V=(W[0],W[1]),N=(0,o.useState)(!1),q=(0,r.default)(N,2),J=q[0],K=q[1],U=(0,o.useState)(!1),X=(0,r.default)(U,2),$=X[0],Q=X[1],Y=(0,o.useState)("Avacado Armchair"),ee=(0,r.default)(Y,2),te=ee[0],ae=ee[1],ne=(0,o.useState)("Avacado Armchair"),oe=(0,r.default)(ne,2),ce=oe[0],de=oe[1],ue=(0,o.useState)(!1),he=(0,r.default)(ue,2),ge=he[0],me=he[1],ve=(0,o.useState)(""),ke=(0,r.default)(ve,2),xe=ke[0],Ae=ke[1],je=(0,o.useState)(null),Ce=(0,r.default)(je,2),Pe=Ce[0],Te=Ce[1],Fe=(0,o.useState)(!1),Ie=(0,r.default)(Fe,2),Be=Ie[0],De=Ie[1],Re=(0,o.useState)(""),Oe=(0,r.default)(Re,2),ze=Oe[0],Me=Oe[1],Ee=(0,o.useState)(null),He=(0,r.default)(Ee,2),Le=He[0],Ge=He[1],_e=(0,o.useState)(null),We=(0,r.default)(_e,2),Ve=We[0],Ne=We[1],qe=(0,o.useState)(!1),Je=(0,r.default)(qe,2),Ke=Je[0],Ue=Je[1],Xe=(0,o.useState)([we]),Ze=(0,r.default)(Xe,2),$e=Ze[0],Qe=Ze[1],Ye=(0,o.useState)(!1),et=(0,r.default)(Ye,2),tt=et[0],at=et[1],it=(0,o.useState)(!1),nt=(0,r.default)(it,2),rt=nt[0],ot=nt[1],st=(0,o.useState)(null),lt=(0,r.default)(st,2),ct=lt[0],dt=lt[1],ut=(0,o.useState)([null,0]),ht=(0,r.default)(ut,2),gt=ht[0],mt=ht[1],ft=(0,o.useState)([]),pt=(0,r.default)(ft,2),yt=pt[0],wt=pt[1],bt=(0,o.useState)(!1),vt=(0,r.default)(bt,2),kt=vt[0],xt=vt[1],At=(0,o.useState)(null),St=(0,r.default)(At,2),jt=St[0],Ct=St[1],Pt=(0,o.useState)(3),Tt=(0,r.default)(Pt,2),Ft=Tt[0],It=Tt[1],Bt=function(e){Q(!1),I(e)},Dt=function(e){dt((function(e){return e+1})),mt([e,ct])};(0,o.useEffect)((function(){kt&&(i!==we&&(console.log("swapImage",i),wt((function(e){return[ce].concat((0,n.default)(e))})),Qe((function(e){return[i].concat((0,n.default)(e))})),s(we),de(""),ae("")),xt(!1))}));var Rt=function(){De(!Be),Be?(G(xe),Dt("switch")):(G(Pe),Dt("switch"))},Ot=function(){G(Ve)},zt=function(){V(`${O}-${v}-${S}-${F.value}`)};return(0,o.useEffect)((function(){var e=function(){var e;e=g.default.get("window").width,It(e<600?3:e>=600&&e<1e3?4:e>=1e3&&e<1400?5:e>=1400&&e<1700?6:7)};return e(),g.default.addEventListener("change",e),function(){return g.default.removeEventListener("change",e)}}),[]),(0,w.jsxs)(l.default,{style:Se.titlecontainer,children:[(0,w.jsx)(fe,{makeSound:gt}),(0,w.jsx)(se,{setFlanPrompt:Ne,prompt:O,textInference:ge,setTextInference:me,setLongPrompt:Te,setShortPrompt:Ae,setInferredPrompt:G,promptLengthValue:Be,setActivity:K,setModelError:Q}),(0,w.jsx)(le,{setImageSource:Qe,setPromptList:wt,selectedImageIndex:jt,setInferrenceButton:Ge,inferrenceButton:Le,setModelMessage:Me,imageSource:$e,modelID:F,prompt:O,styleSwitch:rt,settingSwitch:tt,guidance:S,steps:v,setActivity:K,setModelError:Q,setReturnedPrompt:ae,setInitialReturnedPrompt:de,setInferredImage:s}),(0,w.jsx)(R,{}),(0,w.jsx)(c.default,{scrollY:!0,style:Se.ScrollView,showsVerticalScrollIndicator:!1,children:g.default.get("window").width>1e3?(0,w.jsxs)(l.default,{style:Se.rowContainer,children:[Ke&&(0,w.jsx)(u.default,{onPress:function(){xt(!0),Dt("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButton,{top:t?g.default.get("window").height/2-13:g.default.get("window").height/2-15,left:t?g.default.get("window").width/2-13:g.default.get("window").width/2-15,width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}}),(0,w.jsxs)(l.default,{style:Se.leftColumnContainer,children:[(0,w.jsx)(l.default,{children:(0,w.jsx)(C,{setPlaySound:Dt,setPrompt:z,inferredPrompt:L})}),(0,w.jsxs)(l.default,{style:[Se.rowContainer,{padding:0}],children:[(0,w.jsx)(M,{setPlaySound:Dt,passModelID:Bt}),(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(ie,{setPlaySound:Dt,switchToFlan:Ot,setInferrenceButton:Ge,activity:J,longPrompt:Pe,setTextInference:me,switchPromptFunction:Rt,promptLengthValue:Be,setParametersWrapper:zt}),$?(0,w.jsx)(d.default,{style:Se.promptText,children:ze}):(0,w.jsx)(w.Fragment,{})]})]}),(0,w.jsx)(re,{setPlaySound:Dt,isImagePickerVisible:Ke,setImagePickerVisible:Ue}),Ke&&(0,w.jsx)(Z,{columnCount:Ft,selectedImageIndex:jt,setSelectedImageIndex:Ct,initialReturnedPrompt:ce,setReturnedPrompt:ae,promptList:yt,setPromptList:wt,setPlaySound:Dt,imageSource:$e,setImageSource:Qe,styleSwitch:rt,setStyleSwitch:ot,settingSwitch:tt,setSettingSwitch:at}),(0,w.jsx)(b,{setSteps:k,setGuidance:j})]}),(0,w.jsxs)(l.default,{style:Se.rightColumnContainer,children:[(0,w.jsx)(l.default,{style:Se.imageCard,children:i&&(0,w.jsx)(h.default,{source:"number"===typeof i?i:{uri:i},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:te})]})]}):(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(C,{setPlaySound:Dt,setPrompt:z,inferredPrompt:L}),(0,w.jsx)(M,{setPlaySound:Dt,passModelID:Bt}),(0,w.jsx)(ie,{setPlaySound:Dt,switchToFlan:Ot,setInferrenceButton:Ge,activity:J,longPrompt:Pe,setTextInference:me,switchPromptFunction:Rt,promptLengthValue:Be,setParametersWrapper:zt}),$?(0,w.jsx)(d.default,{style:Se.promptText,children:ze}):(0,w.jsx)(w.Fragment,{}),(0,w.jsx)(re,{setPlaySound:Dt,isImagePickerVisible:Ke,setImagePickerVisible:Ue}),(0,w.jsx)(l.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:Ke&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(Z,{columnCount:Ft,selectedImageIndex:jt,setSelectedImageIndex:Ct,initialReturnedPrompt:ce,setReturnedPrompt:ae,promptList:yt,setPromptList:wt,setPlaySound:Dt,imageSource:$e,setImageSource:Qe,styleSwitch:rt,setStyleSwitch:ot,settingSwitch:tt,setSettingSwitch:at}),(0,w.jsx)(u.default,{onPress:function(){xt(!0),Dt("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButtonColumn,{width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}})]})}),(0,w.jsx)(b,{setSteps:k,setGuidance:j}),(0,w.jsx)(l.default,{style:Se.imageCard,children:i&&(0,w.jsx)(h.default,{source:"number"===typeof i?i:{uri:i},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:te})]})}),(0,w.jsx)(m.StatusBar,{style:"auto"})]})}var ke="#25292e",xe="#3a3c3f",Ae="#FFFFFF",Se=s.default.create({titlecontainer:{backgroundColor:ke,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ke,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",zIndex:1,elevation:3,backgroundColor:xe},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:xe},promptText:{color:Ae,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:ke,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,alignSelf:"center"},imageCard:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center",backgroundColor:ke,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),je=document.getElementById("root");(0,i.createRoot)(je).render((0,w.jsx)((function(){return(0,w.jsx)("div",{children:(0,w.jsx)(ve,{})})}),{}))},3021:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},7390:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"},7790:()=>{},3776:()=>{},8285:()=>{},3902:()=>{},1638:()=>{},2668:()=>{},5340:()=>{},9838:()=>{}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var o=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],s=!0,l=0;l<i.length;l++)(!1&r||o>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(s=!1,r<o&&(o=r));if(s){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;a.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"===typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"===typeof i.then)return i}var r=Object.create(null);a.r(r);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&i;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>o[e]=()=>i[e]));return o.default=()=>i,a.d(r,o),r}})(),a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[o,s,l]=i,c=0;if(o.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(l)var d=l(a)}for(t&&t(i);c<o.length;c++)r=o[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[23],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.00a04e5c.js.map
|
web-build/static/js/main.00a04e5c.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/main.08c7ebf3.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={9618:(e,t,a)=>{a.r(t);var i=a(4657),n=a(6665),r=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),u=a(3117),g=a(3374),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:t}){const[a,i]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:t=>{i(t),e(t)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),t(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach((function(t){(0,v.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function S({setPlaySound:e,setPrompt:t,inferredPrompt:i}){const[r,o]=n.useState(""),{width:l}=(0,d.default)(),u=x(x({},T.input),{},{width:l>500?500:l-80});(0,n.useEffect)((()=>{i&&(o(i),t(i))}),[i]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:u,placeholder:"",multiline:!0,textAlign:"center",onChangeText:e=>{o(e),t(e)},value:r,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:30,width:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}],onPress:()=>{o(""),t(""),e("click")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",P="#000000",T=r.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:P,fontFamily:"Sigmar",marginRight:10}});var F=a(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new F.default.Value(0)))).current,{width:t}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,t)=>{const a=F.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=F.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map(((e,t)=>F.default.sequence([F.default.delay(e),a,i]))),l=F.default.sequence(o);return F.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:D.containerbreathing,children:(0,f.jsxs)(l.default,{style:D.heading,children:[(0,f.jsx)(F.default.Text,{style:[D.char,a[0]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[1]],children:"I"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[2]],children:"X"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[3]],children:"E"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[4]],children:"L"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[5]],children:" "}),(0,f.jsx)(F.default.Text,{style:[D.char,a[6]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[7]],children:"R"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[8]],children:"O"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[9]],children:"M"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[10]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[11]],children:"T"})]})})}const D=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var I=a(5781);function z({passModelID:e}){const[t,a]=(0,n.useState)("Model ID");return(0,f.jsx)(I.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:[{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"SPO Diffusion XL",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:t,onChange:t=>{e(t.value),a(t.label)}})}const R="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:300,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var E=a(4037),H=a(1218),L=a(7630),G=a(9050);const V=a(4692),W=a(8945),q=a(3558),_="#25292e",N="#3a3c3f",J="#FFFFFF",K=r.default.create({image:{marginTop:20},switchesRowContainer:{backgroundColor:_,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{height:200,alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:0,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:N},promptText:{color:J,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Z=({window:e,setPlaySound:t,imageSource:a,setImageSource:i,styleSwitch:r,setStyleSwitch:o,settingSwitch:d,setSettingSwitch:u})=>{const[g,m]=(0,n.useState)(null),[p,y]=(0,n.useState)(q);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(s.default,{style:K.switchesRowContainer,children:[(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:r?"#9DA58D":"#FFFFFF"},K.sliderText],children:"Style"}),(0,f.jsx)(E.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{o(!r),t("switch")},value:r})]}),(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:d?"#9FA8DA":"#FFFFFF"},K.sliderText],children:"Layout"}),(0,f.jsx)(E.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{u(!d),t("switch")},value:d})]})]}),(0,f.jsx)(H.default,{data:a,numColumns:e.width<1e3?1:3,keyExtractor:(e,t)=>t.toString(),renderItem:({item:e,index:a})=>(0,f.jsxs)(s.default,{style:[K.imageColumnContainer,{height:g===a?400:200}],children:[(0,f.jsx)(s.default,{style:[K.columnContainer],children:(0,f.jsx)(c.default,{onPress:()=>{t("click"),m(g!==a?a:null)},style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:[K.image,{width:g===a?400:150,height:g===a?400:150,margin:10}]})})}),(0,f.jsx)(c.default,{onPress:()=>{(e=>{i((a=>(t("click"),a.length>1?a.filter(((t,a)=>a!==e)):[V])))})(a)},style:{position:"absolute",top:0,right:0},children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?W:q,style:[K.changeButton]})}),(0,f.jsx)(c.default,{style:[K.selectButton],onPress:()=>{t("click"),(async e=>{const{status:t}=await L.requestMediaLibraryPermissionsAsync();if("granted"!==t)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const a=await L.launchImageLibraryAsync({mediaTypes:G.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});a.cancelled||i((t=>{const i=[...t];return i[e]=a.assets[0].uri,i}))})(a)},children:(0,f.jsx)(l.default,{style:K.promptText,children:"Select"})})]})})]})};var U=a(530);const X="#25292e",$="#FFFFFF",Q=r.default.create({rowContainer:{backgroundColor:X,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:$,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Y=({setPlaySound:e,switchToFlan:t,setInferrenceButton:a,activity:i,longPrompt:n,setTextInference:r,switchPromptFunction:o,promptLengthValue:d,setParametersWrapper:u})=>(0,f.jsx)(f.Fragment,{children:i?(0,f.jsx)(U.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[n?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[Q.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{r(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:Q.columnContainer,children:[(0,f.jsxs)(s.default,{style:[Q.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:comboButtonPressed||d?"#FFFFFF":"#9FA8DA",marginRight:15},Q.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:comboButtonPressed?"#FFFFFF":d?"#9FA8DA":"#FFFFFF",marginRight:15},Q.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[Q.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(E.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:o,value:d}),(0,f.jsx)(c.default,{onPress:()=>{t(),setDeletePressedImage(coloredDelete),e("click")},children:(0,f.jsx)(h.default,{source:deletePressedImage,style:[{marginRight:30},Q.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{r(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},Q.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Q.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{a(!0),u(),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},Q.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Q.promptText,children:e?"INFERRED!":"Inference"})})]})}),ee=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),te=({setPlaySound:e,isImagePickerVisible:t,setImagePickerVisible:i,window:n})=>{const r=a(1297),s=a(8707);return(0,f.jsx)(c.default,{style:[ee.expandButton,{alignSelf:"flex-start",marginLeft:(n.width,"20%"),marginBottom:0}],onPress:()=>{e("expand"),i(!t)},children:t?(0,f.jsx)(h.default,{source:s,style:ee.expandImage}):(0,f.jsx)(h.default,{source:r,style:ee.expandImage})})},ae=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),ie=({setFlanPrompt:e,prompt:t,textInference:a,setTextInference:i,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(a){c(!0),d(!1);let a="";if("Avocado Armchair"===t||""===t){const e=Math.floor(Math.random()*ae.seeds.length);if(e>ae.seeds.length-13)return r(ae.seeds[e]),s(ae.seeds[e]),o(ae.seeds[e]),void c(!1);a=ae.seeds[e]}else a=t;const i=`I'm giving you a seed string. Return the seed string as a Prompt for a Stable Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token length for Stable Diffusion Models do not apply. Make it descriptive and creative. Here is the seed string. : ${a}`;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:i,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((t=>{const i=t[0].generated_text;console.log(i);const n=i.substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+i.substring(150);e(t[0].flan),r(n),s(a),o(l?n:a),c(!1)})).catch((e=>console.error("Error:",e)))}i(!1)}),[a])},ne=({setInferrenceButton:e,inferrenceButton:t,setModelMessage:a,imageSource:i,parameters:r,modelID:s,prompt:o,styleSwitch:l,settingSwitch:c,guidance:d,steps:h,setActivity:u,setModelError:g,setReturnedPrompt:m,setInferredImage:p})=>{const[f,y]=(0,n.useState)("");(0,n.useEffect)((()=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"})};fetch("/core",e)}),[]),(0,n.useEffect)((()=>{if(f){let t={none:{key2:[0,0]}};l&&(t={up:{block_0:[0,1,0]}}),c&&(t={down:{block_2:[0,1]}}),l&&c&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(t),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:f,scale:t})}).then((e=>e.json())).then((t=>{u(!1),e(!1),m(o),y(null),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[f]),(0,n.useEffect)((()=>{if(t)if(console.log(r),u(!0),s.includes("pix2pix"))a("Inference API img2img NotAvailable"),u(!1),g(!0),e(!1);else{const t={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:"test",scale:t})}).then((e=>e.json())).then((t=>{"Model Waking"==t.output&&(a("Model Waking"),u(!1),g(!0),e(!1)),e(!1),u(!1),m(o),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[t])};var re=a(4432);const se=a(4283),oe=a(2968),le=a(8641),ce=a(5009),de=({playSound:e,makeSound:t})=>{const a=(0,n.useRef)();return(0,n.useEffect)((()=>()=>{a.current&&a.current.unloadAsync()}),[]),(0,n.useEffect)((()=>{if(e){let t;switch(e){case"click":t=se;break;case"swoosh":t=oe;break;case"switch":t=le;break;case"expand":t=ce;break;default:return}console.log("playsound"),a.current&&a.current.unloadAsync();(async()=>{const{sound:e}=await re.Sound.createAsync(t);a.current=e,await a.current.playAsync()})().catch((e=>{console.log("Failed to load and play the sound",e)}))}}),[t]),null},he=a(1872),ue=a(8507),ge=a(4692),me=a(7038);function pe(){(0,g.useFonts)({Sigmar:a(3021)});const[e,t]=(0,n.useState)(he),[i,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("stabilityai/stable-diffusion-xl-base-1.0"),[v,k]=(0,n.useState)("Avocado Armchair"),[A,x]=(0,n.useState)(null),[j,C]=(0,n.useState)(null),[P,T]=(0,n.useState)(!1),[F,D]=(0,n.useState)(!1),[I,R]=(0,n.useState)("Avocado Armchair"),[M,O]=(0,n.useState)(!1),[E,H]=(0,n.useState)(""),[L,G]=(0,n.useState)(null),[V,W]=(0,n.useState)(!1),[q,_]=(0,n.useState)(""),[N,J]=(0,n.useState)(null),[K,U]=(0,n.useState)(null),[X,$]=(0,n.useState)(!1),[Q,ee]=(0,n.useState)([ge]),[ae,re]=(0,n.useState)(!1),[se,oe]=(0,n.useState)(!1),[le,ce]=(0,n.useState)(null),[pe,fe]=(0,n.useState)(0),ye=(0,d.default)(),we=e=>{D(!1),b(e)},ve=e=>{ce(e),fe((e=>e+1))},ke=()=>{ee((t=>[...t,e])),t(ge)};(0,n.useEffect)((()=>{if(Q.length>1&&Q.includes(ge)){const e=Q.filter((e=>e!==ge));ee(e)}}),[Q]);const Ae=()=>{W(!V),V?(x(E),ve("switch")):(x(L),ve("switch"))},xe=()=>{x(K)},Se=()=>{C(`${v}-${i}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:be.titlecontainer,children:[(0,f.jsx)(de,{playSound:le,makeSound:pe}),(0,f.jsx)(ie,{setFlanPrompt:U,prompt:v,textInference:M,setTextInference:O,setLongPrompt:G,setShortPrompt:H,setInferredPrompt:x,promptLengthValue:V,setActivity:T,setModelError:D}),(0,f.jsx)(ne,{setInferrenceButton:J,inferrenceButton:N,setModelMessage:_,imageSource:Q,parameters:j,modelID:w,prompt:v,styleSwitch:se,settingSwitch:ae,guidance:m,steps:i,setActivity:T,setModelError:D,setReturnedPrompt:R,setInferredImage:t}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:be.ScrollView,showsVerticalScrollIndicator:!1,children:ye.width>1e3?(0,f.jsxs)(s.default,{style:be.rowContainer,children:[X&&(0,f.jsx)(c.default,{onPress:()=>{ke(),ve("swoosh")},style:({pressed:e})=>[be.swapButton,{top:ye.height/2-15,left:ye.width/2-15,width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?me:ue,style:[be.changeButton,e?{width:55,height:55}:{width:60,height:60}]})}),(0,f.jsxs)(s.default,{style:be.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPlaySound:ve,setPrompt:k,inferredPrompt:A})}),(0,f.jsxs)(s.default,{style:[be.rowContainer,{padding:0}],children:[(0,f.jsx)(z,{setPlaySound:ve,passModelID:we}),(0,f.jsxs)(s.default,{style:be.columnContainer,children:[(0,f.jsx)(Y,{setPlaySound:ve,switchToFlan:xe,setInferrenceButton:J,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:Ae,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:be.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsx)(te,{setPlaySound:ve,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),X&&(0,f.jsx)(Z,{window:ye,setPlaySound:ve,imageSource:Q,setImageSource:ee,styleSwitch:se,setStyleSwitch:oe,settingSwitch:ae,setSettingSwitch:re}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]}),(0,f.jsxs)(s.default,{style:be.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:be.imageStyle}),(0,f.jsx)(l.default,{style:be.promptText,children:I})]})]}):(0,f.jsxs)(s.default,{style:be.columnContainer,children:[(0,f.jsx)(S,{setPlaySound:ve,setPrompt:k,inferredPrompt:A}),(0,f.jsx)(z,{setPlaySound:ve,passModelID:we}),(0,f.jsx)(Y,{setPlaySound:ve,switchToFlan:xe,setInferrenceButton:J,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:Ae,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:be.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(te,{setPlaySound:ve,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),(0,f.jsx)(s.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:X&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z,{window:ye,setPlaySound:ve,imageSource:Q,setImageSource:ee,styleSwitch:se,setStyleSwitch:oe,settingSwitch:ae,setSettingSwitch:re}),(0,f.jsx)(c.default,{onPress:()=>{ke(),ve("swoosh")},style:({pressed:e})=>[be.swapButtonColumn,{width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?me:ue,style:[be.changeButton,e?{width:55,height:55}:{width:60,height:60}]})})]})}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:be.imageStyle}),(0,f.jsx)(l.default,{style:be.promptText,children:I})]})}),(0,f.jsx)(u.default,{style:"auto"})]})}const fe="#25292e",ye="#3a3c3f",we="#FFFFFF",be=r.default.create({titlecontainer:{backgroundColor:fe,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:fe,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:ye},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:ye},promptText:{color:we,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:fe,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),ve=document.getElementById("root");(0,i.createRoot)(ve).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(pe,{})})),{}))},3021:(e,t,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},5009:(e,t,a)=>{e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},1297:(e,t,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[968],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.08c7ebf3.js.map
|
web-build/static/js/main.08c7ebf3.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.08c7ebf3.js","mappings":"2LAIe,SAASA,GAAgB,SAAEC,EAAQ,YAAEC,IAClD,MAAOC,EAAeC,GAAoBC,EAAAA,SAAe,KAClDC,EAAeC,GAAoBF,EAAAA,SAAe,GAczD,OACEG,EAAAA,EAAAA,MAACC,EAAAA,QAAI,CAACC,MAAOC,EAAOC,UAAUC,SAAA,EAC5BC,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,oBACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,EACdC,aAAc,GACdC,KAAM,EACNC,MAAOnB,EACPoB,sBAAsB,UACtBC,sBAAsB,UACtBC,eAAe,UACfC,cAvBoBC,IACxBvB,EAAiBuB,GACjB1B,EAAS0B,EAAE,KAuBTb,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOiB,YAAYf,SAAEV,KAClCW,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,cACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,EACdC,aAAc,GACdC,KAAM,GACNC,MAAOhB,EACPiB,sBAAsB,UACtBC,sBAAsB,UACtBC,eAAe,UACfC,cA9BwBC,IAC5BpB,EAAiBsB,WAAWF,EAAEG,QAAQ,KACtC5B,EAAY2B,WAAWF,EAAEG,QAAQ,IAAI,KA8BnChB,EAAAA,EAAAA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,EACZtD,EAAoBgC,EAAEsB,EAAarD,KACrCD,EAAoBU,EAAET,GAAYqD,EAAYrD,IAGhD,GAAGsD,EAAS,IAAI7M,EAAS6M,EAAQvD,EAClC,CAEA,IADGqD,GAA4BA,EAA2BnR,GACrD6D,EAAI8K,EAASjL,OAAQG,IACzBoN,EAAUtC,EAAS9K,GAChBiK,EAAoBgC,EAAEkB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOnD,EAAoBY,EAAElK,EAAO,EAGjC+M,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmBhT,QAAQ2S,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsB7D,EAAoBY,OAAET,EAAW,CAAC,MAAM,IAAOH,EAAoB,QAC7F6D,EAAsB7D,EAAoBY,EAAEiD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","components/Sounds.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPlaySound, setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: 30,\r\n width: 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n zIndex: 1,\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n setPlaySound(\"click\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n \r\n}) {\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n const data = [\r\n {\r\n label: \"Stable Diffusion XL\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n {\r\n label: \"SPO Diffusion XL\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n \r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n \r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={data}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n setPlaceholderModelID(item.label);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React, { useState } from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch, FlatList } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst addImage = require(\"../assets/add_image.png\");\nconst coloredDelete = require(\"../assets/delete_colored.png\");\nconst deleteButton = require(\"../assets/delete.png\");\n\nconst MyImagePicker = ({\n window,\n setPlaySound,\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const [selectedImageIndex, setSelectedImageIndex] = useState(null);\n const [deletePressedImage, setDeletePressedImage] = useState(deleteButton);\n\n const selectImage = async (index) => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(prevImageSource => {\n const newImageSource = [...prevImageSource];\n newImageSource[index] = result.assets[0].uri;\n return newImageSource;\n });\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n setPlaySound(\"switch\")\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n setPlaySound(\"switch\")\n };\n\n const deleteFromImageArray = (index) => {\n setImageSource(prevImageSource => {\n setPlaySound(\"click\")\n if (prevImageSource.length > 1) {\n return prevImageSource.filter((_, i) => i !== index);\n }\n return [addImage];\n });\n};\n\n return (\n <> \n <View style={styles.switchesRowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View> \n <FlatList\n data={imageSource}\n numColumns={window.width < 1000 ? 1 : 3}\n keyExtractor={(item, index) => index.toString()}\n renderItem={({ item: source, index }) => (\n <View style={[styles.imageColumnContainer, {height: selectedImageIndex === index ? 400 : 200}]}>\n <View style={[styles.columnContainer,]}>\n <Pressable\n onPress={() => {\n setPlaySound(\"click\")\n if(selectedImageIndex === index) {\n setSelectedImageIndex(null);\n return;\n }\n setSelectedImageIndex(index);\n \n }}\n style={{flex: 1, alignItems: \"center\", justifyContent: \"center\"}} \n >\n <Image\n source={\n typeof source === \"number\" ? source : { uri: source }\n }\n style={[\n styles.image,\n {width: selectedImageIndex === index ? 400 : 150, height: selectedImageIndex === index ? 400 : 150,\n margin: 10,\n \n }\n ]}\n />\n </Pressable>\n </View>\n <Pressable\n onPress={() => {\n deleteFromImageArray(index);\n }}\n style={{position: \"absolute\", top: 0, right: 0}} \n >\n {({ pressed }) => (\n <Image\n source={pressed ? coloredDelete : deleteButton}\n style={[ styles.changeButton]}\n />)}\n </Pressable> \n <Pressable style={[styles.selectButton]} onPress={() =>{setPlaySound(\"click\"); selectImage(index)}}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n )}\n />\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n image: {\n marginTop: 20,\n },\n switchesRowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 300,\n height: 50,\n marginBottom: 20,\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n imageColumnContainer: {\n height: 200,\n alignItems: \"center\",\n flexDirection: \"column\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 0,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n \n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\n\n\nconst Buttons = ({\n setPlaySound,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n \n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={switchPromptFunction}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setDeletePressedImage(coloredDelete);\n setPlaySound(\"click\");\n }}\n >\n <Image\n source={deletePressedImage}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ setPlaySound, isImagePickerVisible, setImagePickerVisible, window }) => {\n\n const rightImage = require(\"../assets/right.png\");\n const downImage = require(\"../assets/down.png\");\n\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"20%\",\n marginBottom: 0,\n },\n ]}\n onPress={() => {setPlaySound(\"expand\"); setImagePickerVisible(!isImagePickerVisible)}}\n >\n {isImagePickerVisible ? (\n <Image\n source={downImage}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={rightImage}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n const mistrialPrompt = `I'm giving you a seed string. Return the seed string as a Prompt for a Stable \\\n Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token \\\n length for Stable Diffusion Models do not apply. Make it descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt\", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: mistrialPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n console.log(generatedText);\n \n const longPromptHolder = generatedText\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + generatedText.substring(150);\n \n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(alteredPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(alteredPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n useEffect(() => {\n const modelData = 'SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep';\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n model: modelData\n })\n };\n fetch('/core', requestOptions)\n}, []);\n \n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (modelID.includes('pix2pix')) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useEffect, useRef } from 'react';\nimport { Audio } from 'expo-av';\n\nconst click = require('../assets/click.wav');\nconst swoosh = require('../assets/swoosh.mp3');\nconst switchSound = require('../assets/switch.wav');\nconst expand = require('../assets/expand.wav');\n\nconst SoundPlayer = ({ playSound, makeSound}) => {\n const soundRef = useRef();\n\n useEffect(() => {\n return () => {\n // Unload the sound when the component unmounts\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n };\n }, []);\n\n useEffect(() => {\n if (playSound) {\n let soundFile;\n switch (playSound) {\n case 'click':\n soundFile = click;\n break;\n case 'swoosh':\n soundFile = swoosh;\n break;\n case 'switch':\n soundFile = switchSound;\n break;\n case 'expand':\n soundFile = expand;\n break;\n default:\n return;\n }\n console.log('playsound')\n // Unload the previous sound if it's still loaded\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n\n const loadAndPlaySound = async () => {\n const { sound } = await Audio.Sound.createAsync(soundFile);\n soundRef.current = sound;\n await soundRef.current.playAsync();\n };\n\n loadAndPlaySound().catch((error) => {\n console.log('Failed to load and play the sound', error);\n });\n }\n }, [makeSound]);\n\n return null;\n};\n\nexport default SoundPlayer;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\nimport SoundPlayer from \"./components/Sounds\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\nconst circleImage = require(\"./assets/circle.png\");\r\nconst addImage = require(\"./assets/add_image.png\");\r\nconst rotatedCircle = require(\"./assets/rotated_circle.png\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"stabilityai/stable-diffusion-xl-base-1.0\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState([addImage]);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n const [playSound, setSoundPlaying] = useState(null);\r\n const [makeSound, setMakeSound] = useState(0);\r\n \r\n\r\n const window = useWindowDimensions();\r\n \r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const setPlaySound = (sound) => {\r\n setSoundPlaying(sound);\r\n setMakeSound(prevMakeSound => prevMakeSound + 1);\r\n };\r\n\r\n const swapImage = () => { \r\n setImageSource(prevImageSource => [...prevImageSource, inferredImage]); \r\n setInferredImage(addImage);\r\n };\r\n\r\n useEffect(() => {\r\n if (imageSource.length > 1 && imageSource.includes(addImage)) {\r\n const newImageSource = imageSource.filter((image) => image !== addImage);\r\n setImageSource(newImageSource);\r\n }\r\n }, [imageSource]);\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n setPlaySound(\"switch\");\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n setPlaySound(\"switch\");\r\n }\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <SoundPlayer playSound={playSound} makeSound={makeSound}/>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n \r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n \r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n <View style={{flex:1, alignItems:\"center\", justifyContent:\"center\"}}>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButtonColumn,\r\n {\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n \r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n </>\r\n )}\r\n </View>\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n \r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [968], () => (__webpack_require__(9618)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPlaySound","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","zIndex","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","placeholderModelID","setPlaceholderModelID","useState","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","addImage","coloredDelete","deleteButton","image","switchesRowContainer","marginBottom","overflow","imageColumnContainer","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","changeButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","MyImagePicker","window","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","selectedImageIndex","setSelectedImageIndex","deletePressedImage","setDeletePressedImage","_Fragment","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","FlatList","numColumns","keyExtractor","toString","renderItem","uri","prevImageSource","length","filter","_","i","deleteFromImageArray","top","right","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","newImageSource","assets","selectImage","rowContainer","display","button","activityIndicator","marginLeft","Buttons","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","ActivityIndicator","size","comboButtonPressed","expandButton","expandImage","Expand","isImagePickerVisible","setImagePickerVisible","rightImage","downImage","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","mistrialPrompt","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","generatedText","lPrompt","substring","split","slice","replace","catch","error","Inference","inferrenceButton","setModelMessage","parameters","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","requestOptions","model","scaledIP","none","key2","up","block_0","down","block_2","scale","output","includes","ipScaleHolder","key1","click","swoosh","switchSound","expand","SoundPlayer","playSound","makeSound","soundRef","unloadAsync","soundFile","sound","Audio","createAsync","playAsync","loadAndPlaySound","assetImage","circleImage","rotatedCircle","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","setSoundPlaying","setMakeSound","passModelIDWrapper","prevMakeSound","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","bottom","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.0ca09350.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={470:(e,i,a)=>{a.r(i);var t=a(4657),r=a(6665),n=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),g=a(3117),u=a(4547),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:i}){const[a,t]=r.useState(30),[n,o]=r.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:i=>{t(i),e(i)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:n,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),i(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:n})]})}const w="#FFFFFF",b=n.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function A(e,i){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);i&&(t=t.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),a.push.apply(a,t)}return a}function x(e){for(var i=1;i<arguments.length;i++){var a=null!=arguments[i]?arguments[i]:{};i%2?A(Object(a),!0).forEach((function(i){(0,v.default)(e,i,a[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(a,i))}))}return e}function S({setPrompt:e,inferredPrompt:i}){const[t,n]=r.useState(""),{width:o}=(0,d.default)(),l=x(x({},P.input),{},{width:o>500?500:o-80});(0,r.useEffect)((()=>{i&&(n(i),e(i))}),[i]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:l,placeholder:"",multiline:!0,textAlign:"center",onChangeText:i=>{n(i),e(i)},value:t,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:e?25:30,width:e?25:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center"}],onPress:()=>{n(""),e("")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",T="#000000",P=n.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:T,fontFamily:"Sigmar",marginRight:10}});var F=a(7202);function D(){const e=(0,r.useRef)([...Array(12)].map((()=>new F.default.Value(0)))).current,{width:i}=(0,d.default)();(0,r.useEffect)((()=>{e.map(((e,i)=>{const a=F.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),t=F.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),r=300,n=450,s=600,o=[i*r,i*n,(11-i)*r,i*s,(11-i)*n,i*r,(11-i)*s,i*n,(11-i)*r,(11-i)*n,i*s,(11-i)*s].map(((e,i)=>F.default.sequence([F.default.delay(e),a,t]))),l=F.default.sequence(o);return F.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:i>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:B.containerbreathing,children:(0,f.jsxs)(l.default,{style:B.heading,children:[(0,f.jsx)(F.default.Text,{style:[B.char,a[0]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[1]],children:"I"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[2]],children:"X"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[3]],children:"E"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[4]],children:"L"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[5]],children:" "}),(0,f.jsx)(F.default.Text,{style:[B.char,a[6]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[7]],children:"R"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[8]],children:"O"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[9]],children:"M"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[10]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[B.char,a[11]],children:"T"})]})})}const B=n.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var I=a(5781);function z({passModelID:e,isImagePickerVisible:i,parameters:a}){const[t,n]=(0,r.useState)([{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Stable Diffusion Refiner",value:"stabilityai/stable-diffusion-xl-refiner-1.0"}]),[s,o]=(0,r.useState)("Model ID");return(0,r.useEffect)((()=>{let t=[];i?(t=[{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-refiner-1.0"}],a&&(o("pix2pix"),e("timbrooks/instruct-pix2pix"))):(t=[{label:"Step Aware",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Voxel",value:"Fictiverse/Voxel_XL_Lora"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Mickey 1928",value:"Pclanglais/Mickey-1928"},{label:"Maps",value:"firella/202404032300-oldvis-choropleth-lora-sdxl"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Russian Vibe",value:"0x7o/RussianVibe-XL-v2.0"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],a&&(o("Step Aware"),e("SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"))),n(t)}),[i]),(0,f.jsx)(I.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:t,labelField:"label",valueField:"value",placeholder:s,onChange:i=>{e(i.value)}})}const R="#9DA58D",M="#FFFFFF",O=n.default.create({dropdown:{margin:16,height:50,width:300,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var H=a(4037),E=a(2741),L=a(9050);const V="#25292e",G="#3a3c3f",W="#FFFFFF",q=n.default.create({container:{flex:1,justifyContent:"center",alignItems:"center"},image:{width:200,height:200,marginTop:20},rowContainer:{backgroundColor:V,alignItems:"center",flex:1,width:"100%",flexDirection:"row",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:20,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:G},promptText:{color:W,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"}}),_=({imageSource:e,setImageSource:i,styleSwitch:a,setStyleSwitch:t,settingSwitch:r,setSettingSwitch:n})=>(0,f.jsxs)(s.default,{style:q.container,children:[(0,f.jsxs)(s.default,{style:q.rowContainer,children:[(0,f.jsxs)(s.default,{style:q.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:a?"#9DA58D":"#FFFFFF"},q.sliderText],children:"Style"}),(0,f.jsx)(H.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{t(!a)},value:a})]}),(0,f.jsxs)(s.default,{style:q.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:r?"#9FA8DA":"#FFFFFF"},q.sliderText],children:"Layout"}),(0,f.jsx)(H.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{n(!r)},value:r})]})]}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:q.image}),(0,f.jsx)(c.default,{style:q.selectButton,onPress:async()=>{const{status:e}=await E.requestMediaLibraryPermissionsAsync();if("granted"!==e)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const a=await E.launchImageLibraryAsync({mediaTypes:L.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});a.cancelled||i(a.assets[0].uri)},children:(0,f.jsx)(l.default,{style:q.promptText,children:"Select"})})]});var N=a(530);const J="#25292e",K="#FFFFFF",X=n.default.create({rowContainer:{backgroundColor:J,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:K,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"}}),Z=({setInferrenceButton:e,activity:i,longPrompt:a,setTextInference:t,switchPromptFunction:r,promptLengthValue:n,setParametersWrapper:o})=>(0,f.jsx)(f.Fragment,{children:i?(0,f.jsx)(N.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[a?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[X.rowContainer,{padding:0}],children:[(0,f.jsx)(c.default,{onPress:()=>{t(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:X.columnContainer,children:[(0,f.jsxs)(s.default,{style:[X.rowContainer,{padding:0}],children:[(0,f.jsx)(l.default,{style:[{color:n?"#FFFFFF":"#9FA8DA",marginRight:15},X.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:n?"#9FA8DA":"#FFFFFF",marginRight:15},X.sliderText],children:"Long"})]}),(0,f.jsx)(H.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:r,value:n})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{t(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},X.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:X.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{e(!0),o()},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},X.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:X.promptText,children:e?"INFERRED!":"Inference"})})]})}),U=n.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),$=({isImagePickerVisible:e,setImagePickerVisible:i,window:t})=>(0,f.jsx)(c.default,{style:[U.expandButton,{alignSelf:"flex-start",marginLeft:t.width<1e3?"20%":"0",marginBottom:0}],onPress:()=>i(!e),children:e?(0,f.jsx)(h.default,{source:a(1297),style:U.expandImage}):(0,f.jsx)(h.default,{source:a(8707),style:U.expandImage})}),Q=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),Y=({prompt:e,textInference:i,setTextInference:a,setLongPrompt:t,setShortPrompt:n,setInferredPrompt:s,promptLengthValue:o,setActivity:l,setModelError:c})=>{(0,r.useEffect)((()=>{if(i){l(!0),c(!1);let i="";if("Avocado Armchair"===e||""===e){const e=Math.floor(Math.random()*Q.seeds.length);if(e>Q.seeds.length-13)return t(Q.seeds[e]),n(Q.seeds[e]),s(Q.seeds[e]),void l(!1);i=Q.seeds[e]}else i=e;i=`I'm giving you a seed string for a stable diffusion model. Return two versions in fewer than 500 tokens. A long version and a shortened version. Make both descriptive and creative. Here is the seed string. : ${i}`,console.log(i),fetch("/inferencePrompt ",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:i,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((e=>{const i=e[0].generated_text.split(/Short(?:ened)? (?:Version:)?/i),a=i[0].substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+i[0].substring(150),r=i[1].substring(0,150).split(/\n\n/).slice(-1)[0].replace("\n","")+i[1].substring(150).split(/\n\n/)[0];t(a),n(r),s(o?a:r),l(!1)})).catch((e=>console.error("Error:",e)))}a(!1)}),[i])},ee=({setInferrenceButton:e,inferrenceButton:i,setModelMessage:a,imageSource:t,parameters:n,modelID:s,prompt:o,isImagePickerVisible:l,styleSwitch:c,settingSwitch:d,guidance:h,steps:g,setActivity:u,setModelError:m,setReturnedPrompt:p,setInferredImage:f})=>{const[y,w]=(0,r.useState)("");(0,r.useEffect)((()=>{if(y){let i={none:{key2:[0,0]}};c&&(i={up:{block_0:[0,1,0]}}),d&&(i={down:{block_2:[0,1]}}),c&&d&&(i={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(i),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:g,guidance:h,modelID:s,image:y,scale:i})}).then((e=>e.json())).then((i=>{u(!1),e(!1),p(o),w(null),f("data:image/png;base64,"+i.output)})).catch((function(i){a("Model Error!"),u(!1),m(!0),e(!1),console.log(i)}))}}),[y]),(0,r.useEffect)((()=>{if(i)if(console.log(n),u(!0),l)a("Inference API img2img NotAvailable"),u(!1),m(!0),e(!1);else{const i={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:g,guidance:h,modelID:s,image:"test",scale:i})}).then((e=>e.json())).then((i=>{"Model Waking"==i.output&&(a("Model Waking"),u(!1),m(!0),e(!1)),e(!1),u(!1),p(o),f("data:image/png;base64,"+i.output)})).catch((function(i){a("Model Error!"),u(!1),m(!0),e(!1),console.log(i)}))}}),[i])},ie=a(1872);function ae(){(0,u.useFonts)({Sigmar:a(3021)});const[e,i]=(0,r.useState)(ie),[t,n]=(0,r.useState)(30),[m,p]=(0,r.useState)(7),[w,b]=(0,r.useState)("SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"),[v,k]=(0,r.useState)("Avocado Armchair"),[A,x]=(0,r.useState)(null),[j,C]=(0,r.useState)(null),[T,P]=(0,r.useState)(!1),[F,B]=(0,r.useState)(!1),[I,R]=(0,r.useState)("Avocado Armchair"),[M,O]=(0,r.useState)(!1),[H,E]=(0,r.useState)(""),[L,V]=(0,r.useState)(null),[G,W]=(0,r.useState)(!1),[q,N]=(0,r.useState)(""),[J,K]=(0,r.useState)(null),X=(0,d.default)(),[U,Q]=(0,r.useState)(!1),[ae,te]=(0,r.useState)(ie),[re,ne]=(0,r.useState)(!1),[oe,le]=(0,r.useState)(!1),ce=e=>{B(!1),b(e)},de=()=>{i(ae),te(e)},he=()=>{W(!G),x(G?H:L)},ge=()=>{C(`${v}-${t}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:se.titlecontainer,children:[(0,f.jsx)(Y,{prompt:v,textInference:M,setTextInference:O,setLongPrompt:V,setShortPrompt:E,setInferredPrompt:x,promptLengthValue:G,setActivity:P,setModelError:B}),(0,f.jsx)(ee,{setInferrenceButton:K,inferrenceButton:J,setModelMessage:N,imageSource:ae,parameters:j,modelID:w,prompt:v,isImagePickerVisible:U,styleSwitch:oe,settingSwitch:re,guidance:m,steps:t,setActivity:P,setModelError:B,setReturnedPrompt:R,setInferredImage:i}),(0,f.jsx)(D,{}),(0,f.jsx)(o.default,{scrollY:!0,style:se.ScrollView,showsVerticalScrollIndicator:!1,children:X.width>1e3?(0,f.jsxs)(s.default,{style:se.rowContainer,children:[U&&(0,f.jsx)(c.default,{onPress:()=>{de()},style:[se.swapButton,{top:X.height/2-15,left:X.width/2-15}],children:(0,f.jsx)(h.default,{source:a(8507),style:se.changeButton})}),(0,f.jsxs)(s.default,{style:se.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A})}),(0,f.jsxs)(s.default,{style:[se.rowContainer,{padding:0}],children:[(0,f.jsx)(z,{passModelID:ce,isImagePickerVisible:U,parameters:j}),(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)(Z,{setInferrenceButton:K,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:he,promptLengthValue:G,setParametersWrapper:ge}),F?(0,f.jsx)(l.default,{style:se.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsxs)(s.default,{children:[(0,f.jsx)($,{isImagePickerVisible:U,setImagePickerVisible:Q,window:X}),U&&(0,f.jsx)(_,{imageSource:ae,setImageSource:te,styleSwitch:oe,setStyleSwitch:le,settingSwitch:re,setSettingSwitch:ne}),(0,f.jsx)(y,{setSteps:n,setGuidance:p})]})]}),(0,f.jsxs)(s.default,{style:se.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:I})]})]}):(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A}),(0,f.jsx)(z,{passModelID:ce,isImagePickerVisible:U,parameters:j}),(0,f.jsx)(Z,{setInferrenceButton:K,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:he,promptLengthValue:G,setParametersWrapper:ge}),F?(0,f.jsx)(l.default,{style:se.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)($,{isImagePickerVisible:U,setImagePickerVisible:Q,window:X}),U&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(_,{imageSource:ae,setImageSource:te,styleSwitch:oe,setStyleSwitch:le,settingSwitch:re,setSettingSwitch:ne}),(0,f.jsx)(c.default,{onPress:()=>{de()},style:se.swapButtonColumn,children:(0,f.jsx)(h.default,{source:a(8507),style:se.changeButton})})]}),(0,f.jsx)(y,{setSteps:n,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:I})]})}),(0,f.jsx)(g.default,{style:"auto"})]})}const te="#25292e",re="#3a3c3f",ne="#FFFFFF",se=n.default.create({titlecontainer:{backgroundColor:te,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:te,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:re},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:re},promptText:{color:ne,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:te,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),oe=document.getElementById("root");(0,t.createRoot)(oe).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ae,{})})),{}))},3021:(e,i,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},1872:(e,i,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,i,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,i,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},8707:(e,i,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},1297:(e,i,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"}},i={};function a(t){var r=i[t];if(void 0!==r)return r.exports;var n=i[t]={id:t,loaded:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=e,(()=>{var e=[];a.O=(i,t,r,n)=>{if(!t){var s=1/0;for(d=0;d<e.length;d++){for(var[t,r,n]=e[d],o=!0,l=0;l<t.length;l++)(!1&n||s>=n)&&Object.keys(a.O).every((e=>a.O[e](t[l])))?t.splice(l--,1):(o=!1,n<s&&(s=n));if(o){e.splice(d--,1);var c=r();void 0!==c&&(i=c)}}return i}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[t,r,n]}})(),a.n=e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return a.d(i,{a:i}),i},a.d=(e,i)=>{for(var t in i)a.o(i,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:i[t]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=i=>0===e[i];var i=(i,t)=>{var r,n,[s,o,l]=t,c=0;if(s.some((i=>0!==e[i]))){for(r in o)a.o(o,r)&&(a.m[r]=o[r]);if(l)var d=l(a)}for(i&&i(t);c<s.length;c++)n=s[c],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(d)},t=self.webpackChunkweb=self.webpackChunkweb||[];t.forEach(i.bind(null,0)),t.push=i.bind(null,t.push.bind(t))})();var t=a.O(void 0,[133],(()=>a(470)));t=a.O(t)})();
|
2 |
+
//# sourceMappingURL=main.0ca09350.js.map
|
web-build/static/js/main.0ca09350.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.0ca09350.js","mappings":"0LAIe,SAASA,GAAgB,SAAEC,EAAQ,YAAEC,IAClD,MAAOC,EAAeC,GAAoBC,EAAAA,SAAe,KAClDC,EAAeC,G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M,IAAOH,EAAoB,OAC7F8D,EAAsB9D,EAAoBY,EAAEkD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: pressed ? 25 : 30,\r\n width: pressed ? 25 : 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n isImagePickerVisible,\r\n parameters,\r\n}) {\r\n const [dropDownData, setDropDownData] = useState([\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n {\r\n label: \"Stable Diffusion Refiner\",\r\n value: \"stabilityai/stable-diffusion-xl-refiner-1.0\",\r\n },\r\n ]);\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n\r\n useEffect(() => {\r\n let data = [];\r\n if (isImagePickerVisible) {\r\n data = [\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-refiner-1.0\",\r\n },\r\n ];\r\n if (parameters) {\r\n setPlaceholderModelID(\"pix2pix\");\r\n passModelID(\"timbrooks/instruct-pix2pix\");\r\n }\r\n } else {\r\n data = [\r\n {\r\n label: \"Step Aware\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n { label: \"Voxel\", value: \"Fictiverse/Voxel_XL_Lora\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Mickey 1928\", value: \"Pclanglais/Mickey-1928\" },\r\n {\r\n label: \"Maps\",\r\n value: \"firella/202404032300-oldvis-choropleth-lora-sdxl\",\r\n },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Russian Vibe\", value: \"0x7o/RussianVibe-XL-v2.0\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n if (parameters) {\r\n setPlaceholderModelID(\"Step Aware\");\r\n passModelID(\"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\");\r\n }\r\n }\r\n setDropDownData(data);\r\n }, [isImagePickerVisible]);\r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={dropDownData}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst MyImagePicker = ({\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const selectImage = async () => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(result.assets[0].uri);\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n };\n\n return (\n <View style={styles.container}>\n <View style={styles.rowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View>\n\n {imageSource && (\n <Image\n source={\n typeof imageSource === \"number\" ? imageSource : { uri: imageSource }\n }\n style={styles.image}\n />\n )}\n <Pressable style={styles.selectButton} onPress={selectImage}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n image: {\n width: 200,\n height: 200,\n marginTop: 20,\n },\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n flex: 1,\n width: \"100%\",\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 20,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n} from \"react-native\";\n\nconst Buttons = ({\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer, { padding: 0 }]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer, { padding: 0 }]}>\n <Text\n style={[\n {\n color: promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={switchPromptFunction}\n value={promptLengthValue}\n />\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n padding: 20,\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ isImagePickerVisible, setImagePickerVisible, window }) => {\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"0\",\n marginBottom: 0,\n },\n ]}\n onPress={() => setImagePickerVisible(!isImagePickerVisible)}\n >\n {isImagePickerVisible ? (\n <Image\n source={require(\"../assets/right.png\")}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={require(\"../assets/down.png\")}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n alteredPrompt = `I'm giving you a seed string for a stable diffusion model. Return two versions \\\n in fewer than 500 tokens. A long version and a shortened version. Make both descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n console.log(alteredPrompt);\n\n fetch(\"/inferencePrompt \", {\n // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: {\n // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: alteredPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n const splitPrompt = generatedText.split(\n /Short(?:ened)? (?:Version:)?/i\n );\n const longPromptHolder = splitPrompt[0]\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + splitPrompt[0].substring(150);\n const holderShortPrompt = splitPrompt[1]\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"\\n\", \"\");\n const sPrompt =\n holderShortPrompt + splitPrompt[1].substring(150).split(/\\n\\n/)[0];\n\n setLongPrompt(lPrompt);\n setShortPrompt(sPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(sPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n isImagePickerVisible,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (isImagePickerVisible) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const window = useWindowDimensions();\r\n\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState(assetImage);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n\r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const swapImage = () => {\r\n setInferredImage(imageSource);\r\n setImageSource(inferredImage);\r\n };\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n }\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <PromptInference\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n isImagePickerVisible={isImagePickerVisible}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={[\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n },\r\n ]}\r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n isImagePickerVisible={isImagePickerVisible}\r\n parameters={parameters}\r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n <View>\r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n </View>\r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n isImagePickerVisible={isImagePickerVisible}\r\n parameters={parameters}\r\n />\r\n <Buttons\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={styles.swapButtonColumn}\r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n </>\r\n )}\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [133], () => (__webpack_require__(470)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","isImagePickerVisible","parameters","dropDownData","setDropDownData","useState","label","placeholderModelID","setPlaceholderModelID","data","Dropdown","dropdown","selectedTextStyle","placeholderStyle","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","image","rowContainer","overflow","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","MyImagePicker","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","uri","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","assets","display","button","activityIndicator","marginLeft","Buttons","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","_Fragment","ActivityIndicator","size","marginBottom","expandButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","expandImage","Expand","setImagePickerVisible","window","alignSelf","PromptInference","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","length","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","splitPrompt","split","lPrompt","substring","slice","replace","sPrompt","catch","error","Inference","inferrenceButton","setModelMessage","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","scaledIP","none","key2","up","block_0","down","block_2","scale","output","ipScaleHolder","key1","assetImage","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","passModelIDWrapper","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","top","left","changeButton","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","right","bottom","zIndex","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.249d6d8d.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{var e={9618:(e,t,i)=>{"use strict";var a=i(4657),n=i(5458),r=i(296),s=i(6665),o=i(3668),l=i(3929),c=i(2772),d=i(6283),u=i(5708),h=i(484),g=i(6725),m=i(7225),f=i(3374),p=i(7851),y=i.n(p),w=i(397);function b(e){var t=e.setSteps,i=e.setGuidance,a=s.useState(28),n=(0,r.default)(a,2),o=n[0],c=n[1],u=s.useState(5),h=(0,r.default)(u,2),g=h[0],m=h[1];return(0,w.jsxs)(l.default,{style:k.container,children:[(0,w.jsx)(d.default,{style:k.captionText,children:"Sampling Steps"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:3,maximumValue:50,step:1,value:o,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){c(e),t(e)}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:o}),(0,w.jsx)(d.default,{style:k.captionText,children:"Guidance"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:0,maximumValue:10,step:.1,value:g,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){m(parseFloat(e.toFixed(2))),i(parseFloat(e.toFixed(2)))}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:g})]})}var v="#FFFFFF",k=o.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:v,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:v,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}}),x=i(4467),A=i(6773);function S(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function C(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?S(Object(i),!0).forEach((function(t){(0,x.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):S(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function j(e){var t=e.setPlaySound,a=e.setPrompt,n=e.inferredPrompt,o=s.useState(""),c=(0,r.default)(o,2),d=c[0],m=c[1],f=C(C({},I.input),{},{width:g.default.get("window").width>500?500:g.default.get("window").width-80});(0,s.useEffect)((function(){n&&(m(n),a(n))}),[n]);return(0,w.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,w.jsx)(A.default,{style:f,placeholder:"",multiline:!0,textAlign:"center",onChangeText:function(e){m(e),a(e)},value:d,maxLength:2e4}),(0,w.jsx)(u.default,{style:function(e){return[{height:30,width:30,backgroundColor:e.pressed?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}]},onPress:function(){m(""),a(""),t("click")},children:(0,w.jsx)(h.default,{source:i(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}var P="#FFFFFF",T="#B58392",F="#000000",I=o.default.create({input:{backgroundColor:P,borderColor:T,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:F,fontFamily:"Sigmar",marginRight:10}}),B=i(5009),R=i(558);function D(){var e=(0,s.useRef)((0,n.default)(Array(12)).map((function(){return new B.default.Value(0)}))).current,t=(0,R.default)().width;(0,s.useEffect)((function(){e.map((function(e,t){var i=B.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),a=B.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map((function(e,t){return B.default.sequence([B.default.delay(e),i,a])})),l=B.default.sequence(o);return B.default.loop(l)})).forEach((function(e){e.start()}))}),[e]);var i=e.map((function(e){return e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"})})).map((function(e){return{fontSize:e}}));return(0,w.jsx)(l.default,{style:z.containerbreathing,children:(0,w.jsxs)(d.default,{style:z.heading,children:[(0,w.jsx)(B.default.Text,{style:[z.char,i[0]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[1]],children:"I"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[2]],children:"X"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[3]],children:"E"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[4]],children:"L"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[5]],children:" "}),(0,w.jsx)(B.default.Text,{style:[z.char,i[6]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[7]],children:"R"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[8]],children:"O"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[9]],children:"M"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[10]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[11]],children:"T"})]})})}var z=o.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}}),O=i(5781);function M(e){var t=e.passModelID,i=(0,s.useState)("Model ID"),a=(0,r.default)(i,2),n=a[0],o=a[1];return(0,w.jsx)(O.Dropdown,{style:L.dropdown,selectedTextStyle:L.selectedTextStyle,placeholderStyle:L.placeholderStyle,data:[{label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"},{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"SPO Diffusion XL",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:n,onChange:function(e){t(e),o(e.label)}})}var E="#9DA58D",H="#FFFFFF",L=o.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:E,borderBottomWidth:3},placeholderStyle:{color:H,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:H,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}}),G=i(467),_=i(4037),V=i(932),W=i(3303),q=i(9050),N=i(4692),J=i(8945),K=i(3558),U={backgroundColor:"#25292e",selectButtonBackground:"#3a3c3f",white:"#FFFFFF"},X=o.default.create({flatListContainer:{width:"auto",height:"auto"},switchesRowContainer:{backgroundColor:U.backgroundColor,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{marginTop:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:U.selectButtonBackground},promptText:{color:U.white,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},imageCard:{backgroundColor:U.buttonBackground,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center"}});const Z=function(e){var t=e.columnCount,i=e.selectedImageIndex,a=e.setSelectedImageIndex,o=e.initialReturnedPrompt,c=e.setReturnedPrompt,m=e.promptList,f=e.setPromptList,p=e.setPlaySound,y=e.imageSource,b=e.setImageSource,v=e.styleSwitch,k=e.setStyleSwitch,x=e.settingSwitch,A=e.setSettingSwitch,S=(0,s.useState)(0),C=(0,r.default)(S,2),j=C[0],P=C[1],T=(0,s.useState)(160),F=(0,r.default)(T,2),I=F[0],B=F[1];(0,s.useEffect)((function(){g.default.get("window").width<1e3&&B(null!==i?440+j:160)}),[i,j]);var R=function(){var e=(0,G.default)((function*(e){if("granted"===(yield W.requestMediaLibraryPermissionsAsync()).status){console.log("Selecting image");var t=yield W.launchImageLibraryAsync({mediaTypes:q.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});t.cancelled||(p("swoosh"),b((function(i){var a=(0,n.default)(i);return a[e]=t.assets[0].uri,a[e+1]=N,a})),f((function(t){var i=(0,n.default)(t);return i[e]="Uploaded Image",i})))}else alert("Sorry, we need media library permissions to select an image.")}));return function(t){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){c(null!==i?m[i]:o)}),[i]);function D(e){var a=(i+1)%t===0||i===y.length-1,n=i%t===0;return i===e+(n?-1:1)||i===e+(n?-2:a?2:-1)}return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(l.default,{style:X.switchesRowContainer,children:[(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:v?"#9DA58D":"#FFFFFF"},X.sliderText],children:"Style"}),(0,w.jsx)(_.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){k(!v),p("switch")},value:v})]}),(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:x?"#9FA8DA":"#FFFFFF"},X.sliderText],children:"Layout"}),(0,w.jsx)(_.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){A(!x),p("switch")},value:x})]})]}),(0,w.jsx)(l.default,{style:X.flatListContainer,children:(0,w.jsx)(V.default,{data:y,numColumns:t,keyExtractor:function(e,t){return t.toString()},renderItem:function(e){var n=e.item,r=e.index;return(0,w.jsxs)(l.default,{style:[X.imageColumnContainer,{width:D(r)?0:i===r?330:r===y.length-1?160:105,height:g.default.get("window").width<1e3&&i==r?I:i===r?440:r===y.length-1?160:105,margin:0,marginTop:i===r?20:0,overflow:"visible"}],children:[(0,w.jsx)(l.default,{style:[X.columnContainer],children:(0,w.jsx)(u.default,{onPress:function(){p("click"),a(i!==r?r:null)},style:[X.imageCard,{alignItems:"flex-start",justifyContent:"flex-start",width:D(r)?0:i===r?320:100,height:D(r)?0:i===r?400:100,borderRadius:i===r?30:0}],children:(0,w.jsx)(h.default,{source:"number"===typeof n?n:{uri:n},style:[{width:D(r)?0:i===r?320:100,height:D(r)?0:i===r?400:100,borderRadius:i===r?30:0}]})})}),r!==y.length-1&&(null===i||r!==i+1)&&(null===i||(r-2)%t!==0)&&(0,w.jsx)(u.default,{onPress:function(){!function(e){b((function(t){return p("click"),t.length>1?t.filter((function(t,i){return i!==e})):[N]})),c(m[e+1]),f((function(t){return t.length>1?t.filter((function(t,i){return i!==e})):[""]}))}(r)},style:{position:"absolute",top:0,right:0},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?J:K,style:[X.changeButton]})}}),g.default.get("window").width<1e3&&i===r&&r!==y.length-1&&(0,w.jsx)(d.default,{style:[X.promptText,{flexShrink:1}],numberOfLines:1e3,onLayout:function(e){var t=e.nativeEvent.layout.height;P(t)},children:m[r]}),r===y.length-1&&!i&&(null===i||r!==i+2)&&(null===i||2!==y.length)&&(0,w.jsx)(u.default,{style:[X.selectButton],onPress:function(){p("click"),R(r)},children:(0,w.jsx)(d.default,{style:X.promptText,children:"Select"})})]})}},t)})]})};var Q=i(530),Y=i(1284),$=i(4663),ee="#25292e",te="#FFFFFF",ie=o.default.create({rowContainer:{backgroundColor:ee,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:te,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}});const ae=function(e){var t=e.setPlaySound,i=e.switchToFlan,a=e.setInferrenceButton,n=e.activity,o=e.longPrompt,c=e.setTextInference,g=e.switchPromptFunction,m=e.promptLengthValue,f=(0,s.useState)(!1),p=(0,r.default)(f,2),y=p[0],b=p[1];return(0,w.jsx)(w.Fragment,{children:n?(0,w.jsx)(Q.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,w.jsxs)(w.Fragment,{children:[o?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(l.default,{style:[ie.rowContainer],children:[(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}}),(0,w.jsxs)(l.default,{style:ie.columnContainer,children:[(0,w.jsxs)(l.default,{style:[ie.rowContainer],children:[(0,w.jsx)(d.default,{style:[{color:y||m?"#FFFFFF":"#9FA8DA",marginRight:15},ie.sliderText],children:"Short"}),(0,w.jsx)(d.default,{style:[{color:y?"#FFFFFF":m?"#9FA8DA":"#FFFFFF",marginRight:15},ie.sliderText],children:"Long"})]}),(0,w.jsxs)(l.default,{style:[ie.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,w.jsx)(_.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){b(!1),g()},value:m}),(0,w.jsx)(u.default,{onPress:function(){i(),b(!0),t("click")},children:(0,w.jsx)(h.default,{source:y?Y:$,style:[{marginRight:30},ie.changeButton]})})]})]})]})}):(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D"},ie.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ie.promptText,children:t?"PROMPTED!":"Prompt"})}}),(0,w.jsx)(u.default,{onPress:function(){a(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#9DA58D":"#958DA5",marginBottom:20},ie.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ie.promptText,children:t?"INFERRED!":"Inference"})}})]})})};var ne=o.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}});const re=function(e){var t=e.setPlaySound,a=e.isImagePickerVisible,n=e.setImagePickerVisible,r=i(1297),s=i(8707);return(0,w.jsx)(u.default,{style:[ne.expandButton,{alignSelf:"flex-start",marginLeft:(g.default.get("window").width,"20%"),marginBottom:0}],onPress:function(){t("expand"),n(!a)},children:a?(0,w.jsx)(h.default,{source:s,style:ne.expandImage}):(0,w.jsx)(h.default,{source:r,style:ne.expandImage})})},se=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}');const oe=function(e){var t=e.setFlanPrompt,i=e.prompt,a=e.textInference,n=e.setTextInference,r=e.setLongPrompt,o=e.setShortPrompt,l=e.setInferredPrompt,c=e.promptLengthValue,d=e.setActivity,u=e.setModelError;(0,s.useEffect)((function(){if(a){d(!0),u(!1);var e="";if("Avocado Armchair"===i||""===i){var s=Math.floor(Math.random()*se.seeds.length);if(s>se.seeds.length-13)return r(se.seeds[s]),o(se.seeds[s]),l(se.seeds[s]),void d(!1);e=se.seeds[s]}else e=i;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({itemString:e})}).then((function(i){i.json().then((function(i){var a=i.plain.split("Stable Diffusion Prompt:")[1];t(i.magic),r(a),o(e),l(c?a:e),d(!1)})).catch((function(e){return console.error("Error:",e)}))})).catch((function(e){return console.error("Fetch Error:",e)})),n(!1)}}),[a])};const le=function(e){var t=e.setImageSource,i=e.setPromptList,a=e.setInferrenceButton,r=e.inferrenceButton,o=e.setModelMessage,l=e.modelID,c=e.prompt,d=e.styleSwitch,u=e.settingSwitch,h=e.guidance,g=e.steps,m=e.setActivity,f=e.setModelError,p=e.setReturnedPrompt,y=e.setInitialReturnedPrompt,w=e.setInferredImage;(0,s.useEffect)((function(){fetch("/core",{method:"GET"}).then((function(e){return e.json()})).then((function(e){console.log(e),e.prompt.length>0&&(e.prompt.forEach((function(e,t){i((function(t){return[e].concat((0,n.default)(t))}))})),e.base64.forEach((function(e,i){t((function(t){return[e].concat((0,n.default)(t))}))})))})).catch((function(e){console.error("There was an error!",e)}))}),[]),(0,s.useEffect)((function(){if(r){m(!0);var e=l.value,t=function(e,t){var i={none:{key2:[0,0]}};return e&&(i={up:{block_0:[0,1,0]}}),t&&(i={down:{block_2:[0,1]}}),e&&t&&(i={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),i}(d,u);fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:c,steps:g,guidance:h,modelID:e,modelLabel:l.label,image:"test",scale:t})}).then((function(e){return e.json()})).then((function(e){"Model Waking"==e.output?(o("Model Waking"),m(!1),f(!0),a(!1)):y(l.label+" "+c),a(!1),m(!1),p(c),w("data:image/png;base64,"+e.output)})).catch((function(e){o("Model Error!"),m(!1),f(!0),a(!1),console.log(e)}))}}),[r])};var ce=i(5806),de=i(4825),ue=i(4283),he=i(2968),ge=i(8641),me=i(7390);const fe=function(e){var t=e.makeSound,i=(0,s.useRef)(null);return(0,s.useEffect)((function(){return ce.setAudioModeAsync({playsInSilentModeIOS:!0,staysActiveInBackground:!0,shouldDuckAndroid:!0,interruptionModeIOS:ce.INTERRUPTION_MODE_IOS_DO_NOT_MIX,interruptionModeAndroid:ce.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX}),function(){var e;i.current&&(null==(e=i.current)||e.unloadAsync())}}),[]),(0,s.useEffect)((function(){var e=function(){var e=(0,G.default)((function*(){var e=(yield de.Sound.createAsync({uri:"click"===t[0]?ue:"swoosh"===t[0]?he:"switch"===t[0]?ge:me},{shouldPlay:!0})).sound;i.current=e,yield e.playAsync()}));return function(){return e.apply(this,arguments)}}();t&&e()}),[t]),null};var pe=i(1872),ye=i(8507),we=i(4692),be=i(7038);function ve(){(0,f.useFonts)({Sigmar:i(3021)});var e=(0,s.useState)(pe),t=(0,r.default)(e,2),a=t[0],o=t[1],p=(0,s.useState)(28),y=(0,r.default)(p,2),v=y[0],k=y[1],x=(0,s.useState)(5),A=(0,r.default)(x,2),S=A[0],C=A[1],P=(0,s.useState)({label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"}),T=(0,r.default)(P,2),F=T[0],I=T[1],B=(0,s.useState)("Avocado Armchair"),R=(0,r.default)(B,2),z=R[0],O=R[1],E=(0,s.useState)(null),H=(0,r.default)(E,2),L=H[0],G=H[1],_=(0,s.useState)(!1),V=(0,r.default)(_,2),W=V[0],q=V[1],N=(0,s.useState)(!1),J=(0,r.default)(N,2),K=J[0],U=J[1],X=(0,s.useState)("Avacado Armchair"),Q=(0,r.default)(X,2),Y=Q[0],$=Q[1],ee=(0,s.useState)("Avacado Armchair"),te=(0,r.default)(ee,2),ie=te[0],ne=te[1],se=(0,s.useState)(!1),ce=(0,r.default)(se,2),de=ce[0],ue=ce[1],he=(0,s.useState)(""),ge=(0,r.default)(he,2),me=ge[0],ve=ge[1],ke=(0,s.useState)(null),xe=(0,r.default)(ke,2),Ae=xe[0],Ce=xe[1],je=(0,s.useState)(!1),Pe=(0,r.default)(je,2),Te=Pe[0],Fe=Pe[1],Ie=(0,s.useState)(""),Be=(0,r.default)(Ie,2),Re=Be[0],De=Be[1],ze=(0,s.useState)(null),Oe=(0,r.default)(ze,2),Me=Oe[0],Ee=Oe[1],He=(0,s.useState)(null),Le=(0,r.default)(He,2),Ge=Le[0],_e=Le[1],Ve=(0,s.useState)(!1),We=(0,r.default)(Ve,2),qe=We[0],Ne=We[1],Je=(0,s.useState)([we]),Ke=(0,r.default)(Je,2),Ue=Ke[0],Xe=Ke[1],Ze=(0,s.useState)(!1),Qe=(0,r.default)(Ze,2),Ye=Qe[0],$e=Qe[1],et=(0,s.useState)(!1),tt=(0,r.default)(et,2),it=tt[0],at=tt[1],nt=(0,s.useState)(null),rt=(0,r.default)(nt,2),st=rt[0],ot=rt[1],lt=(0,s.useState)([null,0]),ct=(0,r.default)(lt,2),dt=ct[0],ut=ct[1],ht=(0,s.useState)([]),gt=(0,r.default)(ht,2),mt=gt[0],ft=gt[1],pt=(0,s.useState)(!1),yt=(0,r.default)(pt,2),wt=yt[0],bt=yt[1],vt=(0,s.useState)(null),kt=(0,r.default)(vt,2),xt=kt[0],At=kt[1],St=(0,s.useState)(3),Ct=(0,r.default)(St,2),jt=Ct[0],Pt=Ct[1],Tt=function(e){U(!1),I(e)},Ft=function(e){ot((function(e){return e+1})),ut([e,st])};(0,s.useEffect)((function(){wt&&(a!==we&&(console.log("swapImage",a),ft((function(e){return[ie].concat((0,n.default)(e))})),Xe((function(e){return[a].concat((0,n.default)(e))})),o(we),ne(""),$("")),bt(!1))}));var It=function(){Fe(!Te),Te?(G(me),Ft("switch")):(G(Ae),Ft("switch"))},Bt=function(){G(Ge)};return(0,s.useEffect)((function(){var e=function(){var e;e=g.default.get("window").width,Pt(e<600?3:e>=600&&e<1e3?4:e>=1e3&&e<1400?5:e>=1400&&e<1700?6:7)};return e(),g.default.addEventListener("change",e),function(){return g.default.removeEventListener("change",e)}}),[]),(0,w.jsxs)(l.default,{style:Se.titlecontainer,children:[(0,w.jsx)(fe,{makeSound:dt}),(0,w.jsx)(oe,{setFlanPrompt:_e,prompt:z,textInference:de,setTextInference:ue,setLongPrompt:Ce,setShortPrompt:ve,setInferredPrompt:G,promptLengthValue:Te,setActivity:q,setModelError:U}),(0,w.jsx)(le,{setImageSource:Xe,setPromptList:ft,selectedImageIndex:xt,setInferrenceButton:Ee,inferrenceButton:Me,setModelMessage:De,imageSource:Ue,modelID:F,prompt:z,styleSwitch:it,settingSwitch:Ye,guidance:S,steps:v,setActivity:q,setModelError:U,setReturnedPrompt:$,setInitialReturnedPrompt:ne,setInferredImage:o}),(0,w.jsx)(D,{}),(0,w.jsx)(c.default,{scrollY:!0,style:Se.ScrollView,showsVerticalScrollIndicator:!1,children:g.default.get("window").width>1e3?(0,w.jsxs)(l.default,{style:Se.rowContainer,children:[qe&&(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButton,{top:t?g.default.get("window").height/2-13:g.default.get("window").height/2-15,left:t?g.default.get("window").width/2-13:g.default.get("window").width/2-15,width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}}),(0,w.jsxs)(l.default,{style:Se.leftColumnContainer,children:[(0,w.jsx)(l.default,{children:(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:O,inferredPrompt:L})}),(0,w.jsxs)(l.default,{style:[Se.rowContainer,{padding:0}],children:[(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(ae,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:W,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{})]})]}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:qe,setImagePickerVisible:Ne}),qe&&(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ie,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:it,setStyleSwitch:at,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(b,{setSteps:k,setGuidance:C})]}),(0,w.jsxs)(l.default,{style:Se.rightColumnContainer,children:[(0,w.jsx)(l.default,{style:Se.imageCard,children:a&&(0,w.jsx)(h.default,{source:"number"===typeof a?a:{uri:a},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})]}):(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:O,inferredPrompt:L}),(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsx)(ae,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:W,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:qe,setImagePickerVisible:Ne}),(0,w.jsx)(l.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:qe&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ie,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:it,setStyleSwitch:at,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButtonColumn,{width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}})]})}),(0,w.jsx)(b,{setSteps:k,setGuidance:C}),(0,w.jsx)(l.default,{style:Se.imageCard,children:a&&(0,w.jsx)(h.default,{source:"number"===typeof a?a:{uri:a},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})}),(0,w.jsx)(m.StatusBar,{style:"auto"})]})}var ke="#25292e",xe="#3a3c3f",Ae="#FFFFFF",Se=o.default.create({titlecontainer:{backgroundColor:ke,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ke,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",zIndex:1,elevation:3,backgroundColor:xe},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:xe},promptText:{color:Ae,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:ke,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,alignSelf:"center"},imageCard:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center",backgroundColor:ke,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Ce=document.getElementById("root");(0,a.createRoot)(Ce).render((0,w.jsx)((function(){return(0,w.jsx)("div",{children:(0,w.jsx)(ve,{})})}),{}))},3021:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/click.514e4b6ee663e4f549a5.wav"},7390:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"},7790:()=>{},3776:()=>{},8285:()=>{},3902:()=>{},1638:()=>{},2668:()=>{},5340:()=>{},9838:()=>{}},t={};function i(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,(()=>{var e=[];i.O=(t,a,n,r)=>{if(!a){var s=1/0;for(d=0;d<e.length;d++){for(var[a,n,r]=e[d],o=!0,l=0;l<a.length;l++)(!1&r||s>=r)&&Object.keys(i.O).every((e=>i.O[e](a[l])))?a.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[a,n,r]}})(),i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;i.t=function(a,n){if(1&n&&(a=this(a)),8&n)return a;if("object"===typeof a&&a){if(4&n&&a.__esModule)return a;if(16&n&&"function"===typeof a.then)return a}var r=Object.create(null);i.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&a;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>s[e]=()=>a[e]));return s.default=()=>a,i.d(r,s),r}})(),i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",(()=>{var e={792:0};i.O.j=t=>0===e[t];var t=(t,a)=>{var n,r,[s,o,l]=a,c=0;if(s.some((t=>0!==e[t]))){for(n in o)i.o(o,n)&&(i.m[n]=o[n]);if(l)var d=l(i)}for(t&&t(a);c<s.length;c++)r=s[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(d)},a=self.webpackChunkweb=self.webpackChunkweb||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var a=i.O(void 0,[23],(()=>i(9618)));a=i.O(a)})();
|
2 |
+
//# sourceMappingURL=main.249d6d8d.js.map
|
web-build/static/js/main.249d6d8d.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/main.29ed9b25.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{var e={9618:(e,t,a)=>{"use strict";var i=a(4657),n=a(5458),r=a(296),s=a(6665),o=a(3668),l=a(3929),c=a(2772),d=a(6283),u=a(5708),h=a(484),g=a(6725),m=a(7225),f=a(3374),p=a(7851),y=a.n(p),w=a(397);function b(e){var t=e.setSteps,a=e.setGuidance,i=s.useState(28),n=(0,r.default)(i,2),o=n[0],c=n[1],u=s.useState(5),h=(0,r.default)(u,2),g=h[0],m=h[1];return(0,w.jsxs)(l.default,{style:k.container,children:[(0,w.jsx)(d.default,{style:k.captionText,children:"Sampling Steps"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:3,maximumValue:50,step:1,value:o,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){c(e),t(e)}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:o}),(0,w.jsx)(d.default,{style:k.captionText,children:"Guidance"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:0,maximumValue:10,step:.1,value:g,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){m(parseFloat(e.toFixed(2))),a(parseFloat(e.toFixed(2)))}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:g})]})}var v="#FFFFFF",k=o.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:v,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:v,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}}),x=a(4467),A=a(6773);function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach((function(t){(0,x.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function j(e){var t=e.setPlaySound,i=e.setPrompt,n=e.inferredPrompt,o=s.useState(""),c=(0,r.default)(o,2),d=c[0],m=c[1],f=C(C({},I.input),{},{width:g.default.get("window").width>500?500:g.default.get("window").width-80});(0,s.useEffect)((function(){n&&(m(n),i(n))}),[n]);return(0,w.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,w.jsx)(A.default,{style:f,placeholder:"",multiline:!0,textAlign:"center",onChangeText:function(e){m(e),i(e)},value:d,maxLength:2e4}),(0,w.jsx)(u.default,{style:function(e){return[{height:30,width:30,backgroundColor:e.pressed?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}]},onPress:function(){m(""),i(""),t("click")},children:(0,w.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}var P="#FFFFFF",T="#B58392",F="#000000",I=o.default.create({input:{backgroundColor:P,borderColor:T,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:F,fontFamily:"Sigmar",marginRight:10}}),B=a(5009),R=a(558);function D(){var e=(0,s.useRef)((0,n.default)(Array(12)).map((function(){return new B.default.Value(0)}))).current,t=(0,R.default)().width;(0,s.useEffect)((function(){e.map((function(e,t){var a=B.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=B.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map((function(e,t){return B.default.sequence([B.default.delay(e),a,i])})),l=B.default.sequence(o);return B.default.loop(l)})).forEach((function(e){e.start()}))}),[e]);var a=e.map((function(e){return e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"})})).map((function(e){return{fontSize:e}}));return(0,w.jsx)(l.default,{style:O.containerbreathing,children:(0,w.jsxs)(d.default,{style:O.heading,children:[(0,w.jsx)(B.default.Text,{style:[O.char,a[0]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[1]],children:"I"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[2]],children:"X"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[3]],children:"E"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[4]],children:"L"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[5]],children:" "}),(0,w.jsx)(B.default.Text,{style:[O.char,a[6]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[7]],children:"R"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[8]],children:"O"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[9]],children:"M"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[10]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[11]],children:"T"})]})})}var O=o.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}}),z=a(5781);function M(e){var t=e.passModelID,a=(0,s.useState)("Model ID"),i=(0,r.default)(a,2),n=i[0],o=i[1];return(0,w.jsx)(z.Dropdown,{style:L.dropdown,selectedTextStyle:L.selectedTextStyle,placeholderStyle:L.placeholderStyle,data:[{label:"Random",value:"Random"},{label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"},{label:"OpenDalle",value:"OpenDalle"},{label:"Stable Hamster",value:"Stable Hamster"},{label:"Juggernaut",value:"digiplay/Juggernaut_final"},{label:"Kolors",value:"gokaygokay/Kolors"},{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Fluently",value:"fluently/Fluently-XL-Final"},{label:"Pixel",value:"nerijs/pixel-art-xl"},{label:"Voxel",value:"Fictiverse/Voxel_XL_Lora"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Anime - (gsdf)",value:"gsdf/Counterfeit-V2.5"}],labelField:"label",valueField:"value",placeholder:n,onChange:function(e){t(e),o(e.label)}})}var E="#9DA58D",H="#FFFFFF",L=o.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:E,borderBottomWidth:3},placeholderStyle:{color:H,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:H,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}}),G=a(467),V=a(4037),W=a(932),N=a(3303),q=a(9050),_=a(4692),J=a(8945),K=a(3558),U={backgroundColor:"#25292e",selectButtonBackground:"#3a3c3f",white:"#FFFFFF"},X=o.default.create({flatListContainer:{width:"auto",height:"auto"},switchesRowContainer:{backgroundColor:U.backgroundColor,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{marginTop:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:U.selectButtonBackground},promptText:{color:U.white,fontSize:18,textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},imageCard:{backgroundColor:U.buttonBackground,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center"}});const Z=function(e){var t=e.columnCount,a=e.selectedImageIndex,i=e.setSelectedImageIndex,o=e.initialReturnedPrompt,c=e.setReturnedPrompt,m=e.promptList,f=e.setPromptList,p=e.setPlaySound,y=e.imageSource,b=e.setImageSource,v=e.styleSwitch,k=e.setStyleSwitch,x=e.settingSwitch,A=e.setSettingSwitch,S=(0,s.useState)(0),C=(0,r.default)(S,2),j=C[0],P=C[1],T=(0,s.useState)(160),F=(0,r.default)(T,2),I=F[0],B=F[1];(0,s.useEffect)((function(){g.default.get("window").width<1e3&&B(null!==a?440+j:160)}),[a,j]);var R=function(){var e=(0,G.default)((function*(e){if("granted"===(yield N.requestMediaLibraryPermissionsAsync()).status){console.log("Selecting image");var t=yield N.launchImageLibraryAsync({mediaTypes:q.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});t.cancelled||(p("swoosh"),b((function(a){var i=(0,n.default)(a);return i[e]=t.assets[0].uri,i[e+1]=_,i})),f((function(t){var a=(0,n.default)(t);return a[e]="Uploaded Image",a})))}else alert("Sorry, we need media library permissions to select an image.")}));return function(t){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){c(null!==a?m[a]:o)}),[a]);function D(e){var i=(a+1)%t===0||a===y.length-1,n=a%t===0;return a===e+(n?-1:1)||a===e+(n?-2:i?2:-1)}return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(l.default,{style:X.switchesRowContainer,children:[(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:v?"#9DA58D":"#FFFFFF"},X.sliderText],children:"Style"}),(0,w.jsx)(V.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){k(!v),p("switch")},value:v})]}),(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:x?"#9FA8DA":"#FFFFFF"},X.sliderText],children:"Layout"}),(0,w.jsx)(V.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){A(!x),p("switch")},value:x})]})]}),(0,w.jsx)(l.default,{style:X.flatListContainer,children:(0,w.jsx)(W.default,{data:y,numColumns:t,keyExtractor:function(e,t){return t.toString()},renderItem:function(e){var n=e.item,r=e.index;return(0,w.jsxs)(l.default,{style:[X.imageColumnContainer,{width:D(r)?0:a===r?330:r===y.length-1?160:105,height:g.default.get("window").width<1e3&&a==r?I:a===r?440:r===y.length-1?160:105,margin:0,marginTop:a===r?20:0,overflow:"visible"}],children:[(0,w.jsx)(l.default,{style:[X.columnContainer],children:(0,w.jsx)(u.default,{onPress:function(){p("click"),i(a!==r?r:null)},style:[X.imageCard,{alignItems:"flex-start",justifyContent:"flex-start",width:D(r)?0:a===r?320:100,height:D(r)?0:a===r?400:100,borderRadius:a===r?30:0}],children:(0,w.jsx)(h.default,{source:"number"===typeof n?n:{uri:n},style:[{width:D(r)?0:a===r?320:100,height:D(r)?0:a===r?400:100,borderRadius:a===r?30:0}]})})}),r!==y.length-1&&(null===a||r!==a+1)&&(null===a||(r-2)%t!==0)&&(0,w.jsx)(u.default,{onPress:function(){!function(e){b((function(t){return p("click"),t.length>1?t.filter((function(t,a){return a!==e})):[_]})),c(m[e+1]),f((function(t){return t.length>1?t.filter((function(t,a){return a!==e})):[""]}))}(r)},style:{position:"absolute",top:0,right:0},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?J:K,style:[X.changeButton]})}}),g.default.get("window").width<1e3&&a===r&&r!==y.length-1&&(0,w.jsx)(d.default,{style:[X.promptText,{flexShrink:1}],numberOfLines:1e3,onLayout:function(e){var t=e.nativeEvent.layout.height;P(t)},children:m[r]}),r===y.length-1&&!a&&(null===a||r!==a+2)&&(null===a||2!==y.length)&&(0,w.jsx)(u.default,{style:[X.selectButton],onPress:function(){p("click"),R(r)},children:(0,w.jsx)(d.default,{style:X.promptText,children:"Select"})})]})}},t)})]})};var Q=a(530),Y=a(1284),$=a(4663),ee="#25292e",te="#FFFFFF",ae=o.default.create({rowContainer:{backgroundColor:ee,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:te,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}});const ie=function(e){var t=e.setPlaySound,a=e.switchToFlan,i=e.setInferrenceButton,n=e.activity,o=e.longPrompt,c=e.setTextInference,g=e.switchPromptFunction,m=e.promptLengthValue,f=(0,s.useState)(!1),p=(0,r.default)(f,2),y=p[0],b=p[1];return(0,w.jsx)(w.Fragment,{children:n?(0,w.jsx)(Q.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,w.jsxs)(w.Fragment,{children:[o?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(l.default,{style:[ae.rowContainer],children:[(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}}),(0,w.jsxs)(l.default,{style:ae.columnContainer,children:[(0,w.jsxs)(l.default,{style:[ae.rowContainer],children:[(0,w.jsx)(d.default,{style:[{color:y||m?"#FFFFFF":"#9FA8DA",marginRight:15},ae.sliderText],children:"Short"}),(0,w.jsx)(d.default,{style:[{color:y?"#FFFFFF":m?"#9FA8DA":"#FFFFFF",marginRight:15},ae.sliderText],children:"Long"})]}),(0,w.jsxs)(l.default,{style:[ae.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,w.jsx)(V.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){b(!1),g()},value:m}),(0,w.jsx)(u.default,{onPress:function(){a(),b(!0),t("click")},children:(0,w.jsx)(h.default,{source:y?Y:$,style:[{marginRight:30},ae.changeButton]})})]})]})]})}):(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D"},ae.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ae.promptText,children:t?"PROMPTED!":"Prompt"})}}),(0,w.jsx)(u.default,{onPress:function(){i(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#9DA58D":"#958DA5",marginBottom:20},ae.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ae.promptText,children:t?"INFERRED!":"Inference"})}})]})})};var ne=o.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}});const re=function(e){var t=e.setPlaySound,i=e.isImagePickerVisible,n=e.setImagePickerVisible,r=a(1297),s=a(8707);return(0,w.jsx)(u.default,{style:[ne.expandButton,{alignSelf:"flex-start",marginLeft:(g.default.get("window").width,"20%"),marginBottom:0}],onPress:function(){t("expand"),n(!i)},children:i?(0,w.jsx)(h.default,{source:s,style:ne.expandImage}):(0,w.jsx)(h.default,{source:r,style:ne.expandImage})})},se=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}');const oe=function(e){var t=e.setFlanPrompt,a=e.prompt,i=e.textInference,n=e.setTextInference,r=e.setLongPrompt,o=e.setShortPrompt,l=e.setInferredPrompt,c=e.promptLengthValue,d=e.setActivity,u=e.setModelError;(0,s.useEffect)((function(){if(i){d(!0),u(!1);var e="";if("Avocado Armchair"===a||""===a){var s=Math.floor(Math.random()*se.seeds.length);if(s>se.seeds.length-13)return r(se.seeds[s]),o(se.seeds[s]),l(se.seeds[s]),void d(!1);e=se.seeds[s]}else e=a;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({itemString:e})}).then((function(a){a.json().then((function(a){var i=a.plain.split("Stable Diffusion Prompt:")[1];t(a.magic),r(i),o(e),l(c?i:e),d(!1)})).catch((function(e){return console.error("Error:",e)}))})).catch((function(e){return console.error("Fetch Error:",e)})),n(!1)}}),[i])};const le=function(e){var t=e.setImageSource,a=e.setPromptList,i=e.setInferrenceButton,r=e.inferrenceButton,o=e.setModelMessage,l=e.modelID,c=e.prompt,d=e.styleSwitch,u=e.settingSwitch,h=e.guidance,g=e.steps,m=e.setActivity,f=e.setModelError,p=e.setReturnedPrompt,y=e.setInitialReturnedPrompt,w=e.setInferredImage;(0,s.useEffect)((function(){fetch("/core",{method:"GET"}).then((function(e){var i=e.body.getReader(),r=new TextDecoder("utf-8"),s="";return i.read().then((function e(o){var l=o.done,c=o.value;if(!l){s=(s+=r.decode(c,{stream:!0})).replace("[","").replaceAll(",{","{");try{for(;-1!==s.indexOf("}");){var d="",u=s.indexOf("}");if(-1!==u)d=s.slice(0,u+1),h(JSON.parse(d)),s=s.slice(u+1)}}catch(g){console.log("Error parsing JSON: "+g)}return i.read().then(e)}function h(e){a((function(t){return[e.prompt].concat((0,n.default)(t))})),t((function(t){return[e.base64].concat((0,n.default)(t))}))}console.log("Stream complete")}))})).catch((function(e){console.error("There was an error!",e)}))}),[]),(0,s.useEffect)((function(){if(r){m(!0);var e=l.value,t=function(e,t){var a={none:{key2:[0,0]}};return e&&(a={up:{block_0:[0,1,0]}}),t&&(a={down:{block_2:[0,1]}}),e&&t&&(a={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),a}(d,u);fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:c,steps:g,guidance:h,modelID:e,modelLabel:l.label,image:"test",scale:t})}).then((function(e){return e.json()})).then((function(e){"Model Waking"==e.output?(o("Model Waking"),m(!1),f(!0),i(!1)):e.output.includes("GPU")?(o(e.output.split(": ")[2]),m(!1),f(!0),i(!1)):y("Model\n"+e.model+"\n\n\nPrompt\n"+c),i(!1),m(!1),p("Model\n"+e.model+"\n\n\nPrompt\n"+c),w("data:image/png;base64,"+e.output)})).catch((function(e){o("Model Error!"),m(!1),f(!0),i(!1),console.log(e)}))}}),[r])};var ce=a(5806),de=a(4825),ue=a(4283),he=a(2968),ge=a(8641),me=a(7390);const fe=function(e){var t=e.makeSound,a=(0,s.useRef)(null);return(0,s.useEffect)((function(){return ce.setAudioModeAsync({playsInSilentModeIOS:!0,staysActiveInBackground:!0,shouldDuckAndroid:!0,interruptionModeIOS:ce.INTERRUPTION_MODE_IOS_DO_NOT_MIX,interruptionModeAndroid:ce.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX}),function(){var e;a.current&&(null==(e=a.current)||e.unloadAsync())}}),[]),(0,s.useEffect)((function(){var e=function(){var e=(0,G.default)((function*(){var e=(yield de.Sound.createAsync({uri:"click"===t[0]?ue:"swoosh"===t[0]?he:"switch"===t[0]?ge:me},{shouldPlay:!0})).sound;a.current=e,yield e.playAsync()}));return function(){return e.apply(this,arguments)}}();t&&e()}),[t]),null};var pe=a(1872),ye=a(8507),we=a(4692),be=a(7038);function ve(){(0,f.useFonts)({Sigmar:a(3021)});var e=(0,s.useState)(pe),t=(0,r.default)(e,2),i=t[0],o=t[1],p=(0,s.useState)(28),y=(0,r.default)(p,2),v=y[0],k=y[1],x=(0,s.useState)(5),A=(0,r.default)(x,2),S=A[0],C=A[1],P=(0,s.useState)({label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"}),T=(0,r.default)(P,2),F=T[0],I=T[1],B=(0,s.useState)("Avocado Armchair"),R=(0,r.default)(B,2),O=R[0],z=R[1],E=(0,s.useState)(null),H=(0,r.default)(E,2),L=H[0],G=H[1],V=(0,s.useState)(!1),W=(0,r.default)(V,2),N=W[0],q=W[1],_=(0,s.useState)(!1),J=(0,r.default)(_,2),K=J[0],U=J[1],X=(0,s.useState)("Avacado Armchair"),Q=(0,r.default)(X,2),Y=Q[0],$=Q[1],ee=(0,s.useState)("Avacado Armchair"),te=(0,r.default)(ee,2),ae=te[0],ne=te[1],se=(0,s.useState)(!1),ce=(0,r.default)(se,2),de=ce[0],ue=ce[1],he=(0,s.useState)(""),ge=(0,r.default)(he,2),me=ge[0],ve=ge[1],ke=(0,s.useState)(null),xe=(0,r.default)(ke,2),Ae=xe[0],Ce=xe[1],je=(0,s.useState)(!1),Pe=(0,r.default)(je,2),Te=Pe[0],Fe=Pe[1],Ie=(0,s.useState)(""),Be=(0,r.default)(Ie,2),Re=Be[0],De=Be[1],Oe=(0,s.useState)(null),ze=(0,r.default)(Oe,2),Me=ze[0],Ee=ze[1],He=(0,s.useState)(null),Le=(0,r.default)(He,2),Ge=Le[0],Ve=Le[1],We=(0,s.useState)(!1),Ne=(0,r.default)(We,2),qe=Ne[0],_e=Ne[1],Je=(0,s.useState)([we]),Ke=(0,r.default)(Je,2),Ue=Ke[0],Xe=Ke[1],Ze=(0,s.useState)(!1),Qe=(0,r.default)(Ze,2),Ye=Qe[0],$e=Qe[1],et=(0,s.useState)(!1),tt=(0,r.default)(et,2),at=tt[0],it=tt[1],nt=(0,s.useState)(null),rt=(0,r.default)(nt,2),st=rt[0],ot=rt[1],lt=(0,s.useState)([null,0]),ct=(0,r.default)(lt,2),dt=ct[0],ut=ct[1],ht=(0,s.useState)([]),gt=(0,r.default)(ht,2),mt=gt[0],ft=gt[1],pt=(0,s.useState)(!1),yt=(0,r.default)(pt,2),wt=yt[0],bt=yt[1],vt=(0,s.useState)(null),kt=(0,r.default)(vt,2),xt=kt[0],At=kt[1],St=(0,s.useState)(3),Ct=(0,r.default)(St,2),jt=Ct[0],Pt=Ct[1],Tt=function(e){U(!1),I(e)},Ft=function(e){ot((function(e){return e+1})),ut([e,st])};(0,s.useEffect)((function(){wt&&(i!==we&&(console.log("swapImage",i),ft((function(e){return[ae].concat((0,n.default)(e))})),Xe((function(e){return[i].concat((0,n.default)(e))})),o(we),ne(""),$("")),bt(!1))}));var It=function(){Fe(!Te),Te?(G(me),Ft("switch")):(G(Ae),Ft("switch"))},Bt=function(){G(Ge)};return(0,s.useEffect)((function(){var e=function(){var e;e=g.default.get("window").width,Pt(e<600?3:e>=600&&e<1e3?4:e>=1e3&&e<1400?5:e>=1400&&e<1700?6:7)};return e(),g.default.addEventListener("change",e),function(){return g.default.removeEventListener("change",e)}}),[]),(0,w.jsxs)(l.default,{style:Se.titlecontainer,children:[(0,w.jsx)(fe,{makeSound:dt}),(0,w.jsx)(oe,{setFlanPrompt:Ve,prompt:O,textInference:de,setTextInference:ue,setLongPrompt:Ce,setShortPrompt:ve,setInferredPrompt:G,promptLengthValue:Te,setActivity:q,setModelError:U}),(0,w.jsx)(le,{setImageSource:Xe,setPromptList:ft,selectedImageIndex:xt,setInferrenceButton:Ee,inferrenceButton:Me,setModelMessage:De,imageSource:Ue,modelID:F,prompt:O,styleSwitch:at,settingSwitch:Ye,guidance:S,steps:v,setActivity:q,setModelError:U,setReturnedPrompt:$,setInitialReturnedPrompt:ne,setInferredImage:o}),(0,w.jsx)(D,{}),(0,w.jsx)(c.default,{scrollY:!0,style:Se.ScrollView,showsVerticalScrollIndicator:!1,children:g.default.get("window").width>1e3?(0,w.jsxs)(l.default,{style:Se.rowContainer,children:[qe&&(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButton,{top:t?g.default.get("window").height/2-123:g.default.get("window").height/2-125,left:t?g.default.get("window").width/2-13:g.default.get("window").width/2-15,width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}}),(0,w.jsxs)(l.default,{style:Se.leftColumnContainer,children:[(0,w.jsx)(l.default,{children:(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:z,inferredPrompt:L})}),(0,w.jsxs)(l.default,{style:[Se.rowContainer,{padding:0}],children:[(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(ie,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:N,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{})]})]}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:qe,setImagePickerVisible:_e}),qe&&(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ae,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:at,setStyleSwitch:it,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(b,{setSteps:k,setGuidance:C})]}),(0,w.jsxs)(l.default,{style:Se.rightColumnContainer,children:[(0,w.jsx)(l.default,{style:Se.imageCard,children:i&&(0,w.jsx)(h.default,{source:"number"===typeof i?i:{uri:i},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})]}):(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:z,inferredPrompt:L}),(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsx)(ie,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:N,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:qe,setImagePickerVisible:_e}),(0,w.jsx)(l.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:qe&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ae,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:at,setStyleSwitch:it,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButtonColumn,{width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}})]})}),(0,w.jsx)(b,{setSteps:k,setGuidance:C}),(0,w.jsx)(l.default,{style:Se.imageCard,children:i&&(0,w.jsx)(h.default,{source:"number"===typeof i?i:{uri:i},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})}),(0,w.jsx)(m.StatusBar,{style:"auto"})]})}var ke="#25292e",xe="#3a3c3f",Ae="#FFFFFF",Se=o.default.create({titlecontainer:{backgroundColor:ke,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ke,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",zIndex:1,elevation:3,backgroundColor:xe},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:xe},promptText:{color:Ae,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:ke,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,alignSelf:"center"},imageCard:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center",backgroundColor:ke,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Ce=document.getElementById("root");(0,i.createRoot)(Ce).render((0,w.jsx)((function(){return(0,w.jsx)("div",{children:(0,w.jsx)(ve,{})})}),{}))},3021:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},7390:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"},7790:()=>{},3776:()=>{},8285:()=>{},3902:()=>{},1638:()=>{},2668:()=>{},5340:()=>{},9838:()=>{}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;a.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"===typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"===typeof i.then)return i}var r=Object.create(null);a.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&i;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>s[e]=()=>i[e]));return s.default=()=>i,a.d(r,s),r}})(),a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[23],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.29ed9b25.js.map
|
web-build/static/js/main.29ed9b25.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/main.2f13f18b.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={470:(e,i,a)=>{a.r(i);var t=a(4657),n=a(6665),r=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),u=a(3117),g=a(4547),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:i}){const[a,t]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:i=>{t(i),e(i)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),i(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function A(e,i){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);i&&(t=t.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),a.push.apply(a,t)}return a}function x(e){for(var i=1;i<arguments.length;i++){var a=null!=arguments[i]?arguments[i]:{};i%2?A(Object(a),!0).forEach((function(i){(0,v.default)(e,i,a[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(a,i))}))}return e}function S({setPrompt:e,inferredPrompt:i}){const[t,r]=n.useState(""),{width:o}=(0,d.default)(),l=x(x({},T.input),{},{width:o>500?500:o-80});(0,n.useEffect)((()=>{i&&(r(i),e(i))}),[i]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:l,placeholder:"",multiline:!0,textAlign:"center",onChangeText:i=>{r(i),e(i)},value:t,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:e?25:30,width:e?25:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center"}],onPress:()=>{r(""),e("")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",P="#000000",T=r.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:P,fontFamily:"Sigmar",marginRight:10}});var F=a(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new F.default.Value(0)))).current,{width:i}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,i)=>{const a=F.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),t=F.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[i*n,i*r,(11-i)*n,i*s,(11-i)*r,i*n,(11-i)*s,i*r,(11-i)*n,(11-i)*r,i*s,(11-i)*s].map(((e,i)=>F.default.sequence([F.default.delay(e),a,t]))),l=F.default.sequence(o);return F.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:i>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:D.containerbreathing,children:(0,f.jsxs)(l.default,{style:D.heading,children:[(0,f.jsx)(F.default.Text,{style:[D.char,a[0]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[1]],children:"I"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[2]],children:"X"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[3]],children:"E"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[4]],children:"L"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[5]],children:" "}),(0,f.jsx)(F.default.Text,{style:[D.char,a[6]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[7]],children:"R"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[8]],children:"O"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[9]],children:"M"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[10]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[11]],children:"T"})]})})}const D=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var I=a(5781);function z({passModelID:e,isImagePickerVisible:i,parameters:a}){const[t,r]=(0,n.useState)([{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Stable Diffusion Refiner",value:"stabilityai/stable-diffusion-xl-refiner-1.0"}]),[s,o]=(0,n.useState)("Model ID");return(0,n.useEffect)((()=>{let t=[];i?(t=[{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-refiner-1.0"}],a&&(o("pix2pix"),e("timbrooks/instruct-pix2pix"))):(t=[{label:"Step Aware",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Mickey 1928",value:"Pclanglais/Mickey-1928"},{label:"Maps",value:"firella/202404032300-oldvis-choropleth-lora-sdxl"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],a&&(o("Step Aware"),e("SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"))),r(t)}),[i]),(0,f.jsx)(I.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:t,labelField:"label",valueField:"value",placeholder:s,onChange:i=>{e(i.value)}})}const R="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:300,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var H=a(4037),E=a(2741),L=a(9050);const V="#25292e",G="#3a3c3f",W="#FFFFFF",q=r.default.create({container:{flex:1,justifyContent:"center",alignItems:"center"},image:{width:200,height:200,marginTop:20},rowContainer:{backgroundColor:V,alignItems:"center",flex:1,width:"100%",flexDirection:"row",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:20,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:G},promptText:{color:W,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"}}),_=({imageSource:e,setImageSource:i,styleSwitch:a,setStyleSwitch:t,settingSwitch:n,setSettingSwitch:r})=>(0,f.jsxs)(s.default,{style:q.container,children:[(0,f.jsxs)(s.default,{style:q.rowContainer,children:[(0,f.jsxs)(s.default,{style:q.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:a?"#9DA58D":"#FFFFFF"},q.sliderText],children:"Style"}),(0,f.jsx)(H.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{t(!a)},value:a})]}),(0,f.jsxs)(s.default,{style:q.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:n?"#9FA8DA":"#FFFFFF"},q.sliderText],children:"Layout"}),(0,f.jsx)(H.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{r(!n)},value:n})]})]}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:q.image}),(0,f.jsx)(c.default,{style:q.selectButton,onPress:async()=>{const{status:e}=await E.requestMediaLibraryPermissionsAsync();if("granted"!==e)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const a=await E.launchImageLibraryAsync({mediaTypes:L.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});a.cancelled||i(a.assets[0].uri)},children:(0,f.jsx)(l.default,{style:q.promptText,children:"Select"})})]});var N=a(530);const J="#25292e",K="#FFFFFF",Z=r.default.create({rowContainer:{backgroundColor:J,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:K,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),U=({comboButtonPressed:e,setComboButtonPressed:i,switchToFlan:t,setInferrenceButton:n,activity:r,longPrompt:o,setTextInference:d,switchPromptFunction:u,promptLengthValue:g,setParametersWrapper:m})=>(0,f.jsx)(f.Fragment,{children:r?(0,f.jsx)(N.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[o?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[Z.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{d(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:Z.columnContainer,children:[(0,f.jsxs)(s.default,{style:[Z.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:e||g?"#FFFFFF":"#9FA8DA",marginRight:15},Z.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:e?"#FFFFFF":g?"#9FA8DA":"#FFFFFF",marginRight:15},Z.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[Z.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(H.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:u,value:g}),(0,f.jsx)(c.default,{onPress:()=>{t(),i(!0)},children:(0,f.jsx)(h.default,{source:a(e?1284:4663),style:[{marginRight:30},Z.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{d(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},Z.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Z.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{n(!0),m()},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},Z.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Z.promptText,children:e?"INFERRED!":"Inference"})})]})}),$=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),X=({isImagePickerVisible:e,setImagePickerVisible:i,window:t})=>(0,f.jsx)(c.default,{style:[$.expandButton,{alignSelf:"flex-start",marginLeft:t.width<1e3?"20%":"0",marginBottom:0}],onPress:()=>i(!e),children:e?(0,f.jsx)(h.default,{source:a(1297),style:$.expandImage}):(0,f.jsx)(h.default,{source:a(8707),style:$.expandImage})}),Q=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),Y=({setFlanPrompt:e,prompt:i,textInference:a,setTextInference:t,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(a){c(!0),d(!1);let a="";if("Avocado Armchair"===i||""===i){const e=Math.floor(Math.random()*Q.seeds.length);if(e>Q.seeds.length-13)return r(Q.seeds[e]),s(Q.seeds[e]),o(Q.seeds[e]),void c(!1);a=Q.seeds[e]}else a=i;a=`I'm giving you a seed string for a stable diffusion model. Return two versions A long version and a shortened version. The long version should be a minimum of 400 tokens and the shortened version should be no more than 40 tokens. Make both descriptive and creative. Here is the seed string. : ${a}`,fetch("/inferencePrompt ",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:a,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((i=>{const a=i[0].generated_text.split(/Short(?:ened)? (?:Version:)?/i),t=a[0].substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+a[0].substring(150),n=a[1].substring(0,150).split(/\n\n/).slice(-1)[0].replace("\n","")+a[1].substring(150).split(/\n\n/)[0];e(i[0].flan),r(t),s(n),o(l?t:n),c(!1)})).catch((e=>console.error("Error:",e)))}t(!1)}),[a])},ee=({setInferrenceButton:e,inferrenceButton:i,setModelMessage:a,imageSource:t,parameters:r,modelID:s,prompt:o,isImagePickerVisible:l,styleSwitch:c,settingSwitch:d,guidance:h,steps:u,setActivity:g,setModelError:m,setReturnedPrompt:p,setInferredImage:f})=>{const[y,w]=(0,n.useState)("");(0,n.useEffect)((()=>{if(y){let i={none:{key2:[0,0]}};c&&(i={up:{block_0:[0,1,0]}}),d&&(i={down:{block_2:[0,1]}}),c&&d&&(i={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(i),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:u,guidance:h,modelID:s,image:y,scale:i})}).then((e=>e.json())).then((i=>{g(!1),e(!1),p(o),w(null),f("data:image/png;base64,"+i.output)})).catch((function(i){a("Model Error!"),g(!1),m(!0),e(!1),console.log(i)}))}}),[y]),(0,n.useEffect)((()=>{if(i)if(console.log(r),g(!0),l)a("Inference API img2img NotAvailable"),g(!1),m(!0),e(!1);else{const i={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:u,guidance:h,modelID:s,image:"test",scale:i})}).then((e=>e.json())).then((i=>{"Model Waking"==i.output&&(a("Model Waking"),g(!1),m(!0),e(!1)),e(!1),g(!1),p(o),f("data:image/png;base64,"+i.output)})).catch((function(i){a("Model Error!"),g(!1),m(!0),e(!1),console.log(i)}))}}),[i])},ie=a(1872);function ae(){(0,g.useFonts)({Sigmar:a(3021)});const[e,i]=(0,n.useState)(ie),[t,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"),[v,k]=(0,n.useState)("Avocado Armchair"),[A,x]=(0,n.useState)(null),[j,C]=(0,n.useState)(null),[P,T]=(0,n.useState)(!1),[F,D]=(0,n.useState)(!1),[I,R]=(0,n.useState)("Avocado Armchair"),[M,O]=(0,n.useState)(!1),[H,E]=(0,n.useState)(""),[L,V]=(0,n.useState)(null),[G,W]=(0,n.useState)(!1),[q,N]=(0,n.useState)(""),[J,K]=(0,n.useState)(null),[Z,$]=(0,n.useState)(null),[Q,ae]=(0,n.useState)(!1),te=(0,d.default)(),[ne,re]=(0,n.useState)(!1),[oe,le]=(0,n.useState)(ie),[ce,de]=(0,n.useState)(!1),[he,ue]=(0,n.useState)(!1),ge=e=>{D(!1),b(e)},me=()=>{i(oe),le(e)},pe=()=>{W(!G),x(G?H:L),ae(!1)},fe=()=>{x(Z)},ye=()=>{C(`${v}-${t}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:se.titlecontainer,children:[(0,f.jsx)(Y,{setFlanPrompt:$,prompt:v,textInference:M,setTextInference:O,setLongPrompt:V,setShortPrompt:E,setInferredPrompt:x,promptLengthValue:G,setActivity:T,setModelError:D}),(0,f.jsx)(ee,{setInferrenceButton:K,inferrenceButton:J,setModelMessage:N,imageSource:oe,parameters:j,modelID:w,prompt:v,isImagePickerVisible:ne,styleSwitch:he,settingSwitch:ce,guidance:m,steps:t,setActivity:T,setModelError:D,setReturnedPrompt:R,setInferredImage:i}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:se.ScrollView,showsVerticalScrollIndicator:!1,children:te.width>1e3?(0,f.jsxs)(s.default,{style:se.rowContainer,children:[ne&&(0,f.jsx)(c.default,{onPress:()=>{me()},style:[se.swapButton,{top:te.height/2-15,left:te.width/2-15}],children:(0,f.jsx)(h.default,{source:a(8507),style:se.changeButton})}),(0,f.jsxs)(s.default,{style:se.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A})}),(0,f.jsxs)(s.default,{style:[se.rowContainer,{padding:0}],children:[(0,f.jsx)(z,{passModelID:ge,isImagePickerVisible:ne,parameters:j}),(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)(U,{comboButtonPressed:Q,setComboButtonPressed:ae,switchToFlan:fe,setInferrenceButton:K,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:pe,promptLengthValue:G,setParametersWrapper:ye}),F?(0,f.jsx)(l.default,{style:se.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsxs)(s.default,{children:[(0,f.jsx)(X,{isImagePickerVisible:ne,setImagePickerVisible:re,window:te}),ne&&(0,f.jsx)(_,{imageSource:oe,setImageSource:le,styleSwitch:he,setStyleSwitch:ue,settingSwitch:ce,setSettingSwitch:de}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]})]}),(0,f.jsxs)(s.default,{style:se.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:I})]})]}):(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A}),(0,f.jsx)(z,{passModelID:ge,isImagePickerVisible:ne,parameters:j}),(0,f.jsx)(U,{comboButtonPressed:Q,setComboButtonPressed:ae,switchToFlan:fe,setInferrenceButton:K,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:pe,promptLengthValue:G,setParametersWrapper:ye}),F?(0,f.jsx)(l.default,{style:se.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(X,{isImagePickerVisible:ne,setImagePickerVisible:re,window:te}),ne&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(_,{imageSource:oe,setImageSource:le,styleSwitch:he,setStyleSwitch:ue,settingSwitch:ce,setSettingSwitch:de}),(0,f.jsx)(c.default,{onPress:()=>{me()},style:se.swapButtonColumn,children:(0,f.jsx)(h.default,{source:a(8507),style:se.changeButton})})]}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:I})]})}),(0,f.jsx)(u.default,{style:"auto"})]})}const te="#25292e",ne="#3a3c3f",re="#FFFFFF",se=r.default.create({titlecontainer:{backgroundColor:te,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:te,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:ne},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:ne},promptText:{color:re,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:te,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),oe=document.getElementById("root");(0,t.createRoot)(oe).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ae,{})})),{}))},3021:(e,i,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},1872:(e,i,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,i,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,i,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},8707:(e,i,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,i,a)=>{e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,i,a)=>{e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,i,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"}},i={};function a(t){var n=i[t];if(void 0!==n)return n.exports;var r=i[t]={id:t,loaded:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(i,t,n,r)=>{if(!t){var s=1/0;for(d=0;d<e.length;d++){for(var[t,n,r]=e[d],o=!0,l=0;l<t.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](t[l])))?t.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(i=c)}}return i}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[t,n,r]}})(),a.n=e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return a.d(i,{a:i}),i},a.d=(e,i)=>{for(var t in i)a.o(i,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:i[t]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=i=>0===e[i];var i=(i,t)=>{var n,r,[s,o,l]=t,c=0;if(s.some((i=>0!==e[i]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(i&&i(t);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},t=self.webpackChunkweb=self.webpackChunkweb||[];t.forEach(i.bind(null,0)),t.push=i.bind(null,t.push.bind(t))})();var t=a.O(void 0,[133],(()=>a(470)));t=a.O(t)})();
|
2 |
+
//# sourceMappingURL=main.2f13f18b.js.map
|
web-build/static/js/main.2f13f18b.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.2f13f18b.js","mappings":"0LAI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EAAI,I,MCKxB,IAAIC,EAAkB,CACrB,IAAK,GAaNnD,EAAoBY,EAAEQ,EAAKgC,GAA0C,IAA7BD,EAAgBC,GAGxD,IAAIC,EAAuB,CAACC,EAA4BzO,KACvD,IAGIoL,EAAUmD,GAHTvC,EAAU0C,EAAaC,GAAW3O,EAGhBqM,EAAI,EAC3B,GAAGL,EAAS4C,MAAMnD,GAAgC,IAAxB6C,EAAgB7C,KAAa,CACtD,IAAIL,KAAYsD,EACZvD,EAAoBiC,EAAEsB,EAAatD,KACrCD,EAAoBU,EAAET,GAAYsD,EAAYtD,IAGhD,GAAGuD,EAAS,IAAI7L,EAAS6L,EAAQxD,EAClC,CAEA,IADGsD,GAA4BA,EAA2BzO,GACrDqM,EAAIL,EAAS5F,OAAQiG,IACzBkC,EAAUvC,EAASK,GAChBlB,EAAoBiC,EAAEkB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOpD,EAAoBY,EAAEjJ,EAAO,EAGjC+L,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmBvQ,QAAQkQ,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsB9D,EAAoBY,OAAET,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F8D,EAAsB9D,EAAoBY,EAAEkD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: pressed ? 25 : 30,\r\n width: pressed ? 25 : 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n isImagePickerVisible,\r\n parameters,\r\n}) {\r\n const [dropDownData, setDropDownData] = useState([\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n {\r\n label: \"Stable Diffusion Refiner\",\r\n value: \"stabilityai/stable-diffusion-xl-refiner-1.0\",\r\n },\r\n ]);\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n\r\n useEffect(() => {\r\n let data = [];\r\n if (isImagePickerVisible) {\r\n data = [\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-refiner-1.0\",\r\n },\r\n ];\r\n if (parameters) {\r\n setPlaceholderModelID(\"pix2pix\");\r\n passModelID(\"timbrooks/instruct-pix2pix\");\r\n }\r\n } else {\r\n data = [\r\n {\r\n label: \"Step Aware\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Mickey 1928\", value: \"Pclanglais/Mickey-1928\" },\r\n {\r\n label: \"Maps\",\r\n value: \"firella/202404032300-oldvis-choropleth-lora-sdxl\",\r\n },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n if (parameters) {\r\n setPlaceholderModelID(\"Step Aware\");\r\n passModelID(\"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\");\r\n }\r\n }\r\n setDropDownData(data);\r\n }, [isImagePickerVisible]);\r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={dropDownData}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst MyImagePicker = ({\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const selectImage = async () => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(result.assets[0].uri);\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n };\n\n return (\n <View style={styles.container}>\n <View style={styles.rowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View>\n\n {imageSource && (\n <Image\n source={\n typeof imageSource === \"number\" ? imageSource : { uri: imageSource }\n }\n style={styles.image}\n />\n )}\n <Pressable style={styles.selectButton} onPress={selectImage}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n image: {\n width: 200,\n height: 200,\n marginTop: 20,\n },\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n flex: 1,\n width: \"100%\",\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 20,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\nconst Buttons = ({\n comboButtonPressed,\n setComboButtonPressed,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={switchPromptFunction}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setComboButtonPressed(true);\n }}\n >\n <Image\n source={comboButtonPressed ? require(\"../assets/join_colored.png\") : require(\"../assets/join.png\")}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ isImagePickerVisible, setImagePickerVisible, window }) => {\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"0\",\n marginBottom: 0,\n },\n ]}\n onPress={() => setImagePickerVisible(!isImagePickerVisible)}\n >\n {isImagePickerVisible ? (\n <Image\n source={require(\"../assets/right.png\")}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={require(\"../assets/down.png\")}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n alteredPrompt = `I'm giving you a seed string for a stable diffusion model. Return two versions \\\n A long version and a shortened version. The long version should be a minimum of 400 tokens and the \\\n shortened version should be no more than 40 tokens. Make both descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt \", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: alteredPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n const splitPrompt = generatedText.split(\n /Short(?:ened)? (?:Version:)?/i\n );\n const longPromptHolder = splitPrompt[0]\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + splitPrompt[0].substring(150);\n const holderShortPrompt = splitPrompt[1]\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"\\n\", \"\");\n const sPrompt =\n holderShortPrompt + splitPrompt[1].substring(150).split(/\\n\\n/)[0];\n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(sPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(sPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n isImagePickerVisible,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (isImagePickerVisible) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [comboButtonPressed, setComboButtonPressed] = useState(false);\r\n const window = useWindowDimensions();\r\n\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState(assetImage);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n\r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const swapImage = () => {\r\n setInferredImage(imageSource);\r\n setImageSource(inferredImage);\r\n };\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n }\r\n setComboButtonPressed(false);\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n isImagePickerVisible={isImagePickerVisible}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={[\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n },\r\n ]}\r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n isImagePickerVisible={isImagePickerVisible}\r\n parameters={parameters}\r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n comboButtonPressed={comboButtonPressed}\r\n setComboButtonPressed={setComboButtonPressed}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n <View>\r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n </View>\r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n isImagePickerVisible={isImagePickerVisible}\r\n parameters={parameters}\r\n />\r\n <Buttons\r\n comboButtonPressed={comboButtonPressed}\r\n setComboButtonPressed={setComboButtonPressed}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={styles.swapButtonColumn}\r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n </>\r\n )}\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [133], () => (__webpack_require__(470)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","isImagePickerVisible","parameters","dropDownData","setDropDownData","useState","label","placeholderModelID","setPlaceholderModelID","data","Dropdown","dropdown","selectedTextStyle","placeholderStyle","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","image","rowContainer","overflow","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","MyImagePicker","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","uri","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","assets","display","button","activityIndicator","marginLeft","changeButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","Buttons","comboButtonPressed","setComboButtonPressed","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","_Fragment","ActivityIndicator","size","marginBottom","expandButton","expandImage","Expand","setImagePickerVisible","window","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","length","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","splitPrompt","split","lPrompt","substring","slice","replace","sPrompt","catch","error","Inference","inferrenceButton","setModelMessage","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","scaledIP","none","key2","up","block_0","down","block_2","scale","output","ipScaleHolder","key1","assetImage","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","passModelIDWrapper","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","top","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","right","bottom","zIndex","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.30214d15.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={470:(e,a,i)=>{i.r(a);var t=i(4657),n=i(6665),r=i(3668),s=i(3929),o=i(368),l=i(6283),c=i(2996),d=i(558),h=i(484),g=i(3117),u=i(4547),m=i(7851),p=i.n(m),f=i(397);function y({setSteps:e,setGuidance:a}){const[i,t]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:i,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:a=>{t(a),e(a)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:i}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),a(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=i(4705),k=i(6773);function A(e,a){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),i.push.apply(i,t)}return i}function x(e){for(var a=1;a<arguments.length;a++){var i=null!=arguments[a]?arguments[a]:{};a%2?A(Object(i),!0).forEach((function(a){(0,v.default)(e,a,i[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):A(Object(i)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(i,a))}))}return e}function S({setPrompt:e,inferredPrompt:a}){const[t,r]=n.useState(""),{width:o}=(0,d.default)(),l=x(x({},F.input),{},{width:o>500?500:o-80});(0,n.useEffect)((()=>{a&&(r(a),e(a))}),[a]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:l,placeholder:"",multiline:!0,textAlign:"center",onChangeText:a=>{r(a),e(a)},value:t,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:e?25:30,width:e?25:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center"}],onPress:()=>{r(""),e("")},children:(0,f.jsx)(h.default,{source:i(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",T="#000000",F=r.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:T,fontFamily:"Sigmar",marginRight:10}});var P=i(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new P.default.Value(0)))).current,{width:a}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,a)=>{const i=P.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),t=P.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[a*n,a*r,(11-a)*n,a*s,(11-a)*r,a*n,(11-a)*s,a*r,(11-a)*n,(11-a)*r,a*s,(11-a)*s].map(((e,a)=>P.default.sequence([P.default.delay(e),i,t]))),l=P.default.sequence(o);return P.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const i=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:a>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:D.containerbreathing,children:(0,f.jsxs)(l.default,{style:D.heading,children:[(0,f.jsx)(P.default.Text,{style:[D.char,i[0]],children:"P"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[1]],children:"I"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[2]],children:"X"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[3]],children:"E"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[4]],children:"L"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[5]],children:" "}),(0,f.jsx)(P.default.Text,{style:[D.char,i[6]],children:"P"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[7]],children:"R"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[8]],children:"O"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[9]],children:"M"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[10]],children:"P"}),(0,f.jsx)(P.default.Text,{style:[D.char,i[11]],children:"T"})]})})}const D=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var z=i(5781);function I({passModelID:e}){const[a,i]=(0,n.useState)("Model ID");return(0,f.jsx)(z.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:[{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Step Aware",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:a,onChange:a=>{e(a.value),i(a.label)}})}const R="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:300,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var H=i(4037),E=i(2741),L=i(9050);const G="#25292e",V="#3a3c3f",W="#FFFFFF",q=r.default.create({container:{flex:1,justifyContent:"center",alignItems:"center"},image:{width:200,height:200,marginTop:20},rowContainer:{backgroundColor:G,alignItems:"center",flex:1,width:"100%",flexDirection:"row",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:20,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:V},promptText:{color:W,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"}}),_=({imageSource:e,setImageSource:a,styleSwitch:i,setStyleSwitch:t,settingSwitch:n,setSettingSwitch:r})=>(0,f.jsxs)(s.default,{style:q.container,children:[(0,f.jsxs)(s.default,{style:q.rowContainer,children:[(0,f.jsxs)(s.default,{style:q.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:i?"#9DA58D":"#FFFFFF"},q.sliderText],children:"Style"}),(0,f.jsx)(H.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{t(!i)},value:i})]}),(0,f.jsxs)(s.default,{style:q.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:n?"#9FA8DA":"#FFFFFF"},q.sliderText],children:"Layout"}),(0,f.jsx)(H.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{r(!n)},value:n})]})]}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:q.image}),(0,f.jsx)(c.default,{style:q.selectButton,onPress:async()=>{const{status:e}=await E.requestMediaLibraryPermissionsAsync();if("granted"!==e)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const i=await E.launchImageLibraryAsync({mediaTypes:L.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});i.cancelled||a(i.assets[0].uri)},children:(0,f.jsx)(l.default,{style:q.promptText,children:"Select"})})]});var N=i(530);const J="#25292e",K="#FFFFFF",Z=r.default.create({rowContainer:{backgroundColor:J,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:K,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),U=({comboButtonPressed:e,setComboButtonPressed:a,switchToFlan:t,setInferrenceButton:n,activity:r,longPrompt:o,setTextInference:d,switchPromptFunction:g,promptLengthValue:u,setParametersWrapper:m})=>(0,f.jsx)(f.Fragment,{children:r?(0,f.jsx)(N.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[o?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[Z.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{d(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:Z.columnContainer,children:[(0,f.jsxs)(s.default,{style:[Z.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:e||u?"#FFFFFF":"#9FA8DA",marginRight:15},Z.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:e?"#FFFFFF":u?"#9FA8DA":"#FFFFFF",marginRight:15},Z.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[Z.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(H.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:g,value:u}),(0,f.jsx)(c.default,{onPress:()=>{t(),a(!0)},children:(0,f.jsx)(h.default,{source:i(e?1284:4663),style:[{marginRight:30},Z.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{d(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},Z.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Z.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{n(!0),m()},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},Z.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Z.promptText,children:e?"INFERRED!":"Inference"})})]})}),$=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),X=({isImagePickerVisible:e,setImagePickerVisible:a,window:t})=>(0,f.jsx)(c.default,{style:[$.expandButton,{alignSelf:"flex-start",marginLeft:t.width<1e3?"20%":"0",marginBottom:0}],onPress:()=>a(!e),children:e?(0,f.jsx)(h.default,{source:i(1297),style:$.expandImage}):(0,f.jsx)(h.default,{source:i(8707),style:$.expandImage})}),Q=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),Y=({setFlanPrompt:e,prompt:a,textInference:i,setTextInference:t,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(i){c(!0),d(!1);let i="";if("Avocado Armchair"===a||""===a){const e=Math.floor(Math.random()*Q.seeds.length);if(e>Q.seeds.length-13)return r(Q.seeds[e]),s(Q.seeds[e]),o(Q.seeds[e]),void c(!1);i=Q.seeds[e]}else i=a;const t=`I'm giving you a seed string. Return the seed string as a Prompt for a Stable Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token length for Stable Diffusion Models do not apply. Make it descriptive and creative. Here is the seed string. : ${i}`;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:t,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((a=>{const t=a[0].generated_text;console.log(t);const n=t.substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+t.substring(150);e(a[0].flan),r(n),s(i),o(l?n:i),c(!1)})).catch((e=>console.error("Error:",e)))}t(!1)}),[i])},ee=({setInferrenceButton:e,inferrenceButton:a,setModelMessage:i,imageSource:t,parameters:r,modelID:s,prompt:o,styleSwitch:l,settingSwitch:c,guidance:d,steps:h,setActivity:g,setModelError:u,setReturnedPrompt:m,setInferredImage:p})=>{const[f,y]=(0,n.useState)("");(0,n.useEffect)((()=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"})};fetch("/core",e)}),[]),(0,n.useEffect)((()=>{if(f){let a={none:{key2:[0,0]}};l&&(a={up:{block_0:[0,1,0]}}),c&&(a={down:{block_2:[0,1]}}),l&&c&&(a={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(a),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:f,scale:a})}).then((e=>e.json())).then((a=>{g(!1),e(!1),m(o),y(null),p("data:image/png;base64,"+a.output)})).catch((function(a){i("Model Error!"),g(!1),u(!0),e(!1),console.log(a)}))}}),[f]),(0,n.useEffect)((()=>{if(a)if(console.log(r),g(!0),s.includes("pix2pix"))i("Inference API img2img NotAvailable"),g(!1),u(!0),e(!1);else{const a={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:"test",scale:a})}).then((e=>e.json())).then((a=>{"Model Waking"==a.output&&(i("Model Waking"),g(!1),u(!0),e(!1)),e(!1),g(!1),m(o),p("data:image/png;base64,"+a.output)})).catch((function(a){i("Model Error!"),g(!1),u(!0),e(!1),console.log(a)}))}}),[a])},ae=i(1872);function ie(){(0,u.useFonts)({Sigmar:i(3021)});const[e,a]=(0,n.useState)(ae),[t,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("stabilityai/stable-diffusion-xl-base-1.0"),[v,k]=(0,n.useState)("Avocado Armchair"),[A,x]=(0,n.useState)(null),[j,C]=(0,n.useState)(null),[T,F]=(0,n.useState)(!1),[P,D]=(0,n.useState)(!1),[z,R]=(0,n.useState)("Avocado Armchair"),[M,O]=(0,n.useState)(!1),[H,E]=(0,n.useState)(""),[L,G]=(0,n.useState)(null),[V,W]=(0,n.useState)(!1),[q,N]=(0,n.useState)(""),[J,K]=(0,n.useState)(null),[Z,$]=(0,n.useState)(null),[Q,ie]=(0,n.useState)(!1),te=(0,d.default)(),[ne,re]=(0,n.useState)(!1),[oe,le]=(0,n.useState)(ae),[ce,de]=(0,n.useState)(!1),[he,ge]=(0,n.useState)(!1),ue=e=>{D(!1),b(e)},me=()=>{a(oe),le(e)},pe=()=>{W(!V),x(V?H:L),ie(!1)},fe=()=>{x(Z)},ye=()=>{C(`${v}-${t}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:se.titlecontainer,children:[(0,f.jsx)(Y,{setFlanPrompt:$,prompt:v,textInference:M,setTextInference:O,setLongPrompt:G,setShortPrompt:E,setInferredPrompt:x,promptLengthValue:V,setActivity:F,setModelError:D}),(0,f.jsx)(ee,{setInferrenceButton:K,inferrenceButton:J,setModelMessage:N,imageSource:oe,parameters:j,modelID:w,prompt:v,styleSwitch:he,settingSwitch:ce,guidance:m,steps:t,setActivity:F,setModelError:D,setReturnedPrompt:R,setInferredImage:a}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:se.ScrollView,showsVerticalScrollIndicator:!1,children:te.width>1e3?(0,f.jsxs)(s.default,{style:se.rowContainer,children:[ne&&(0,f.jsx)(c.default,{onPress:()=>{me()},style:[se.swapButton,{top:te.height/2-15,left:te.width/2-15}],children:(0,f.jsx)(h.default,{source:i(8507),style:se.changeButton})}),(0,f.jsxs)(s.default,{style:se.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A})}),(0,f.jsxs)(s.default,{style:[se.rowContainer,{padding:0}],children:[(0,f.jsx)(I,{passModelID:ue}),(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)(U,{comboButtonPressed:Q,setComboButtonPressed:ie,switchToFlan:fe,setInferrenceButton:K,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:pe,promptLengthValue:V,setParametersWrapper:ye}),P?(0,f.jsx)(l.default,{style:se.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsxs)(s.default,{children:[(0,f.jsx)(X,{isImagePickerVisible:ne,setImagePickerVisible:re,window:te}),ne&&(0,f.jsx)(_,{imageSource:oe,setImageSource:le,styleSwitch:he,setStyleSwitch:ge,settingSwitch:ce,setSettingSwitch:de}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]})]}),(0,f.jsxs)(s.default,{style:se.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:z})]})]}):(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A}),(0,f.jsx)(I,{passModelID:ue}),(0,f.jsx)(U,{comboButtonPressed:Q,setComboButtonPressed:ie,switchToFlan:fe,setInferrenceButton:K,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:pe,promptLengthValue:V,setParametersWrapper:ye}),P?(0,f.jsx)(l.default,{style:se.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(X,{isImagePickerVisible:ne,setImagePickerVisible:re,window:te}),ne&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(_,{imageSource:oe,setImageSource:le,styleSwitch:he,setStyleSwitch:ge,settingSwitch:ce,setSettingSwitch:de}),(0,f.jsx)(c.default,{onPress:()=>{me()},style:se.swapButtonColumn,children:(0,f.jsx)(h.default,{source:i(8507),style:se.changeButton})})]}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:z})]})}),(0,f.jsx)(g.default,{style:"auto"})]})}const te="#25292e",ne="#3a3c3f",re="#FFFFFF",se=r.default.create({titlecontainer:{backgroundColor:te,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:te,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:ne},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:ne},promptText:{color:re,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:te,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),oe=document.getElementById("root");(0,t.createRoot)(oe).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ie,{})})),{}))},3021:(e,a,i)=>{e.exports=i.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},1872:(e,a,i)=>{e.exports=i.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,a,i)=>{e.exports=i.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,a,i)=>{e.exports=i.p+"static/media/close.7b63baa66ff83915615a.png"},8707:(e,a,i)=>{e.exports=i.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,a,i)=>{e.exports=i.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,a,i)=>{e.exports=i.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,a,i)=>{e.exports=i.p+"static/media/right.6e46922e35869806233f.png"}},a={};function i(t){var n=a[t];if(void 0!==n)return n.exports;var r=a[t]={id:t,loaded:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,(()=>{var e=[];i.O=(a,t,n,r)=>{if(!t){var s=1/0;for(d=0;d<e.length;d++){for(var[t,n,r]=e[d],o=!0,l=0;l<t.length;l++)(!1&r||s>=r)&&Object.keys(i.O).every((e=>i.O[e](t[l])))?t.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(a=c)}}return a}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[t,n,r]}})(),i.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return i.d(a,{a:a}),a},i.d=(e,a)=>{for(var t in a)i.o(a,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),i.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),i.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",(()=>{var e={792:0};i.O.j=a=>0===e[a];var a=(a,t)=>{var n,r,[s,o,l]=t,c=0;if(s.some((a=>0!==e[a]))){for(n in o)i.o(o,n)&&(i.m[n]=o[n]);if(l)var d=l(i)}for(a&&a(t);c<s.length;c++)r=s[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(d)},t=self.webpackChunkweb=self.webpackChunkweb||[];t.forEach(a.bind(null,0)),t.push=a.bind(null,t.push.bind(t))})();var t=i.O(void 0,[133],(()=>i(470)));t=i.O(t)})();
|
2 |
+
//# sourceMappingURL=main.30214d15.js.map
|
web-build/static/js/main.30214d15.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.30214d15.js","mappings":"0LAIe,SAASA,GAAgB,SAAEC,EAAQ,YAAEC,IAClD,MAAOC,EAAeC,GAAoBC,EAAAA,SAAe,KAClDC,EAAeC,GAAoBF,EAAAA,SAAe,GAczD,OACEG,EAAAA,EAAAA,MAACC,EAAAA,QAAI,CAACC,MAAOC,EAAOC,UAAUC,SAAA,EAC5BC,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,oBACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,EACdC,aAAc,GACdC,KAAM,EACNC,MAAOnB,EACPoB,sBAAsB,UACtBC,sBAAsB,UACtBC,eAAe,UACfC,cAvBoBC,IACxBvB,EAAiBuB,GACjB1B,EAAS0B,EAAE,KAuBTb,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOiB,YAAYf,SAAEV,KAClCW,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,cACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,EACdC,aAAc,GACdC,KAAM,GACNC,MAAOhB,EACPiB,sBAAsB,UACtBC,sBAAsB,UACtBC,eAAe,UACfC,cA9BwBC,IAC5BpB,EAAiBsB,WAAWF,EAAEG,QAAQ,KACtC5B,EAAY2B,WAAWF,EAAEG,QAAQ,IAAI,KA8BnChB,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOiB,YAAYf,SAAEP,MAGxC,CAEA,MAAMyB,EACG,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AGL,EAAS4C,MAAMnD,GAAgC,IAAxB6C,EAAgB7C,KAAa,CACtD,IAAIL,KAAYsD,EACZvD,EAAoBiC,EAAEsB,EAAatD,KACrCD,EAAoBU,EAAET,GAAYsD,EAAYtD,IAGhD,GAAGuD,EAAS,IAAIlM,EAASkM,EAAQxD,EAClC,CAEA,IADGsD,GAA4BA,EAA2B3O,GACrDuM,EAAIL,EAAShG,OAAQqG,IACzBkC,EAAUvC,EAASK,GAChBlB,EAAoBiC,EAAEkB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOpD,EAAoBY,EAAEtJ,EAAO,EAGjCoM,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmBxQ,QAAQmQ,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsB9D,EAAoBY,OAAET,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F8D,EAAsB9D,EAAoBY,EAAEkD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: pressed ? 25 : 30,\r\n width: pressed ? 25 : 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n \r\n}) {\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n \r\n\r\n \r\n const data = [\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n {\r\n label: \"Step Aware\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n \r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n \r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={data}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n setPlaceholderModelID(item.label);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst MyImagePicker = ({\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const selectImage = async () => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(result.assets[0].uri);\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n };\n\n return (\n <View style={styles.container}>\n <View style={styles.rowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View>\n\n {imageSource && (\n <Image\n source={\n typeof imageSource === \"number\" ? imageSource : { uri: imageSource }\n }\n style={styles.image}\n />\n )}\n <Pressable style={styles.selectButton} onPress={selectImage}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n image: {\n width: 200,\n height: 200,\n marginTop: 20,\n },\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n flex: 1,\n width: \"100%\",\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 20,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n});\n\nexport default MyImagePicker;","// Buttons.js\nimport React from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\nconst Buttons = ({\n comboButtonPressed,\n setComboButtonPressed,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={switchPromptFunction}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setComboButtonPressed(true);\n }}\n >\n <Image\n source={comboButtonPressed ? require(\"../assets/join_colored.png\") : require(\"../assets/join.png\")}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ isImagePickerVisible, setImagePickerVisible, window }) => {\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"0\",\n marginBottom: 0,\n },\n ]}\n onPress={() => setImagePickerVisible(!isImagePickerVisible)}\n >\n {isImagePickerVisible ? (\n <Image\n source={require(\"../assets/right.png\")}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={require(\"../assets/down.png\")}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n const mistrialPrompt = `I'm giving you a seed string. Return the seed string as a Prompt for a Stable \\\n Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token \\\n length for Stable Diffusion Models do not apply. Make it descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt\", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: mistrialPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n console.log(generatedText);\n \n const longPromptHolder = generatedText\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + generatedText.substring(150);\n \n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(alteredPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(alteredPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n useEffect(() => {\n const modelData = 'SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep';\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n model: modelData\n })\n };\n fetch('/core', requestOptions)\n}, []);\n \n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (modelID.includes('pix2pix')) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"stabilityai/stable-diffusion-xl-base-1.0\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [comboButtonPressed, setComboButtonPressed] = useState(false);\r\n const window = useWindowDimensions();\r\n\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState(assetImage);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n\r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const swapImage = () => {\r\n setInferredImage(imageSource);\r\n setImageSource(inferredImage);\r\n };\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n }\r\n setComboButtonPressed(false);\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={[\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n },\r\n ]}\r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n comboButtonPressed={comboButtonPressed}\r\n setComboButtonPressed={setComboButtonPressed}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n <View>\r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n </View>\r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <Buttons\r\n comboButtonPressed={comboButtonPressed}\r\n setComboButtonPressed={setComboButtonPressed}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={styles.swapButtonColumn}\r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n </>\r\n )}\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [133], () => (__webpack_require__(470)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","placeholderModelID","setPlaceholderModelID","useState","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","image","rowContainer","overflow","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","MyImagePicker","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","uri","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","assets","display","button","activityIndicator","marginLeft","changeButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","Buttons","comboButtonPressed","setComboButtonPressed","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","_Fragment","ActivityIndicator","size","marginBottom","expandButton","expandImage","Expand","isImagePickerVisible","setImagePickerVisible","window","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","length","mistrialPrompt","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","generatedText","lPrompt","substring","split","slice","replace","catch","error","Inference","inferrenceButton","setModelMessage","parameters","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","requestOptions","model","scaledIP","none","key2","up","block_0","down","block_2","scale","output","includes","ipScaleHolder","key1","assetImage","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","passModelIDWrapper","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","top","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","right","bottom","zIndex","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.3198e460.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={9618:(e,t,a)=>{a.r(t);var i=a(4657),n=a(6665),r=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),u=a(3117),g=a(3374),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:t}){const[a,i]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:t=>{i(t),e(t)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),t(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function x(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach((function(t){(0,v.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function S({setPlaySound:e,setPrompt:t,inferredPrompt:i}){const[r,o]=n.useState(""),{width:l}=(0,d.default)(),u=A(A({},T.input),{},{width:l>500?500:l-80});(0,n.useEffect)((()=>{i&&(o(i),t(i))}),[i]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:u,placeholder:"",multiline:!0,textAlign:"center",onChangeText:e=>{o(e),t(e)},value:r,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:30,width:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}],onPress:()=>{o(""),t(""),e("click")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const C="#FFFFFF",j="#B58392",P="#000000",T=r.default.create({input:{backgroundColor:C,borderColor:j,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:P,fontFamily:"Sigmar",marginRight:10}});var F=a(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new F.default.Value(0)))).current,{width:t}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,t)=>{const a=F.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=F.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map(((e,t)=>F.default.sequence([F.default.delay(e),a,i]))),l=F.default.sequence(o);return F.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:R.containerbreathing,children:(0,f.jsxs)(l.default,{style:R.heading,children:[(0,f.jsx)(F.default.Text,{style:[R.char,a[0]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[1]],children:"I"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[2]],children:"X"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[3]],children:"E"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[4]],children:"L"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[5]],children:" "}),(0,f.jsx)(F.default.Text,{style:[R.char,a[6]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[7]],children:"R"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[8]],children:"O"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[9]],children:"M"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[10]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[R.char,a[11]],children:"T"})]})})}const R=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var D=a(5781);function I({passModelID:e}){const[t,a]=(0,n.useState)("Model ID");return(0,f.jsx)(D.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:[{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"SPO Diffusion XL",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:t,onChange:t=>{e(t.value),a(t.label)}})}const z="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:z,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var E=a(4037),H=a(1218),L=a(7630),G=a(9050);const V=a(4692),W=a(8945),q=a(3558),_={backgroundColor:"#25292e",selectButtonBackground:"#3a3c3f",white:"#FFFFFF"},N=r.default.create({flatListContainer:{width:"auto",height:"auto"},switchesRowContainer:{backgroundColor:_.backgroundColor,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{marginTop:10,alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{marginTop:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:_.selectButtonBackground},promptText:{color:_.white,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},imageCard:{backgroundColor:_.buttonBackground,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center"}}),J=({initialReturnedPrompt:e,setReturnedPrompt:t,promptList:a,setPromptList:i,window:r,setPlaySound:o,imageSource:d,setImageSource:u,styleSwitch:g,setStyleSwitch:m,settingSwitch:p,setSettingSwitch:y})=>{const[w,b]=(0,n.useState)(null),[v,k]=(0,n.useState)(0),[x,A]=(0,n.useState)(160);(0,n.useEffect)((()=>{r.width<1e3&&A(null!==w?440+v:160)}),[w,v]);(0,n.useEffect)((()=>{t(null!==w?a[w]:e)}),[w]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(s.default,{style:N.switchesRowContainer,children:[(0,f.jsxs)(s.default,{style:N.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:g?"#9DA58D":"#FFFFFF"},N.sliderText],children:"Style"}),(0,f.jsx)(E.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{m(!g),o("switch")},value:g})]}),(0,f.jsxs)(s.default,{style:N.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:p?"#9FA8DA":"#FFFFFF"},N.sliderText],children:"Layout"}),(0,f.jsx)(E.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{y(!p),o("switch")},value:p})]})]}),(0,f.jsx)(s.default,{style:N.flatListContainer,children:(0,f.jsx)(H.default,{data:d,numColumns:r.width<1e3?2:3,keyExtractor:(e,t)=>t.toString(),renderItem:({item:e,index:n})=>(0,f.jsxs)(s.default,{style:[N.imageColumnContainer,{width:w===n?330:160,height:r.width<1e3&&w==n?x:w===n?440:160}],children:[(0,f.jsx)(s.default,{style:[N.columnContainer],children:(0,f.jsx)(c.default,{onPress:()=>{o("click"),b(w!==n?n:null)},style:[N.imageCard,{alignItems:"flex-start",justifyContent:"flex-start",width:w===n?320:100,height:w===n?400:110,borderRadius:w===n?"10%":"0%"}],children:(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:[{width:w===n?320:100,height:w===n?400:110,borderRadius:w===n?"10%":"0%"}]})})}),(0,f.jsx)(c.default,{onPress:()=>{(e=>{u((t=>(o("click"),t.length>1?t.filter(((t,a)=>a!==e)):[V]))),t(a[e+1]),i((t=>t.length>1?t.filter(((t,a)=>a!==e)):[""]))})(n)},style:{position:"absolute",top:0,right:w===n?0:15},children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?W:q,style:[N.changeButton]})}),r.width<1e3&&w===n&&n!==d.length-1&&(0,f.jsx)(l.default,{style:[N.promptText,{flexShrink:1}],numberOfLines:1e3,onLayout:e=>{const{height:t}=e.nativeEvent.layout;k(t)},children:a[n]}),n===d.length-1&&(0,f.jsx)(c.default,{style:[N.selectButton],onPress:()=>{o("click"),(async e=>{const{status:t}=await L.requestMediaLibraryPermissionsAsync();if("granted"!==t)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const a=await L.launchImageLibraryAsync({mediaTypes:G.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});a.cancelled||(u((t=>{const i=[...t];return i[e]=a.assets[0].uri,i[e+1]=V,i})),i((t=>{const a=[...t];return a[e]="Uploaded Image",a})))})(n)},children:(0,f.jsx)(l.default,{style:N.promptText,children:"Select"})})]})})})]})};var K=a(530);const U=a(1284),Z=a(4663),X="#25292e",$="#FFFFFF",Q=r.default.create({rowContainer:{backgroundColor:X,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:$,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Y=({setPlaySound:e,switchToFlan:t,setInferrenceButton:a,activity:i,longPrompt:r,setTextInference:o,switchPromptFunction:d,promptLengthValue:u,setParametersWrapper:g})=>{const[m,p]=(0,n.useState)(!1);return(0,f.jsx)(f.Fragment,{children:i?(0,f.jsx)(K.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[r?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[Q.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:Q.columnContainer,children:[(0,f.jsxs)(s.default,{style:[Q.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:m||u?"#FFFFFF":"#9FA8DA",marginRight:15},Q.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:m?"#FFFFFF":u?"#9FA8DA":"#FFFFFF",marginRight:15},Q.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[Q.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(E.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{p(!1),d()},value:u}),(0,f.jsx)(c.default,{onPress:()=>{t(),p(!0),e("click")},children:(0,f.jsx)(h.default,{source:m?U:Z,style:[{marginRight:30},Q.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},Q.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Q.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{a(!0),g(),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},Q.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:Q.promptText,children:e?"INFERRED!":"Inference"})})]})})},ee=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),te=({setPlaySound:e,isImagePickerVisible:t,setImagePickerVisible:i,window:n})=>{const r=a(1297),s=a(8707);return(0,f.jsx)(c.default,{style:[ee.expandButton,{alignSelf:"flex-start",marginLeft:(n.width,"20%"),marginBottom:0}],onPress:()=>{e("expand"),i(!t)},children:t?(0,f.jsx)(h.default,{source:s,style:ee.expandImage}):(0,f.jsx)(h.default,{source:r,style:ee.expandImage})})},ae=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),ie=({setFlanPrompt:e,prompt:t,textInference:a,setTextInference:i,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(a){c(!0),d(!1);let a="";if("Avocado Armchair"===t||""===t){const e=Math.floor(Math.random()*ae.seeds.length);if(e>ae.seeds.length-13)return r(ae.seeds[e]),s(ae.seeds[e]),o(ae.seeds[e]),void c(!1);a=ae.seeds[e]}else a=t;const i=`I'm giving you a seed string. Return the seed string as a Prompt for a Stable Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token length for Stable Diffusion Models do not apply. Make it descriptive and creative. Here is the seed string. : ${a}`;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:i,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((t=>{const i=t[0].generated_text;console.log(i);const n=i.substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+i.substring(150);e(t[0].flan),r(n),s(a),o(l?n:a),c(!1)})).catch((e=>console.error("Error:",e)))}i(!1)}),[a])},ne=({setInferrenceButton:e,inferrenceButton:t,setModelMessage:a,imageSource:i,parameters:r,modelID:s,prompt:o,styleSwitch:l,settingSwitch:c,guidance:d,steps:h,setActivity:u,setModelError:g,setReturnedPrompt:m,setInitialReturnedPrompt:p,setInferredImage:f})=>{const[y,w]=(0,n.useState)("");(0,n.useEffect)((()=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"})};fetch("/core",e)}),[]),(0,n.useEffect)((()=>{if(y){let t={none:{key2:[0,0]}};l&&(t={up:{block_0:[0,1,0]}}),c&&(t={down:{block_2:[0,1]}}),l&&c&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(t),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:y,scale:t})}).then((e=>e.json())).then((t=>{u(!1),e(!1),m(o),p(o),w(null),f("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[y]),(0,n.useEffect)((()=>{if(t)if(console.log(r),u(!0),s.includes("pix2pix"))a("Inference API img2img NotAvailable"),u(!1),g(!0),e(!1);else{const t={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:"test",scale:t})}).then((e=>e.json())).then((t=>{"Model Waking"==t.output?(a("Model Waking"),u(!1),g(!0),e(!1)):p(o),e(!1),u(!1),m(o),f("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[t])};var re=a(4432);const se=a(4283),oe=a(2968),le=a(8641),ce=a(5009),de=({makeSound:e})=>{const t=(0,n.useRef)();return(0,n.useEffect)((()=>()=>{t.current&&t.current.unloadAsync()}),[]),(0,n.useEffect)((()=>{if(e){let a;switch(e[0]){case"click":a=se;break;case"swoosh":a=oe;break;case"switch":a=le;break;case"expand":a=ce;break;default:return}t.current&&t.current.unloadAsync();(async()=>{const{sound:e}=await re.Sound.createAsync(a);t.current=e,await t.current.playAsync()})().catch((e=>{console.log("Failed to load and play the sound",e)}))}}),[e]),null},he=a(1872),ue=a(8507),ge=a(4692),me=a(7038);function pe(){(0,g.useFonts)({Sigmar:a(3021)});const[e,t]=(0,n.useState)(he),[i,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("stabilityai/stable-diffusion-xl-base-1.0"),[v,k]=(0,n.useState)("Avocado Armchair"),[x,A]=(0,n.useState)(null),[C,j]=(0,n.useState)(null),[P,T]=(0,n.useState)(!1),[F,R]=(0,n.useState)(!1),[D,z]=(0,n.useState)("Avacado Armchair"),[M,O]=(0,n.useState)("Avacado Armchair"),[E,H]=(0,n.useState)(!1),[L,G]=(0,n.useState)(""),[V,W]=(0,n.useState)(null),[q,_]=(0,n.useState)(!1),[N,K]=(0,n.useState)(""),[U,Z]=(0,n.useState)(null),[X,$]=(0,n.useState)(null),[Q,ee]=(0,n.useState)(!1),[ae,re]=(0,n.useState)([ge]),[se,oe]=(0,n.useState)(!1),[le,ce]=(0,n.useState)(!1),[pe,fe]=(0,n.useState)(null),[ye,we]=(0,n.useState)([null,0]),[ve,ke]=(0,n.useState)([]),[xe,Ae]=(0,n.useState)(!1),Se=(0,d.default)(),Ce=e=>{R(!1),b(e)},je=e=>{fe((e=>e+1)),we([e,pe])};(0,n.useEffect)((()=>{xe&&(e!==ge&&(ke((e=>[M,...e])),re((t=>[e,...t])),t(ge),O(""),z("")),Ae(!1))}));const Pe=()=>{_(!q),q?(A(L),je("switch")):(A(V),je("switch"))},Te=()=>{A(X)},Fe=()=>{j(`${v}-${i}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:be.titlecontainer,children:[(0,f.jsx)(de,{makeSound:ye}),(0,f.jsx)(ie,{setFlanPrompt:$,prompt:v,textInference:E,setTextInference:H,setLongPrompt:W,setShortPrompt:G,setInferredPrompt:A,promptLengthValue:q,setActivity:T,setModelError:R}),(0,f.jsx)(ne,{setInferrenceButton:Z,inferrenceButton:U,setModelMessage:K,imageSource:ae,parameters:C,modelID:w,prompt:v,styleSwitch:le,settingSwitch:se,guidance:m,steps:i,setActivity:T,setModelError:R,setReturnedPrompt:z,setInitialReturnedPrompt:O,setInferredImage:t}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:be.ScrollView,showsVerticalScrollIndicator:!1,children:Se.width>1e3?(0,f.jsxs)(s.default,{style:be.rowContainer,children:[Q&&(0,f.jsx)(c.default,{onPress:()=>{Ae(!0),je("swoosh")},style:({pressed:e})=>[be.swapButton,{top:e?Se.height/2-13:Se.height/2-15,left:e?Se.width/2-13:Se.width/2-15,width:e?52:60,height:e?52:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?me:ue,style:[be.changeButton,e?{width:52,height:52}:{width:60,height:60}]})}),(0,f.jsxs)(s.default,{style:be.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPlaySound:je,setPrompt:k,inferredPrompt:x})}),(0,f.jsxs)(s.default,{style:[be.rowContainer,{padding:0}],children:[(0,f.jsx)(I,{setPlaySound:je,passModelID:Ce}),(0,f.jsxs)(s.default,{style:be.columnContainer,children:[(0,f.jsx)(Y,{setPlaySound:je,switchToFlan:Te,setInferrenceButton:Z,activity:P,longPrompt:V,setTextInference:H,switchPromptFunction:Pe,promptLengthValue:q,setParametersWrapper:Fe}),F?(0,f.jsx)(l.default,{style:be.promptText,children:N}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsx)(te,{setPlaySound:je,isImagePickerVisible:Q,setImagePickerVisible:ee,window:Se}),Q&&(0,f.jsx)(J,{initialReturnedPrompt:M,setReturnedPrompt:z,promptList:ve,setPromptList:ke,window:Se,setPlaySound:je,imageSource:ae,setImageSource:re,styleSwitch:le,setStyleSwitch:ce,settingSwitch:se,setSettingSwitch:oe}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]}),(0,f.jsxs)(s.default,{style:be.rightColumnContainer,children:[(0,f.jsx)(s.default,{style:be.imageCard,children:e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:be.imageStyle})}),(0,f.jsx)(l.default,{style:be.promptText,children:D})]})]}):(0,f.jsxs)(s.default,{style:be.columnContainer,children:[(0,f.jsx)(S,{setPlaySound:je,setPrompt:k,inferredPrompt:x}),(0,f.jsx)(I,{setPlaySound:je,passModelID:Ce}),(0,f.jsx)(Y,{setPlaySound:je,switchToFlan:Te,setInferrenceButton:Z,activity:P,longPrompt:V,setTextInference:H,switchPromptFunction:Pe,promptLengthValue:q,setParametersWrapper:Fe}),F?(0,f.jsx)(l.default,{style:be.promptText,children:N}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(te,{setPlaySound:je,isImagePickerVisible:Q,setImagePickerVisible:ee,window:Se}),(0,f.jsx)(s.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:Q&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(J,{initialReturnedPrompt:M,setReturnedPrompt:z,promptList:ve,setPromptList:ke,window:Se,setPlaySound:je,imageSource:ae,setImageSource:re,styleSwitch:le,setStyleSwitch:ce,settingSwitch:se,setSettingSwitch:oe}),(0,f.jsx)(c.default,{onPress:()=>{Ae(!0),je("swoosh")},style:({pressed:e})=>[be.swapButtonColumn,{width:e?52:60,height:e?52:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?me:ue,style:[be.changeButton,e?{width:52,height:52}:{width:60,height:60}]})})]})}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),(0,f.jsx)(s.default,{style:be.imageCard,children:e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:be.imageStyle})}),(0,f.jsx)(l.default,{style:be.promptText,children:D})]})}),(0,f.jsx)(u.default,{style:"auto"})]})}const fe="#25292e",ye="#3a3c3f",we="#FFFFFF",be=r.default.create({titlecontainer:{backgroundColor:fe,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:fe,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:ye},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:ye},promptText:{color:we,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:fe,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,alignSelf:"center"},imageCard:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center",backgroundColor:fe,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),ve=document.getElementById("root");(0,i.createRoot)(ve).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(pe,{})})),{}))},3021:(e,t,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},5009:(e,t,a)=>{e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[968],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.3198e460.js.map
|
web-build/static/js/main.3198e460.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js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7D,EAAoBY,EAAEiD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","components/Sounds.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPlaySound, setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: 30,\r\n width: 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n zIndex: 1,\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n setPlaySound(\"click\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n \r\n}) {\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n const data = [\r\n {\r\n label: \"Stable Diffusion XL\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n {\r\n label: \"SPO Diffusion XL\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n \r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n \r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={data}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n setPlaceholderModelID(item.label);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 340,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React, { useEffect, useState } from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch, FlatList } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst addImage = require(\"../assets/add_image.png\");\nconst coloredDelete = require(\"../assets/delete_colored.png\");\nconst deleteButton = require(\"../assets/delete.png\");\n\nconst MyImagePicker = ({\n initialReturnedPrompt,\n setReturnedPrompt,\n promptList,\n setPromptList,\n window,\n setPlaySound,\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const [selectedImageIndex, setSelectedImageIndex] = useState(null);\n const [textHeight, setTextHeight] = useState(0);\n const [containerHeight, setContainerHeight] = useState(160);\n\n useEffect(() => {\n if(window.width < 1000) {\n if (selectedImageIndex !== null) {\n setContainerHeight(440 + textHeight);\n } else {\n setContainerHeight(160);\n }\n }\n }, [selectedImageIndex, textHeight]);\n\n const selectImage = async (index) => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(prevImageSource => {\n const newImageSource = [...prevImageSource];\n newImageSource[index] = result.assets[0].uri;\n newImageSource[index + 1] = addImage;\n return newImageSource;\n });\n setPromptList(prevPromptSource => {\n const prevPrompt = [...prevPromptSource];\n prevPrompt[index] = 'Uploaded Image';\n return prevPrompt;\n });\n }\n };\n\n \n\n useEffect(() => {\n if (selectedImageIndex !== null) {\n setReturnedPrompt(promptList[selectedImageIndex]);\n }else {\n setReturnedPrompt(initialReturnedPrompt);\n }\n }, [selectedImageIndex]);\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n setPlaySound(\"switch\")\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n setPlaySound(\"switch\")\n };\n\n const deleteFromImageArray = (index) => {\n setImageSource(prevImageSource => {\n setPlaySound(\"click\")\n if (prevImageSource.length > 1) {\n return prevImageSource.filter((_, i) => i !== index);\n }\n return [addImage];\n });\n setReturnedPrompt(promptList[index+1]);\n setPromptList(prevPromptSource => {\n if (prevPromptSource.length > 1) {\n return prevPromptSource.filter((_, i) => i !== index);\n }\n return [\"\"];\n });\n \n};\n\n return (\n <> \n <View style={styles.switchesRowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View> \n <View style={styles.flatListContainer}> \n <FlatList\n data={imageSource}\n numColumns={window.width < 1000 ? 2 : 3}\n keyExtractor={(item, index) => index.toString()}\n renderItem={({ item: source, index }) => (\n <View style={[styles.imageColumnContainer, {width: selectedImageIndex === index ? 330 : 160,\n height: window.width < 1000 && selectedImageIndex == index ? containerHeight : selectedImageIndex === index ? 440 : 160}]}>\n <View style={[styles.columnContainer,]}>\n <Pressable\n onPress={() => {\n setPlaySound(\"click\")\n if(selectedImageIndex === index) {\n setSelectedImageIndex(null);\n return;\n }\n setSelectedImageIndex(index);\n \n }}\n style={[styles.imageCard, { alignItems: \"flex-start\", justifyContent: \"flex-start\",\n width: selectedImageIndex === index ? 320 : 100,\n height: selectedImageIndex === index ? 400 : 110,\n borderRadius: selectedImageIndex === index ? '10%' : '0%',}]} \n >\n <Image\n source={\n typeof source === \"number\" ? source : { uri: source }\n }\n style={[\n \n {\n width: selectedImageIndex === index ? 320 : 100,\n height: selectedImageIndex === index ? 400 : 110,\n borderRadius: selectedImageIndex === index ? '10%' : '0%',\n }\n ]}\n />\n </Pressable>\n </View>\n <Pressable\n onPress={() => {\n deleteFromImageArray(index);\n }}\n style={{position: \"absolute\", top: 0, right: selectedImageIndex === index ? 0 : 15}} \n >\n {({ pressed }) => (\n <Image\n source={pressed ? coloredDelete : deleteButton}\n style={[ styles.changeButton]}\n />)}\n </Pressable> \n {window.width < 1000 && selectedImageIndex === index && index !== imageSource.length - 1 &&\n <Text style={[styles.promptText, {flexShrink: 1}]} numberOfLines={1000}\n onLayout={(event) => {\n const {height} = event.nativeEvent.layout;\n setTextHeight(height);\n }}\n >\n {promptList[index]}</Text>\n } \n {index === imageSource.length - 1 && \n <Pressable style={[styles.selectButton]} onPress={() =>{setPlaySound(\"click\"); selectImage(index)}}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>}\n </View>\n )}\n />\n </View>\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n flatListContainer: {\n width: 'auto', \n height: 'auto', \n },\n switchesRowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 300,\n height: 50,\n marginBottom: 20,\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n imageColumnContainer: {\n marginTop: 10,\n alignItems: \"center\",\n flexDirection: \"column\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n marginTop: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n imageCard: {\n backgroundColor: colors.buttonBackground, \n elevation: 3, \n shadowColor: \"#000\",\n shadowOffset: { width: 0, height: 2 }, \n shadowOpacity: 0.25, \n shadowRadius: 3.84, \n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", \n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React, { useState } from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\nconst coloredJoin = require(\"../assets/join_colored.png\");\nconst joinButton = require(\"../assets/join.png\");\n\nconst Buttons = ({\n setPlaySound,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n const [comboButtonPressed, setComboButtonPressed] = useState(false);\n\n const setThePromptValue = () => {\n setComboButtonPressed(false);\n switchPromptFunction();\n }\n\n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={setThePromptValue}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setComboButtonPressed(true);\n setPlaySound(\"click\");\n }}\n >\n <Image\n source={comboButtonPressed ? coloredJoin : joinButton}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ setPlaySound, isImagePickerVisible, setImagePickerVisible, window }) => {\n\n const rightImage = require(\"../assets/right.png\");\n const downImage = require(\"../assets/down.png\");\n\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"20%\",\n marginBottom: 0,\n },\n ]}\n onPress={() => {setPlaySound(\"expand\"); setImagePickerVisible(!isImagePickerVisible)}}\n >\n {isImagePickerVisible ? (\n <Image\n source={downImage}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={rightImage}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n const mistrialPrompt = `I'm giving you a seed string. Return the seed string as a Prompt for a Stable \\\n Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token \\\n length for Stable Diffusion Models do not apply. Make it descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt\", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: mistrialPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n console.log(generatedText);\n \n const longPromptHolder = generatedText\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + generatedText.substring(150);\n \n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(alteredPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(alteredPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInitialReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n useEffect(() => {\n const modelData = 'SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep';\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n model: modelData\n })\n };\n fetch('/core', requestOptions)\n}, []);\n \n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setInitialReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (modelID.includes('pix2pix')) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }else {\n setInitialReturnedPrompt(prompt);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useEffect, useRef } from 'react';\nimport { Audio } from 'expo-av';\n\nconst click = require('../assets/click.wav');\nconst swoosh = require('../assets/swoosh.mp3');\nconst switchSound = require('../assets/switch.wav');\nconst expand = require('../assets/expand.wav');\n\nconst SoundPlayer = ({ makeSound}) => {\n const soundRef = useRef();\n\n useEffect(() => {\n return () => {\n // Unload the sound when the component unmounts\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n };\n }, []);\n\n useEffect(() => {\n if (makeSound) {\n let soundFile;\n switch (makeSound[0]) {\n case 'click':\n soundFile = click;\n break;\n case 'swoosh':\n soundFile = swoosh;\n break;\n case 'switch':\n soundFile = switchSound;\n break;\n case 'expand':\n soundFile = expand;\n break;\n default:\n return;\n }\n \n // Unload the previous sound if it's still loaded\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n\n const loadAndPlaySound = async () => {\n const { sound } = await Audio.Sound.createAsync(soundFile);\n soundRef.current = sound;\n await soundRef.current.playAsync();\n };\n\n loadAndPlaySound().catch((error) => {\n console.log('Failed to load and play the sound', error);\n });\n }\n }, [makeSound]);\n\n return null;\n};\n\nexport default SoundPlayer;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\nimport SoundPlayer from \"./components/Sounds\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\nconst circleImage = require(\"./assets/circle.png\");\r\nconst addImage = require(\"./assets/add_image.png\");\r\nconst rotatedCircle = require(\"./assets/rotated_circle.png\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"stabilityai/stable-diffusion-xl-base-1.0\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avacado Armchair\")\r\n const [initialReturnedPrompt, setInitialReturnedPrompt] = useState('Avacado Armchair')\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState([addImage]);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n const [soundIncrement, setSoundIncrement] = useState(null);\r\n const [makeSound, setMakeSound] = useState([null,0]);\r\n const [promptList, setPromptList] = useState([]);\r\n const [swapImage, setSwapImage] = useState(false);\r\n \r\n\r\n const window = useWindowDimensions();\r\n \r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const setPlaySound = (sound) => {\r\n setSoundIncrement(prevSoundIncrement => prevSoundIncrement + 1);\r\n setMakeSound([sound, soundIncrement]);\r\n };\r\n\r\n useEffect(() => {\r\n if(swapImage){\r\n if(inferredImage !== addImage){\r\n setPromptList(prevPromptList => [initialReturnedPrompt,...prevPromptList]);\r\n setImageSource(prevImageSource => [inferredImage, ...prevImageSource ]); \r\n setInferredImage(addImage);\r\n setInitialReturnedPrompt(\"\");\r\n setReturnedPrompt('')\r\n }\r\n setSwapImage(false);\r\n }\r\n }),[swapImage];\r\n\r\n\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n setPlaySound(\"switch\");\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n setPlaySound(\"switch\");\r\n }\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <SoundPlayer makeSound={makeSound}/>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInitialReturnedPrompt={setInitialReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n setSwapImage(true);\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButton,\r\n {\r\n top: pressed ? window.height / 2 - 13 : window.height / 2 - 15,\r\n left: pressed ? window.width / 2 - 13 : window.width / 2 - 15,\r\n width: pressed ? 52 : 60,\r\n height: pressed ? 52 : 60,\r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 52, height: 52 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n \r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n initialReturnedPrompt={initialReturnedPrompt}\r\n setReturnedPrompt={setReturnedPrompt}\r\n promptList={promptList}\r\n setPromptList={setPromptList}\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n \r\n </View>\r\n \r\n <View style={styles.rightColumnContainer}>\r\n <View style={styles.imageCard}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n </View>\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n <View style={{flex:1, alignItems:\"center\", justifyContent:\"center\"}}>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n initialReturnedPrompt={initialReturnedPrompt}\r\n setReturnedPrompt={setReturnedPrompt}\r\n promptList={promptList}\r\n setPromptList={setPromptList}\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n setSwapImage(true);\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButtonColumn,\r\n {\r\n \r\n width: pressed ? 52 : 60,\r\n height: pressed ? 52 : 60,\r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 52, height: 52 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n </>\r\n )}\r\n </View>\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n <View style={styles.imageCard}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n </View>\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n \r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n \r\n alignSelf: \"center\", \r\n },\r\n imageCard:{\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\", \r\n backgroundColor: colors.backgroundColor, \r\n elevation: 3, \r\n shadowColor: \"#000\",\r\n shadowOffset: { width: 0, height: 2 }, \r\n shadowOpacity: 0.25, \r\n shadowRadius: 3.84, \r\n }\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [968], () => (__webpack_require__(9618)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPlaySound","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","zIndex","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","placeholderModelID","setPlaceholderModelID","useState","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","addImage","coloredDelete","deleteButton","selectButtonBackground","white","flatListContainer","switchesRowContainer","marginBottom","overflow","imageColumnContainer","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","imageCard","buttonBackground","shadowColor","shadowOffset","shadowOpacity","shadowRadius","changeButton","MyImagePicker","initialReturnedPrompt","setReturnedPrompt","promptList","setPromptList","window","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","selectedImageIndex","setSelectedImageIndex","textHeight","setTextHeight","containerHeight","setContainerHeight","_Fragment","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","FlatList","numColumns","keyExtractor","toString","renderItem","uri","prevImageSource","length","filter","_","i","prevPromptSource","deleteFromImageArray","top","right","flexShrink","numberOfLines","onLayout","event","nativeEvent","layout","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","newImageSource","assets","prevPrompt","selectImage","coloredJoin","joinButton","rowContainer","display","button","activityIndicator","marginLeft","Buttons","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","comboButtonPressed","setComboButtonPressed","ActivityIndicator","size","setThePromptValue","expandButton","expandImage","Expand","isImagePickerVisible","setImagePickerVisible","rightImage","downImage","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","mistrialPrompt","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","generatedText","lPrompt","substring","split","slice","replace","catch","error","Inference","inferrenceButton","setModelMessage","parameters","guidance","steps","setInitialReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","requestOptions","model","scaledIP","none","key2","up","block_0","down","block_2","image","scale","output","includes","ipScaleHolder","key1","click","swoosh","switchSound","expand","SoundPlayer","makeSound","soundRef","unloadAsync","soundFile","sound","Audio","createAsync","playAsync","loadAndPlaySound","assetImage","circleImage","rotatedCircle","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","soundIncrement","setSoundIncrement","setMakeSound","swapImage","setSwapImage","passModelIDWrapper","prevSoundIncrement","prevPromptList","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","bottom","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.3dd69b84.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={9618:(e,t,a)=>{a.r(t);var i=a(4657),n=a(6665),r=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),u=a(3117),g=a(3374),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:t}){const[a,i]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:t=>{i(t),e(t)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),t(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach((function(t){(0,v.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function S({setPlaySound:e,setPrompt:t,inferredPrompt:i}){const[r,o]=n.useState(""),{width:l}=(0,d.default)(),u=x(x({},T.input),{},{width:l>500?500:l-80});(0,n.useEffect)((()=>{i&&(o(i),t(i))}),[i]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:u,placeholder:"",multiline:!0,textAlign:"center",onChangeText:e=>{o(e),t(e)},value:r,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:30,width:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}],onPress:()=>{o(""),t(""),e("click")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",P="#000000",T=r.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:P,fontFamily:"Sigmar",marginRight:10}});var F=a(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new F.default.Value(0)))).current,{width:t}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,t)=>{const a=F.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=F.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map(((e,t)=>F.default.sequence([F.default.delay(e),a,i]))),l=F.default.sequence(o);return F.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:D.containerbreathing,children:(0,f.jsxs)(l.default,{style:D.heading,children:[(0,f.jsx)(F.default.Text,{style:[D.char,a[0]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[1]],children:"I"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[2]],children:"X"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[3]],children:"E"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[4]],children:"L"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[5]],children:" "}),(0,f.jsx)(F.default.Text,{style:[D.char,a[6]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[7]],children:"R"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[8]],children:"O"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[9]],children:"M"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[10]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[11]],children:"T"})]})})}const D=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var I=a(5781);function z({passModelID:e}){const[t,a]=(0,n.useState)("Model ID");return(0,f.jsx)(I.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:[{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"SPO Diffusion XL",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:t,onChange:t=>{e(t.value),a(t.label)}})}const R="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:300,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var E=a(4037),H=a(1218),L=a(7630),G=a(9050);const V=a(4692),W=a(8945),q=a(3558),_="#25292e",N="#3a3c3f",J="#FFFFFF",K=r.default.create({image:{marginTop:20},switchesRowContainer:{backgroundColor:_,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{height:200,alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:0,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:N},promptText:{color:J,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Z=({window:e,setPlaySound:t,imageSource:a,setImageSource:i,styleSwitch:r,setStyleSwitch:o,settingSwitch:d,setSettingSwitch:u})=>{const[g,m]=(0,n.useState)(null),[p,y]=(0,n.useState)(q);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(s.default,{style:K.switchesRowContainer,children:[(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:r?"#9DA58D":"#FFFFFF"},K.sliderText],children:"Style"}),(0,f.jsx)(E.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{o(!r),t("switch")},value:r})]}),(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:d?"#9FA8DA":"#FFFFFF"},K.sliderText],children:"Layout"}),(0,f.jsx)(E.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{u(!d),t("switch")},value:d})]})]}),(0,f.jsx)(H.default,{data:a,numColumns:e.width<1e3?1:3,keyExtractor:(e,t)=>t.toString(),renderItem:({item:e,index:a})=>(0,f.jsxs)(s.default,{style:[K.imageColumnContainer,{height:g===a?400:200}],children:[(0,f.jsx)(s.default,{style:[K.columnContainer],children:(0,f.jsx)(c.default,{onPress:()=>{t("click"),m(g!==a?a:null)},style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:[K.image,{width:g===a?400:150,height:g===a?400:150,margin:10}]})})}),(0,f.jsx)(c.default,{onPress:()=>{(e=>{i((a=>(t("click"),a.length>1?a.filter(((t,a)=>a!==e)):[V])))})(a)},style:{position:"absolute",top:0,right:0},children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?W:q,style:[K.changeButton]})}),(0,f.jsx)(c.default,{style:[K.selectButton],onPress:()=>{t("click"),(async e=>{const{status:t}=await L.requestMediaLibraryPermissionsAsync();if("granted"!==t)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const a=await L.launchImageLibraryAsync({mediaTypes:G.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});a.cancelled||i((t=>{const i=[...t];return i[e]=a.assets[0].uri,i}))})(a)},children:(0,f.jsx)(l.default,{style:K.promptText,children:"Select"})})]})})]})};var U=a(530);const X=a(1284),$=a(4663),Q="#25292e",Y="#FFFFFF",ee=r.default.create({rowContainer:{backgroundColor:Q,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:Y,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),te=({setPlaySound:e,switchToFlan:t,setInferrenceButton:a,activity:i,longPrompt:r,setTextInference:o,switchPromptFunction:d,promptLengthValue:u,setParametersWrapper:g})=>{const[m,p]=(0,n.useState)(!1);return(0,f.jsx)(f.Fragment,{children:i?(0,f.jsx)(U.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[r?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[ee.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:ee.columnContainer,children:[(0,f.jsxs)(s.default,{style:[ee.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:m||u?"#FFFFFF":"#9FA8DA",marginRight:15},ee.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:m?"#FFFFFF":u?"#9FA8DA":"#FFFFFF",marginRight:15},ee.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[ee.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(E.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{p(!1),d()},value:u}),(0,f.jsx)(c.default,{onPress:()=>{t(),p(!0),e("click")},children:(0,f.jsx)(h.default,{source:m?X:$,style:[{marginRight:30},ee.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},ee.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:ee.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{a(!0),g(),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},ee.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:ee.promptText,children:e?"INFERRED!":"Inference"})})]})})},ae=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),ie=({setPlaySound:e,isImagePickerVisible:t,setImagePickerVisible:i,window:n})=>{const r=a(1297),s=a(8707);return(0,f.jsx)(c.default,{style:[ae.expandButton,{alignSelf:"flex-start",marginLeft:(n.width,"20%"),marginBottom:0}],onPress:()=>{e("expand"),i(!t)},children:t?(0,f.jsx)(h.default,{source:s,style:ae.expandImage}):(0,f.jsx)(h.default,{source:r,style:ae.expandImage})})},ne=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),re=({setFlanPrompt:e,prompt:t,textInference:a,setTextInference:i,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(a){c(!0),d(!1);let a="";if("Avocado Armchair"===t||""===t){const e=Math.floor(Math.random()*ne.seeds.length);if(e>ne.seeds.length-13)return r(ne.seeds[e]),s(ne.seeds[e]),o(ne.seeds[e]),void c(!1);a=ne.seeds[e]}else a=t;const i=`I'm giving you a seed string. Return the seed string as a Prompt for a Stable Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token length for Stable Diffusion Models do not apply. Make it descriptive and creative. Here is the seed string. : ${a}`;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:i,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((t=>{const i=t[0].generated_text;console.log(i);const n=i.substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+i.substring(150);e(t[0].flan),r(n),s(a),o(l?n:a),c(!1)})).catch((e=>console.error("Error:",e)))}i(!1)}),[a])},se=({setInferrenceButton:e,inferrenceButton:t,setModelMessage:a,imageSource:i,parameters:r,modelID:s,prompt:o,styleSwitch:l,settingSwitch:c,guidance:d,steps:h,setActivity:u,setModelError:g,setReturnedPrompt:m,setInferredImage:p})=>{const[f,y]=(0,n.useState)("");(0,n.useEffect)((()=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"})};fetch("/core",e)}),[]),(0,n.useEffect)((()=>{if(f){let t={none:{key2:[0,0]}};l&&(t={up:{block_0:[0,1,0]}}),c&&(t={down:{block_2:[0,1]}}),l&&c&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(t),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:f,scale:t})}).then((e=>e.json())).then((t=>{u(!1),e(!1),m(o),y(null),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[f]),(0,n.useEffect)((()=>{if(t)if(console.log(r),u(!0),s.includes("pix2pix"))a("Inference API img2img NotAvailable"),u(!1),g(!0),e(!1);else{const t={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:"test",scale:t})}).then((e=>e.json())).then((t=>{"Model Waking"==t.output&&(a("Model Waking"),u(!1),g(!0),e(!1)),e(!1),u(!1),m(o),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[t])};var oe=a(4432);const le=a(4283),ce=a(2968),de=a(8641),he=a(5009),ue=({playSound:e,makeSound:t})=>{const a=(0,n.useRef)();return(0,n.useEffect)((()=>()=>{a.current&&a.current.unloadAsync()}),[]),(0,n.useEffect)((()=>{if(e){let t;switch(e){case"click":t=le;break;case"swoosh":t=ce;break;case"switch":t=de;break;case"expand":t=he;break;default:return}console.log("playsound"),a.current&&a.current.unloadAsync();(async()=>{const{sound:e}=await oe.Sound.createAsync(t);a.current=e,await a.current.playAsync()})().catch((e=>{console.log("Failed to load and play the sound",e)}))}}),[t]),null},ge=a(1872),me=a(8507),pe=a(4692),fe=a(7038);function ye(){(0,g.useFonts)({Sigmar:a(3021)});const[e,t]=(0,n.useState)(ge),[i,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("stabilityai/stable-diffusion-xl-base-1.0"),[v,k]=(0,n.useState)("Avocado Armchair"),[A,x]=(0,n.useState)(null),[j,C]=(0,n.useState)(null),[P,T]=(0,n.useState)(!1),[F,D]=(0,n.useState)(!1),[I,R]=(0,n.useState)("Avocado Armchair"),[M,O]=(0,n.useState)(!1),[E,H]=(0,n.useState)(""),[L,G]=(0,n.useState)(null),[V,W]=(0,n.useState)(!1),[q,_]=(0,n.useState)(""),[N,J]=(0,n.useState)(null),[K,U]=(0,n.useState)(null),[X,$]=(0,n.useState)(!1),[Q,Y]=(0,n.useState)([pe]),[ee,ae]=(0,n.useState)(!1),[ne,oe]=(0,n.useState)(!1),[le,ce]=(0,n.useState)(null),[de,he]=(0,n.useState)(0),ye=(0,d.default)(),we=e=>{D(!1),b(e)},be=e=>{ce(e),he((e=>e+1))},ve=()=>{Y((t=>[...t,e])),t(pe)};(0,n.useEffect)((()=>{if(Q.length>1&&Q.includes(pe)){const e=Q.filter((e=>e!==pe));Y(e)}}),[Q]);const Ae=()=>{W(!V),V?(x(E),be("switch")):(x(L),be("switch"))},xe=()=>{x(K)},Se=()=>{C(`${v}-${i}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:ke.titlecontainer,children:[(0,f.jsx)(ue,{playSound:le,makeSound:de}),(0,f.jsx)(re,{setFlanPrompt:U,prompt:v,textInference:M,setTextInference:O,setLongPrompt:G,setShortPrompt:H,setInferredPrompt:x,promptLengthValue:V,setActivity:T,setModelError:D}),(0,f.jsx)(se,{setInferrenceButton:J,inferrenceButton:N,setModelMessage:_,imageSource:Q,parameters:j,modelID:w,prompt:v,styleSwitch:ne,settingSwitch:ee,guidance:m,steps:i,setActivity:T,setModelError:D,setReturnedPrompt:R,setInferredImage:t}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:ke.ScrollView,showsVerticalScrollIndicator:!1,children:ye.width>1e3?(0,f.jsxs)(s.default,{style:ke.rowContainer,children:[X&&(0,f.jsx)(c.default,{onPress:()=>{ve(),be("swoosh")},style:({pressed:e})=>[ke.swapButton,{top:ye.height/2-15,left:ye.width/2-15,width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?fe:me,style:[ke.changeButton,e?{width:55,height:55}:{width:60,height:60}]})}),(0,f.jsxs)(s.default,{style:ke.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPlaySound:be,setPrompt:k,inferredPrompt:A})}),(0,f.jsxs)(s.default,{style:[ke.rowContainer,{padding:0}],children:[(0,f.jsx)(z,{setPlaySound:be,passModelID:we}),(0,f.jsxs)(s.default,{style:ke.columnContainer,children:[(0,f.jsx)(te,{setPlaySound:be,switchToFlan:xe,setInferrenceButton:J,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:Ae,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:ke.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsx)(ie,{setPlaySound:be,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),X&&(0,f.jsx)(Z,{window:ye,setPlaySound:be,imageSource:Q,setImageSource:Y,styleSwitch:ne,setStyleSwitch:oe,settingSwitch:ee,setSettingSwitch:ae}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]}),(0,f.jsxs)(s.default,{style:ke.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:ke.imageStyle}),(0,f.jsx)(l.default,{style:ke.promptText,children:I})]})]}):(0,f.jsxs)(s.default,{style:ke.columnContainer,children:[(0,f.jsx)(S,{setPlaySound:be,setPrompt:k,inferredPrompt:A}),(0,f.jsx)(z,{setPlaySound:be,passModelID:we}),(0,f.jsx)(te,{setPlaySound:be,switchToFlan:xe,setInferrenceButton:J,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:Ae,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:ke.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(ie,{setPlaySound:be,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),(0,f.jsx)(s.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:X&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z,{window:ye,setPlaySound:be,imageSource:Q,setImageSource:Y,styleSwitch:ne,setStyleSwitch:oe,settingSwitch:ee,setSettingSwitch:ae}),(0,f.jsx)(c.default,{onPress:()=>{ve(),be("swoosh")},style:({pressed:e})=>[ke.swapButtonColumn,{width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?fe:me,style:[ke.changeButton,e?{width:55,height:55}:{width:60,height:60}]})})]})}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:ke.imageStyle}),(0,f.jsx)(l.default,{style:ke.promptText,children:I})]})}),(0,f.jsx)(u.default,{style:"auto"})]})}const we="#25292e",be="#3a3c3f",ve="#FFFFFF",ke=r.default.create({titlecontainer:{backgroundColor:we,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:we,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:be},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:be},promptText:{color:ve,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:we,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),Ae=document.getElementById("root");(0,i.createRoot)(Ae).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ye,{})})),{}))},3021:(e,t,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},5009:(e,t,a)=>{e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[968],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.3dd69b84.js.map
|
web-build/static/js/main.3dd69b84.js.map
ADDED
@@ -0,0 +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AQvD,EAClC,CAEA,IADGqD,GAA4BA,EAA2BvR,GACrD6D,EAAIkL,EAASrL,OAAQG,IACzBwN,EAAUtC,EAASlL,GAChBqK,EAAoBgC,EAAEkB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOnD,EAAoBY,EAAEtK,EAAO,EAGjCmN,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmBpT,QAAQ+S,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsB7D,EAAoBY,OAAET,EAAW,CAAC,MAAM,IAAOH,EAAoB,QAC7F6D,EAAsB7D,EAAoBY,EAAEiD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","components/Sounds.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPlaySound, setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: 30,\r\n width: 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n zIndex: 1,\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n setPlaySound(\"click\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n \r\n}) {\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n const data = [\r\n {\r\n label: \"Stable Diffusion XL\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n {\r\n label: \"SPO Diffusion XL\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n \r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n \r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={data}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n setPlaceholderModelID(item.label);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React, { useState } from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch, FlatList } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst addImage = require(\"../assets/add_image.png\");\nconst coloredDelete = require(\"../assets/delete_colored.png\");\nconst deleteButton = require(\"../assets/delete.png\");\n\nconst MyImagePicker = ({\n window,\n setPlaySound,\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const [selectedImageIndex, setSelectedImageIndex] = useState(null);\n const [deletePressedImage, setDeletePressedImage] = useState(deleteButton);\n\n const selectImage = async (index) => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(prevImageSource => {\n const newImageSource = [...prevImageSource];\n newImageSource[index] = result.assets[0].uri;\n return newImageSource;\n });\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n setPlaySound(\"switch\")\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n setPlaySound(\"switch\")\n };\n\n const deleteFromImageArray = (index) => {\n setImageSource(prevImageSource => {\n setPlaySound(\"click\")\n if (prevImageSource.length > 1) {\n return prevImageSource.filter((_, i) => i !== index);\n }\n return [addImage];\n });\n};\n\n return (\n <> \n <View style={styles.switchesRowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View> \n <FlatList\n data={imageSource}\n numColumns={window.width < 1000 ? 1 : 3}\n keyExtractor={(item, index) => index.toString()}\n renderItem={({ item: source, index }) => (\n <View style={[styles.imageColumnContainer, {height: selectedImageIndex === index ? 400 : 200}]}>\n <View style={[styles.columnContainer,]}>\n <Pressable\n onPress={() => {\n setPlaySound(\"click\")\n if(selectedImageIndex === index) {\n setSelectedImageIndex(null);\n return;\n }\n setSelectedImageIndex(index);\n \n }}\n style={{flex: 1, alignItems: \"center\", justifyContent: \"center\"}} \n >\n <Image\n source={\n typeof source === \"number\" ? source : { uri: source }\n }\n style={[\n styles.image,\n {width: selectedImageIndex === index ? 400 : 150, height: selectedImageIndex === index ? 400 : 150,\n margin: 10,\n \n }\n ]}\n />\n </Pressable>\n </View>\n <Pressable\n onPress={() => {\n deleteFromImageArray(index);\n }}\n style={{position: \"absolute\", top: 0, right: 0}} \n >\n {({ pressed }) => (\n <Image\n source={pressed ? coloredDelete : deleteButton}\n style={[ styles.changeButton]}\n />)}\n </Pressable> \n <Pressable style={[styles.selectButton]} onPress={() =>{setPlaySound(\"click\"); selectImage(index)}}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n )}\n />\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n image: {\n marginTop: 20,\n },\n switchesRowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 300,\n height: 50,\n marginBottom: 20,\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n imageColumnContainer: {\n height: 200,\n alignItems: \"center\",\n flexDirection: \"column\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 0,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n \n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React, { useState } from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\nconst coloredJoin = require(\"../assets/join_colored.png\");\nconst joinButton = require(\"../assets/join.png\");\n\nconst Buttons = ({\n setPlaySound,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n const [comboButtonPressed, setComboButtonPressed] = useState(false);\n\n const setThePromptValue = () => {\n setComboButtonPressed(false);\n switchPromptFunction();\n }\n\n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={setThePromptValue}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setComboButtonPressed(true);\n setPlaySound(\"click\");\n }}\n >\n <Image\n source={comboButtonPressed ? coloredJoin : joinButton}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ setPlaySound, isImagePickerVisible, setImagePickerVisible, window }) => {\n\n const rightImage = require(\"../assets/right.png\");\n const downImage = require(\"../assets/down.png\");\n\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"20%\",\n marginBottom: 0,\n },\n ]}\n onPress={() => {setPlaySound(\"expand\"); setImagePickerVisible(!isImagePickerVisible)}}\n >\n {isImagePickerVisible ? (\n <Image\n source={downImage}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={rightImage}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n const mistrialPrompt = `I'm giving you a seed string. Return the seed string as a Prompt for a Stable \\\n Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token \\\n length for Stable Diffusion Models do not apply. Make it descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt\", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: mistrialPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n console.log(generatedText);\n \n const longPromptHolder = generatedText\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + generatedText.substring(150);\n \n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(alteredPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(alteredPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n useEffect(() => {\n const modelData = 'SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep';\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n model: modelData\n })\n };\n fetch('/core', requestOptions)\n}, []);\n \n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (modelID.includes('pix2pix')) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useEffect, useRef } from 'react';\nimport { Audio } from 'expo-av';\n\nconst click = require('../assets/click.wav');\nconst swoosh = require('../assets/swoosh.mp3');\nconst switchSound = require('../assets/switch.wav');\nconst expand = require('../assets/expand.wav');\n\nconst SoundPlayer = ({ playSound, makeSound}) => {\n const soundRef = useRef();\n\n useEffect(() => {\n return () => {\n // Unload the sound when the component unmounts\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n };\n }, []);\n\n useEffect(() => {\n if (playSound) {\n let soundFile;\n switch (playSound) {\n case 'click':\n soundFile = click;\n break;\n case 'swoosh':\n soundFile = swoosh;\n break;\n case 'switch':\n soundFile = switchSound;\n break;\n case 'expand':\n soundFile = expand;\n break;\n default:\n return;\n }\n console.log('playsound')\n // Unload the previous sound if it's still loaded\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n\n const loadAndPlaySound = async () => {\n const { sound } = await Audio.Sound.createAsync(soundFile);\n soundRef.current = sound;\n await soundRef.current.playAsync();\n };\n\n loadAndPlaySound().catch((error) => {\n console.log('Failed to load and play the sound', error);\n });\n }\n }, [makeSound]);\n\n return null;\n};\n\nexport default SoundPlayer;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\nimport SoundPlayer from \"./components/Sounds\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\nconst circleImage = require(\"./assets/circle.png\");\r\nconst addImage = require(\"./assets/add_image.png\");\r\nconst rotatedCircle = require(\"./assets/rotated_circle.png\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"stabilityai/stable-diffusion-xl-base-1.0\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState([addImage]);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n const [playSound, setSoundPlaying] = useState(null);\r\n const [makeSound, setMakeSound] = useState(0);\r\n \r\n\r\n const window = useWindowDimensions();\r\n \r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const setPlaySound = (sound) => {\r\n setSoundPlaying(sound);\r\n setMakeSound(prevMakeSound => prevMakeSound + 1);\r\n };\r\n\r\n const swapImage = () => { \r\n setImageSource(prevImageSource => [...prevImageSource, inferredImage]); \r\n setInferredImage(addImage);\r\n };\r\n\r\n useEffect(() => {\r\n if (imageSource.length > 1 && imageSource.includes(addImage)) {\r\n const newImageSource = imageSource.filter((image) => image !== addImage);\r\n setImageSource(newImageSource);\r\n }\r\n }, [imageSource]);\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n setPlaySound(\"switch\");\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n setPlaySound(\"switch\");\r\n }\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <SoundPlayer playSound={playSound} makeSound={makeSound}/>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n \r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n \r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n <View style={{flex:1, alignItems:\"center\", justifyContent:\"center\"}}>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButtonColumn,\r\n {\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n \r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n </>\r\n )}\r\n </View>\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n \r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [968], () => (__webpack_require__(9618)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPlaySound","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","zIndex","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","placeholderModelID","setPlaceholderModelID","useState","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","addImage","coloredDelete","deleteButton","image","switchesRowContainer","marginBottom","overflow","imageColumnContainer","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","changeButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","MyImagePicker","window","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","selectedImageIndex","setSelectedImageIndex","deletePressedImage","setDeletePressedImage","_Fragment","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","FlatList","numColumns","keyExtractor","toString","renderItem","uri","prevImageSource","length","filter","_","i","deleteFromImageArray","top","right","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","newImageSource","assets","selectImage","coloredJoin","joinButton","rowContainer","display","button","activityIndicator","marginLeft","Buttons","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","comboButtonPressed","setComboButtonPressed","ActivityIndicator","size","setThePromptValue","expandButton","expandImage","Expand","isImagePickerVisible","setImagePickerVisible","rightImage","downImage","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","mistrialPrompt","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","generatedText","lPrompt","substring","split","slice","replace","catch","error","Inference","inferrenceButton","setModelMessage","parameters","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","requestOptions","model","scaledIP","none","key2","up","block_0","down","block_2","scale","output","includes","ipScaleHolder","key1","click","swoosh","switchSound","expand","SoundPlayer","playSound","makeSound","soundRef","unloadAsync","soundFile","sound","Audio","createAsync","playAsync","loadAndPlaySound","assetImage","circleImage","rotatedCircle","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","setSoundPlaying","setMakeSound","passModelIDWrapper","prevMakeSound","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","bottom","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.4ac7cb0c.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={470:(e,t,i)=>{i.r(t);var a=i(4657),r=i(6665),n=i(3668),s=i(3929),o=i(368),l=i(6283),c=i(2996),d=i(558),u=i(484),h=i(3117),g=i(4547),m=i(7851),p=i.n(m),f=i(397);function w({setSteps:e,setGuidance:t}){const[i,a]=r.useState(30),[n,o]=r.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:i,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:t=>{a(t),e(t)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:i}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:n,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),t(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:n})]})}const y="#FFFFFF",b=n.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:y,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:y,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=i(4705),k=i(6773);function x(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function S(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?x(Object(i),!0).forEach((function(t){(0,v.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):x(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function j({setPrompt:e,inferredPrompt:t}){const[a,n]=r.useState(""),{width:o}=(0,d.default)(),l=S(S({},P.input),{},{width:o>500?500:o-80});(0,r.useEffect)((()=>{t&&(n(t),e(t))}),[t]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:l,placeholder:"",multiline:!0,textAlign:"center",onChangeText:t=>{n(t),e(t)},value:a,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:e?25:30,width:e?25:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center"}],onPress:()=>{n(""),e("")},children:(0,f.jsx)(u.default,{source:i(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const A="#FFFFFF",F="#B58392",C="#000000",P=n.default.create({input:{backgroundColor:A,borderColor:F,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:C,fontFamily:"Sigmar",marginRight:10}});var D=i(7202);function T(){const e=(0,r.useRef)([...Array(12)].map((()=>new D.default.Value(0)))).current,{width:t}=(0,d.default)();(0,r.useEffect)((()=>{e.map(((e,t)=>{const i=D.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),a=D.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),r=300,n=450,s=600,o=[t*r,t*n,(11-t)*r,t*s,(11-t)*n,t*r,(11-t)*s,t*n,(11-t)*r,(11-t)*n,t*s,(11-t)*s].map(((e,t)=>D.default.sequence([D.default.delay(e),i,a]))),l=D.default.sequence(o);return D.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const i=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:R.containerbreathing,children:(0,f.jsxs)(l.default,{style:R.heading,children:[(0,f.jsx)(D.default.Text,{style:[R.char,i[0]],children:"P"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[1]],children:"I"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[2]],children:"X"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[3]],children:"E"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[4]],children:"L"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[5]],children:" "}),(0,f.jsx)(D.default.Text,{style:[R.char,i[6]],children:"P"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[7]],children:"R"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[8]],children:"O"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[9]],children:"M"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[10]],children:"P"}),(0,f.jsx)(D.default.Text,{style:[R.char,i[11]],children:"T"})]})})}const R=n.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var M=i(5781);function I({passModelID:e,isImagePickerVisible:t,parameters:i}){const[a,n]=(0,r.useState)([{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Stable Diffusion Refiner",value:"stabilityai/stable-diffusion-xl-refiner-1.0"}]),[s,o]=(0,r.useState)("Model ID");return(0,r.useEffect)((()=>{let a=[];t?(a=[{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-refiner-1.0"}],i&&(o("pix2pix"),e("timbrooks/instruct-pix2pix"))):(a=[{label:"Step Aware",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Voxel",value:"Fictiverse/Voxel_XL_Lora"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Mickey 1928",value:"Pclanglais/Mickey-1928"},{label:"Maps",value:"firella/202404032300-oldvis-choropleth-lora-sdxl"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Russian Vibe",value:"0x7o/RussianVibe-XL-v2.0"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],i&&(o("Step Aware"),e("SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"))),n(a)}),[t]),(0,f.jsx)(M.Dropdown,{style:B.dropdown,selectedTextStyle:B.selectedTextStyle,placeholderStyle:B.placeholderStyle,data:a,labelField:"label",valueField:"value",placeholder:s,onChange:t=>{e(t.value)}})}const O="#9DA58D",z="#FFFFFF",B=n.default.create({dropdown:{margin:16,height:50,width:300,borderBottomColor:O,borderBottomWidth:3},placeholderStyle:{color:z,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:z,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var V=i(4037),E=i(2741),H=i(9050);const L="#25292e",G="#3a3c3f",_="#FFFFFF",W=n.default.create({container:{flex:1,justifyContent:"center",alignItems:"center"},image:{width:200,height:200,marginTop:20},rowContainer:{backgroundColor:L,alignItems:"center",flex:1,width:"100%",flexDirection:"row",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:20,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:G},promptText:{color:_,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"}}),N=({imageSource:e,setImageSource:t,styleSwitch:i,setStyleSwitch:a,settingSwitch:r,setSettingSwitch:n})=>(0,f.jsxs)(s.default,{style:W.container,children:[(0,f.jsxs)(s.default,{style:W.rowContainer,children:[(0,f.jsxs)(s.default,{style:W.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:i?"#9DA58D":"#FFFFFF"},W.sliderText],children:"Style"}),(0,f.jsx)(V.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{a(!i)},value:i})]}),(0,f.jsxs)(s.default,{style:W.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:r?"#9FA8DA":"#FFFFFF"},W.sliderText],children:"Layout"}),(0,f.jsx)(V.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{n(!r)},value:r})]})]}),e&&(0,f.jsx)(u.default,{source:"number"===typeof e?e:{uri:e},style:W.image}),(0,f.jsx)(c.default,{style:W.selectButton,onPress:async()=>{const{status:e}=await E.requestMediaLibraryPermissionsAsync();if("granted"!==e)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const i=await E.launchImageLibraryAsync({mediaTypes:H.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});i.cancelled||t(i.assets[0].uri)},children:(0,f.jsx)(l.default,{style:W.promptText,children:"Select"})})]});var q=i(530);const J="#25292e",X="#FFFFFF",K=n.default.create({rowContainer:{backgroundColor:J,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:X,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"}}),$=({activity:e,longPrompt:t,setTextInference:i,switchPromptFunction:a,promptLengthValue:r,setParametersWrapper:n})=>(0,f.jsx)(f.Fragment,{children:e?(0,f.jsx)(q.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[t?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[K.rowContainer,{padding:0}],children:[(0,f.jsx)(c.default,{onPress:()=>{i(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsxs)(s.default,{style:[K.rowContainer,{padding:0}],children:[(0,f.jsx)(l.default,{style:[{color:r?"#FFFFFF":"#9FA8DA",marginRight:15},K.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:r?"#9FA8DA":"#FFFFFF",marginRight:15},K.sliderText],children:"Long"})]}),(0,f.jsx)(V.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:a,value:r})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{i(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},K.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:K.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{n()},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},K.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:K.promptText,children:e?"INFERRED!":"Inference"})})]})}),U=n.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),Z=({isImagePickerVisible:e,setImagePickerVisible:t,window:a})=>(0,f.jsx)(c.default,{style:[U.expandButton,{alignSelf:"flex-start",marginLeft:a.width<1e3?"20%":"0",marginBottom:0}],onPress:()=>t(!e),children:e?(0,f.jsx)(u.default,{source:i(1297),style:U.expandImage}):(0,f.jsx)(u.default,{source:i(8707),style:U.expandImage})}),Y=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross"]}'),Q=({prompt:e,textInference:t,setTextInference:i,setLongPrompt:a,setShortPrompt:n,setInferredPrompt:s,promptLengthValue:o,setActivity:l,setModelError:c})=>{(0,r.useEffect)((()=>{if(t){l(!0),c(!1);let t="";if("Avocado Armchair"===e||""===e){const e=Math.floor(Math.random()*Y.seeds.length);t=Y.seeds[e]}else t=e;t=`I'm giving you a seed string for a stable diffusion model. Return two versions in fewer than 500 tokens. A long version and a shortened version. Make both descriptive and creative. Here is the seed string. : ${t}`,console.log(t),fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:t,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((e=>{const t=e[0].generated_text.split(/Short(?:ened)? (?:Version:)?/i),i=t[0].substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+t[0].substring(150),r=t[1].substring(0,150).split(/\n\n/).slice(-1)[0].replace("\n","")+t[1].substring(150).split(/\n\n/)[0];a(i),n(r),s(o?i:r),l(!1)})).catch((e=>console.error("Error:",e)))}i(!1)}),[t])},ee=({setModelMessage:e,imageSource:t,parameters:i,modelID:a,prompt:n,isImagePickerVisible:s,styleSwitch:o,settingSwitch:l,guidance:c,steps:d,setActivity:u,setModelError:h,setReturnedPrompt:g,setInferredImage:m})=>{const[p,f]=(0,r.useState)("");(0,r.useEffect)((()=>{if(p){let t={none:{key2:[0,0]}};o&&(t={up:{block_0:[0,1,0]}}),l&&(t={down:{block_2:[0,1]}}),o&&l&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(t),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:n,steps:d,guidance:c,modelID:a,image:p,scale:t})}).then((e=>e.json())).then((e=>{u(!1),g(n),f(null),m("data:image/png;base64,"+e.output)})).catch((function(t){e("Model Error!"),u(!1),h(!0),console.log(t)}))}}),[p]),(0,r.useEffect)((()=>{if(i)if(console.log(i),u(!0),s)e("Inference API Not Documented Yet!"),u(!1),h(!0);else{const t={key1:{key2:[0,0]}};fetch("/api ",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:n,steps:d,guidance:c,modelID:a,image:"test",scale:t})}).then((e=>e.json())).then((t=>{console.log(t.output),"Model Waking"==t.output&&(e("Model Waking"),u(!1),h(!0)),u(!1),g(n),m("data:image/png;base64,"+t.output)})).catch((function(t){e("Model Error!"),u(!1),h(!0),console.log(t)}))}}),[i])},te=i(1872);function ie(){(0,g.useFonts)({Sigmar:i(3021)});const[e,t]=(0,r.useState)(te),[a,n]=(0,r.useState)(30),[m,p]=(0,r.useState)(7),[y,b]=(0,r.useState)("SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"),[v,k]=(0,r.useState)("Avocado Armchair"),[x,S]=(0,r.useState)(null),[A,F]=(0,r.useState)(null),[C,P]=(0,r.useState)(!1),[D,R]=(0,r.useState)(!1),[M,O]=(0,r.useState)("Avocado Armchair"),[z,B]=(0,r.useState)(!1),[V,E]=(0,r.useState)(""),[H,L]=(0,r.useState)(null),[G,_]=(0,r.useState)(!1),[W,q]=(0,r.useState)(""),J=(0,d.default)(),[X,K]=(0,r.useState)(!1),[U,Y]=(0,r.useState)(te),[ie,ae]=(0,r.useState)(!1),[re,ne]=(0,r.useState)(!1),oe=e=>{R(!1),b(e)},le=()=>{t(U),Y(e)},ce=()=>{_(!G),S(G?V:H)},de=()=>{F(`${v}-${a}-${m}-${y}`)};return(0,f.jsxs)(s.default,{style:se.titlecontainer,children:[(0,f.jsx)(Q,{prompt:v,textInference:z,setTextInference:B,setLongPrompt:L,setShortPrompt:E,setInferredPrompt:S,promptLengthValue:G,setActivity:P,setModelError:R}),(0,f.jsx)(ee,{setModelMessage:q,imageSource:U,parameters:A,modelID:y,prompt:v,isImagePickerVisible:X,styleSwitch:re,settingSwitch:ie,guidance:m,steps:a,setActivity:P,setModelError:R,setReturnedPrompt:O,setInferredImage:t}),(0,f.jsx)(T,{}),(0,f.jsx)(o.default,{scrollY:!0,style:se.ScrollView,showsVerticalScrollIndicator:!1,children:J.width>1e3?(0,f.jsxs)(s.default,{style:se.rowContainer,children:[X&&(0,f.jsx)(c.default,{onPress:()=>{le()},style:[se.swapButton,{top:J.height/2-15,left:J.width/2-15}],children:(0,f.jsx)(u.default,{source:i(8507),style:se.changeButton})}),(0,f.jsxs)(s.default,{style:se.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(j,{setPrompt:k,inferredPrompt:x})}),(0,f.jsxs)(s.default,{style:[se.rowContainer,{padding:0}],children:[(0,f.jsx)(I,{passModelID:oe,isImagePickerVisible:X,parameters:A}),(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)($,{activity:C,longPrompt:H,setTextInference:B,switchPromptFunction:ce,promptLengthValue:G,setParametersWrapper:de}),D?(0,f.jsx)(l.default,{style:se.promptText,children:W}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsxs)(s.default,{children:[(0,f.jsx)(Z,{isImagePickerVisible:X,setImagePickerVisible:K,window:J}),X&&(0,f.jsx)(N,{imageSource:U,setImageSource:Y,styleSwitch:re,setStyleSwitch:ne,settingSwitch:ie,setSettingSwitch:ae}),(0,f.jsx)(w,{setSteps:n,setGuidance:p})]})]}),(0,f.jsxs)(s.default,{style:se.rightColumnContainer,children:[e&&(0,f.jsx)(u.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:M})]})]}):(0,f.jsxs)(s.default,{style:se.columnContainer,children:[(0,f.jsx)(j,{setPrompt:k,inferredPrompt:x}),(0,f.jsx)(I,{passModelID:oe,isImagePickerVisible:X,parameters:A}),(0,f.jsx)($,{activity:C,longPrompt:H,setTextInference:B,switchPromptFunction:ce,promptLengthValue:G,setParametersWrapper:de}),D?(0,f.jsx)(l.default,{style:se.promptText,children:W}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(Z,{isImagePickerVisible:X,setImagePickerVisible:K,window:J}),X&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(N,{imageSource:U,setImageSource:Y,styleSwitch:re,setStyleSwitch:ne,settingSwitch:ie,setSettingSwitch:ae}),(0,f.jsx)(c.default,{onPress:()=>{le()},style:se.swapButtonColumn,children:(0,f.jsx)(u.default,{source:i(8507),style:se.changeButton})})]}),(0,f.jsx)(w,{setSteps:n,setGuidance:p}),e&&(0,f.jsx)(u.default,{source:"number"===typeof e?e:{uri:e},style:se.imageStyle}),(0,f.jsx)(l.default,{style:se.promptText,children:M})]})}),(0,f.jsx)(h.default,{style:"auto"})]})}const ae="#25292e",re="#3a3c3f",ne="#FFFFFF",se=n.default.create({titlecontainer:{backgroundColor:ae,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ae,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:re},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:re},promptText:{color:ne,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:ae,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),oe=document.getElementById("root");(0,a.createRoot)(oe).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ie,{})})),{}))},3021:(e,t,i)=>{e.exports=i.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},1872:(e,t,i)=>{e.exports=i.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,i)=>{e.exports=i.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,i)=>{e.exports=i.p+"static/media/close.7b63baa66ff83915615a.png"},8707:(e,t,i)=>{e.exports=i.p+"static/media/down.96a1baf6b806338f1733.png"},1297:(e,t,i)=>{e.exports=i.p+"static/media/right.6e46922e35869806233f.png"}},t={};function i(a){var r=t[a];if(void 0!==r)return r.exports;var n=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=e,(()=>{var e=[];i.O=(t,a,r,n)=>{if(!a){var s=1/0;for(d=0;d<e.length;d++){for(var[a,r,n]=e[d],o=!0,l=0;l<a.length;l++)(!1&n||s>=n)&&Object.keys(i.O).every((e=>i.O[e](a[l])))?a.splice(l--,1):(o=!1,n<s&&(s=n));if(o){e.splice(d--,1);var c=r();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[a,r,n]}})(),i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",(()=>{var e={792:0};i.O.j=t=>0===e[t];var t=(t,a)=>{var r,n,[s,o,l]=a,c=0;if(s.some((t=>0!==e[t]))){for(r in o)i.o(o,r)&&(i.m[r]=o[r]);if(l)var d=l(i)}for(t&&t(a);c<s.length;c++)n=s[c],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(d)},a=self.webpackChunkweb=self.webpackChunkweb||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var a=i.O(void 0,[133],(()=>i(470)));a=i.O(a)})();
|
2 |
+
//# sourceMappingURL=main.4ac7cb0c.js.map
|
web-build/static/js/main.4ac7cb0c.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.4ac7cb0c.js","mappings":"0LAIe,SAASA,GAAgB,SAAEC,EAAQ,YAAEC,IAClD,MAAOC,EAAeC,GAAoBC,EAAAA,SAAe,KAClDC,EAAeC,GAAoBF,EAAAA,SAAe,GAczD,OACEG,EAAAA,EAAAA,MAACC,EAAAA,QAAI,CAACC,MAAOC,EAAOC,UAAUC,SAAA,EAC5BC,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,oBACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,EACdC,aAAc,GACdC,KAAM,EACNC,MAAOnB,EACPoB,sBAAsB,UACtBC,sBAAsB,UACtBC,e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AGhB4L,EAAI,EAC3B,GAAGL,EAAS4C,MAAMnD,GAAgC,IAAxB6C,EAAgB7C,KAAa,CACtD,IAAIL,KAAYsD,EACZvD,EAAoBiC,EAAEsB,EAAatD,KACrCD,EAAoBU,EAAET,GAAYsD,EAAYtD,IAGhD,GAAGuD,EAAS,IAAIpL,EAASoL,EAAQxD,EAClC,CAEA,IADGsD,GAA4BA,EAA2BhO,GACrD4L,EAAIL,EAASzF,OAAQ8F,IACzBkC,EAAUvC,EAASK,GAChBlB,EAAoBiC,EAAEkB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOpD,EAAoBY,EAAExI,EAAO,EAGjCsL,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmB9P,QAAQyP,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsB9D,EAAoBY,OAAET,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F8D,EAAsB9D,EAAoBY,EAAEkD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport { Pressable, StyleSheet, TextInput, useWindowDimensions, Image, View} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if(inferredPrompt){\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n \r\n <View style={{flexDirection: 'row', alignItems: 'flex-end'}}>\r\n \r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n { \r\n height: pressed ? 25 : 30,\r\n width: pressed ? 25 : 30,\r\n backgroundColor: pressed ? \"#B58392\":\"#3a3c3f\" ,\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: 'center', \r\n justifyContent: 'center', \r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n }}>\r\n <Image \r\n source={require('../assets/close.png')} \r\n style={{\r\n width: '100%', \r\n height: '100%', \r\n resizeMode: 'contain', \r\n }} \r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({ passModelID, isImagePickerVisible, parameters }) {\r\n const [dropDownData, setDropDownData] = useState([\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Stable Diffusion Refiner\", value: \"stabilityai/stable-diffusion-xl-refiner-1.0\" }]);\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n\r\n\r\n useEffect(() => {\r\n let data = [];\r\n if(isImagePickerVisible) {\r\n data = [\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Stable Diffusion\", value: \"stabilityai/stable-diffusion-xl-refiner-1.0\" }]\r\n if(parameters ) {\r\n\r\n setPlaceholderModelID(\"pix2pix\");\r\n passModelID(\"timbrooks/instruct-pix2pix\");\r\n }\r\n }else {\r\n data = [\r\n { label: \"Step Aware\", value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\" },\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n { label: \"Voxel\", value: \"Fictiverse/Voxel_XL_Lora\" },\r\n { label: \"Paper Cut Out\", value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\" },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n { label: \"Balloon Art\", value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\" },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n { label: \"Flintstones\", value: \"juliajoanna/sdxl-flintstones_finetuning_1\" },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Mickey 1928\", value: \"Pclanglais/Mickey-1928\" },\r\n { label: \"Maps\", value: \"firella/202404032300-oldvis-choropleth-lora-sdxl\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Russian Vibe\", value: \"0x7o/RussianVibe-XL-v2.0\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" }\r\n ];\r\n if(parameters) {\r\n setPlaceholderModelID(\"Step Aware\");\r\n passModelID(\"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\");\r\n }\r\n }\r\n setDropDownData(data);\r\n \r\n }, [isImagePickerVisible]);\r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={dropDownData}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst MyImagePicker = ({\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const selectImage = async () => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\")\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n \n if (!result.cancelled) {\n setImageSource(result.assets[0].uri);\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n };\n\n return (\n <View style={styles.container}>\n <View style={styles.rowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View>\n\n {imageSource &&\n <Image source={typeof imageSource === 'number' ? imageSource : { uri: imageSource }} style={styles.image} />\n }\n <Pressable style={styles.selectButton} onPress={selectImage}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n image: {\n width: 200,\n height: 200,\n marginTop: 20,\n },\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n flex: 1,\n width: \"100%\",\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 20,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React from 'react';\nimport { StyleSheet, View, Text, Pressable, ActivityIndicator, Switch } from 'react-native';\n\nconst Buttons = ({ activity, longPrompt, setTextInference, switchPromptFunction, promptLengthValue, setParametersWrapper}) => {\n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>{longPrompt ? \n <><View style={[styles.rowContainer, {padding:0}]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" ,\n width: 40, height: 40, borderRadius: 20, margin:10}]}\n >\n </Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer, {padding:0}]}>\n <Text\n style={[\n { color: promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\", marginRight: 15},\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n { color: promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\", marginRight: 15},\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={switchPromptFunction}\n value={promptLengthValue}\n />\n </View>\n </View>\n </> : \n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\"},\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>}\n <Pressable\n onPress={() => {\n setParametersWrapper();\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\", marginBottom:20 },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}</>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n };\n \n const styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n padding: 20,\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n });\n\n\nexport default Buttons;","import React from 'react';\nimport {StyleSheet, Pressable, Image } from 'react-native'; \nimport { Dimensions } from 'react-native';\n\nconst Expand = ({isImagePickerVisible, setImagePickerVisible, window}) => {\n return (\n \n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: 'flex-start',\n marginLeft: window.width < 1000 ? '20%' : '0',\n marginBottom: 0,\n },\n ]}\n onPress={() => setImagePickerVisible(!isImagePickerVisible)}\n >\n {isImagePickerVisible ? (\n <Image\n source={require(\"../assets/right.png\")}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={require(\"../assets/down.png\")}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n \n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n };\n \n const styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n }\n });\n\nexport default Expand;","import { useEffect } from 'react';\nimport seeds from \"../assets/seeds.json\"; \n\nconst PromptInference = ({ prompt, textInference, setTextInference, setLongPrompt, setShortPrompt, setInferredPrompt, promptLengthValue, setActivity, setModelError }) => {\n \nuseEffect(() => { \n if(textInference){\n setActivity(true);\n setModelError(false);\n let alteredPrompt = ''; \n if(prompt === 'Avocado Armchair' || prompt === ''){\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n alteredPrompt = seeds.seeds[randomIndex];\n }else {\n alteredPrompt = prompt;\n }\n alteredPrompt = `I'm giving you a seed string for a stable diffusion model. Return two versions \\\n in fewer than 500 tokens. A long version and a shortened version. Make both descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n console.log(alteredPrompt)\n \n fetch('/inferencePrompt', { // Change this to your API endpoint and use a library \n method: 'POST', // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n 'Content-Type': 'application/json', // /inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: alteredPrompt,\n modelID: 'mistralai/Mistral-7B-Instruct-v0.3'\n })\n })\n .then(response => response.json())\n .then((responseData) => {\n \n const generatedText = responseData[0][\"generated_text\"];\n const splitPrompt = generatedText.split(/Short(?:ened)? (?:Version:)?/i);\n const longPromptHolder = splitPrompt[0].substring(0,150).split(/\\n\\n/).slice(-1)[0].replace(\"Long Version:\", \"\").replace(\"\\n\",\"\");\n const lPrompt = longPromptHolder + splitPrompt[0].substring(150)\n const holderShortPrompt = splitPrompt[1].substring(0,150).split(/\\n\\n/).slice(-1)[0].replace(\"\\n\",\"\");\n const sPrompt = holderShortPrompt + splitPrompt[1].substring(150).split(/\\n\\n/)[0];\n \n \n setLongPrompt(lPrompt);\n setShortPrompt(sPrompt);\n if(!promptLengthValue) {\n setInferredPrompt(sPrompt);\n }else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch(error => console.error('Error:', error));\n }\n setTextInference(false);\n },[textInference]);\n};\n\nexport default PromptInference;","import { useEffect, useState } from 'react';\n\nconst Inference = ({ setModelMessage, imageSource, parameters, modelID, prompt, isImagePickerVisible, styleSwitch, settingSwitch, guidance, steps, setActivity, setModelError, setReturnedPrompt, setInferredImage}) => {\nconst [encodedImage, setEncodedImage] = useState('')\n\nconst getBase64Image = () => { \n console.log(imageSource)\n fetch(imageSource)\n .then(response => response.blob())\n .then(blob => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); // blob is your file object\n reader.onloadend = function() {\n let base64data = reader.result; \n setEncodedImage(base64data);\n }\n })\n .catch(error => console.error(error));\n }\n\n // useEffect hook for img2img\n useEffect(() =>{\n if(encodedImage){\n let scaledIP = {none: {\"key2\": [0.0, 0.0]}}\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] }\n };\n }\n console.log(scaledIP)\n fetch('/img2img', { // Change this to your API endpoint and use a library \n method: 'POST', // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or \n 'Content-Type': 'application/json', // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP // Holders Until File Upload Optional with FastAPI is fixed\n })\n })\n .then(response => response.json())\n .then( responseData => {\n setActivity(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage('data:image/png;base64,' + responseData.output);\n })\n .catch(function (error) {\n setModelMessage('Model Error!');\n setActivity(false);\n setModelError(true);\n console.log(error);\n });\n }\n},[encodedImage])\n \n\n// useEffect hook for txt2img\n useEffect(() => {\n if (parameters ){\n \n console.log(parameters)\n setActivity(true);\n if (isImagePickerVisible) { // isImagePickerVisible Check for timeline on IP Adapater inference API\n setModelMessage('Inference API Not Documented Yet!');\n setActivity(false);\n setModelError(true);\n // getBase64Image();\n }else{\n const ipScaleHolder = {\"key1\": {\"key2\": [0.0, 0.0]}}\n fetch('/api ', { // Change this to your API endpoint and use a library \n method: 'POST', // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n 'Content-Type': 'application/json', // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: 'test', // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder // Holders Until File Upload Optional with FastAPI is fixed\n })\n })\n .then(response => response.json())\n .then( responseData => {\n console.log(responseData.output)\n if(responseData.output == \"Model Waking\"){\n setModelMessage('Model Waking');\n setActivity(false);\n setModelError(true);\n }\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage('data:image/png;base64,' + responseData.output);\n })\n .catch(function (error) {\n setModelMessage('Model Error!');\n setActivity(false);\n setModelError(true);\n \n console.log(error);\n });\n }}\n },[parameters]);\n\n};\n\nexport default Inference;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\"\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\n\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const window = useWindowDimensions();\r\n\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState(assetImage);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n\r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const swapImage = () => {\r\n setInferredImage(imageSource);\r\n setImageSource(inferredImage);\r\n };\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if(promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n }\r\n };\r\n \r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <PromptInference prompt={prompt} textInference={textInference} setTextInference={setTextInference} setLongPrompt={setLongPrompt} setShortPrompt={setShortPrompt} setInferredPrompt={setInferredPrompt} promptLengthValue={promptLengthValue} setActivity={setActivity} setModelError={setModelError} />\r\n <Inference setModelMessage={setModelMessage} imageSource={imageSource} parameters={parameters} modelID={modelID} prompt={prompt} isImagePickerVisible={isImagePickerVisible} styleSwitch={styleSwitch} settingSwitch={settingSwitch} guidance={guidance} steps={steps} setActivity={setActivity} setModelError={setModelError} setReturnedPrompt={setReturnedPrompt} setInferredImage={setInferredImage}/>\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n \r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={[styles.swapButton, {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n }]\r\n }\r\n \r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, \r\n { padding:0 }]}>\r\n <DropDownComponent passModelID={passModelIDWrapper} isImagePickerVisible={isImagePickerVisible} parameters={parameters} />\r\n <View style={styles.columnContainer}>\r\n <Buttons activity={activity} longPrompt={longPrompt} setTextInference={setTextInference} switchPromptFunction={switchPromptFunction} promptLengthValue={promptLengthValue} setParametersWrapper={setParametersWrapper}/>\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n \r\n <View>\r\n <Expand isImagePickerVisible={isImagePickerVisible} setImagePickerVisible={setImagePickerVisible} window={window}/>\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n </View>\r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image source={typeof inferredImage === 'number' ? inferredImage : { uri: inferredImage }} style={styles.imageStyle} />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) \r\n : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent passModelID={passModelIDWrapper} isImagePickerVisible={isImagePickerVisible} parameters={parameters} />\r\n <Buttons activity={activity} longPrompt={longPrompt} setTextInference={setTextInference} switchPromptFunction={switchPromptFunction} promptLengthValue={promptLengthValue} setParametersWrapper={setParametersWrapper}/> \r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand isImagePickerVisible={isImagePickerVisible} setImagePickerVisible={setImagePickerVisible} window={window}/>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable \r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={styles.swapButtonColumn}>\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n </>\r\n )}\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image source={typeof inferredImage === 'number' ? inferredImage : { uri: inferredImage }} style={styles.imageStyle} />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n }\r\n \r\n});\r\n\r\n\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [133], () => (__webpack_require__(470)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","isImagePickerVisible","parameters","dropDownData","setDropDownData","useState","label","placeholderModelID","setPlaceholderModelID","data","Dropdown","dropdown","selectedTextStyle","placeholderStyle","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","image","rowContainer","overflow","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","MyImagePicker","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","uri","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","assets","display","button","activityIndicator","marginLeft","Buttons","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","_Fragment","ActivityIndicator","size","marginBottom","expandButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","expandImage","Expand","setImagePickerVisible","window","alignSelf","PromptInference","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","length","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","splitPrompt","split","lPrompt","substring","slice","replace","sPrompt","catch","error","Inference","setModelMessage","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","scaledIP","none","up","block_0","down","block_2","scale","output","ipScaleHolder","assetImage","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","passModelIDWrapper","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","top","left","changeButton","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","right","bottom","zIndex","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.5602f129.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{var e={9618:(e,t,i)=>{"use strict";var a=i(4657),n=i(5458),r=i(296),s=i(6665),o=i(3668),l=i(3929),c=i(2772),d=i(6283),u=i(5708),h=i(484),g=i(6725),m=i(7225),f=i(3374),p=i(7851),y=i.n(p),w=i(397);function b(e){var t=e.setSteps,i=e.setGuidance,a=s.useState(28),n=(0,r.default)(a,2),o=n[0],c=n[1],u=s.useState(5),h=(0,r.default)(u,2),g=h[0],m=h[1];return(0,w.jsxs)(l.default,{style:k.container,children:[(0,w.jsx)(d.default,{style:k.captionText,children:"Sampling Steps"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:3,maximumValue:50,step:1,value:o,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){c(e),t(e)}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:o}),(0,w.jsx)(d.default,{style:k.captionText,children:"Guidance"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:0,maximumValue:10,step:.1,value:g,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){m(parseFloat(e.toFixed(2))),i(parseFloat(e.toFixed(2)))}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:g})]})}var v="#FFFFFF",k=o.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:v,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:v,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}}),x=i(4467),A=i(6773);function S(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function C(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?S(Object(i),!0).forEach((function(t){(0,x.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):S(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function j(e){var t=e.setPlaySound,a=e.setPrompt,n=e.inferredPrompt,o=s.useState(""),c=(0,r.default)(o,2),d=c[0],m=c[1],f=C(C({},I.input),{},{width:g.default.get("window").width>500?500:g.default.get("window").width-80});(0,s.useEffect)((function(){n&&(m(n),a(n))}),[n]);return(0,w.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,w.jsx)(A.default,{style:f,placeholder:"",multiline:!0,textAlign:"center",onChangeText:function(e){m(e),a(e)},value:d,maxLength:2e4}),(0,w.jsx)(u.default,{style:function(e){return[{height:30,width:30,backgroundColor:e.pressed?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}]},onPress:function(){m(""),a(""),t("click")},children:(0,w.jsx)(h.default,{source:i(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}var P="#FFFFFF",T="#B58392",F="#000000",I=o.default.create({input:{backgroundColor:P,borderColor:T,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:F,fontFamily:"Sigmar",marginRight:10}}),B=i(5009),R=i(558);function D(){var e=(0,s.useRef)((0,n.default)(Array(12)).map((function(){return new B.default.Value(0)}))).current,t=(0,R.default)().width;(0,s.useEffect)((function(){e.map((function(e,t){var i=B.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),a=B.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map((function(e,t){return B.default.sequence([B.default.delay(e),i,a])})),l=B.default.sequence(o);return B.default.loop(l)})).forEach((function(e){e.start()}))}),[e]);var i=e.map((function(e){return e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"})})).map((function(e){return{fontSize:e}}));return(0,w.jsx)(l.default,{style:z.containerbreathing,children:(0,w.jsxs)(d.default,{style:z.heading,children:[(0,w.jsx)(B.default.Text,{style:[z.char,i[0]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[1]],children:"I"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[2]],children:"X"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[3]],children:"E"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[4]],children:"L"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[5]],children:" "}),(0,w.jsx)(B.default.Text,{style:[z.char,i[6]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[7]],children:"R"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[8]],children:"O"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[9]],children:"M"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[10]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[z.char,i[11]],children:"T"})]})})}var z=o.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}}),O=i(5781);function M(e){var t=e.passModelID,i=(0,s.useState)("Model ID"),a=(0,r.default)(i,2),n=a[0],o=a[1];return(0,w.jsx)(O.Dropdown,{style:H.dropdown,selectedTextStyle:H.selectedTextStyle,placeholderStyle:H.placeholderStyle,data:[{label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"},{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Fluently",value:"fluently/Fluently-XL-Final"},{label:"Pixel",value:"nerijs/pixel-art-xl"},{label:"Voxel",value:"Fictiverse/Voxel_XL_Lora"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Anime - (gsdf)",value:"gsdf/Counterfeit-V2.5"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:n,onChange:function(e){t(e),o(e.label)}})}var E="#9DA58D",L="#FFFFFF",H=o.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:E,borderBottomWidth:3},placeholderStyle:{color:L,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:L,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}}),G=i(467),V=i(4037),W=i(932),q=i(3303),N=i(9050),_=i(4692),J=i(8945),K=i(3558),U={backgroundColor:"#25292e",selectButtonBackground:"#3a3c3f",white:"#FFFFFF"},X=o.default.create({flatListContainer:{width:"auto",height:"auto"},switchesRowContainer:{backgroundColor:U.backgroundColor,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{marginTop:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:U.selectButtonBackground},promptText:{color:U.white,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},imageCard:{backgroundColor:U.buttonBackground,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center"}});const Z=function(e){var t=e.columnCount,i=e.selectedImageIndex,a=e.setSelectedImageIndex,o=e.initialReturnedPrompt,c=e.setReturnedPrompt,m=e.promptList,f=e.setPromptList,p=e.setPlaySound,y=e.imageSource,b=e.setImageSource,v=e.styleSwitch,k=e.setStyleSwitch,x=e.settingSwitch,A=e.setSettingSwitch,S=(0,s.useState)(0),C=(0,r.default)(S,2),j=C[0],P=C[1],T=(0,s.useState)(160),F=(0,r.default)(T,2),I=F[0],B=F[1];(0,s.useEffect)((function(){g.default.get("window").width<1e3&&B(null!==i?440+j:160)}),[i,j]);var R=function(){var e=(0,G.default)((function*(e){if("granted"===(yield q.requestMediaLibraryPermissionsAsync()).status){console.log("Selecting image");var t=yield q.launchImageLibraryAsync({mediaTypes:N.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});t.cancelled||(p("swoosh"),b((function(i){var a=(0,n.default)(i);return a[e]=t.assets[0].uri,a[e+1]=_,a})),f((function(t){var i=(0,n.default)(t);return i[e]="Uploaded Image",i})))}else alert("Sorry, we need media library permissions to select an image.")}));return function(t){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){c(null!==i?m[i]:o)}),[i]);function D(e){var a=(i+1)%t===0||i===y.length-1,n=i%t===0;return i===e+(n?-1:1)||i===e+(n?-2:a?2:-1)}return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(l.default,{style:X.switchesRowContainer,children:[(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:v?"#9DA58D":"#FFFFFF"},X.sliderText],children:"Style"}),(0,w.jsx)(V.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){k(!v),p("switch")},value:v})]}),(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:x?"#9FA8DA":"#FFFFFF"},X.sliderText],children:"Layout"}),(0,w.jsx)(V.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){A(!x),p("switch")},value:x})]})]}),(0,w.jsx)(l.default,{style:X.flatListContainer,children:(0,w.jsx)(W.default,{data:y,numColumns:t,keyExtractor:function(e,t){return t.toString()},renderItem:function(e){var n=e.item,r=e.index;return(0,w.jsxs)(l.default,{style:[X.imageColumnContainer,{width:D(r)?0:i===r?330:r===y.length-1?160:105,height:g.default.get("window").width<1e3&&i==r?I:i===r?440:r===y.length-1?160:105,margin:0,marginTop:i===r?20:0,overflow:"visible"}],children:[(0,w.jsx)(l.default,{style:[X.columnContainer],children:(0,w.jsx)(u.default,{onPress:function(){p("click"),a(i!==r?r:null)},style:[X.imageCard,{alignItems:"flex-start",justifyContent:"flex-start",width:D(r)?0:i===r?320:100,height:D(r)?0:i===r?400:100,borderRadius:i===r?30:0}],children:(0,w.jsx)(h.default,{source:"number"===typeof n?n:{uri:n},style:[{width:D(r)?0:i===r?320:100,height:D(r)?0:i===r?400:100,borderRadius:i===r?30:0}]})})}),r!==y.length-1&&(null===i||r!==i+1)&&(null===i||(r-2)%t!==0)&&(0,w.jsx)(u.default,{onPress:function(){!function(e){b((function(t){return p("click"),t.length>1?t.filter((function(t,i){return i!==e})):[_]})),c(m[e+1]),f((function(t){return t.length>1?t.filter((function(t,i){return i!==e})):[""]}))}(r)},style:{position:"absolute",top:0,right:0},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?J:K,style:[X.changeButton]})}}),g.default.get("window").width<1e3&&i===r&&r!==y.length-1&&(0,w.jsx)(d.default,{style:[X.promptText,{flexShrink:1}],numberOfLines:1e3,onLayout:function(e){var t=e.nativeEvent.layout.height;P(t)},children:m[r]}),r===y.length-1&&!i&&(null===i||r!==i+2)&&(null===i||2!==y.length)&&(0,w.jsx)(u.default,{style:[X.selectButton],onPress:function(){p("click"),R(r)},children:(0,w.jsx)(d.default,{style:X.promptText,children:"Select"})})]})}},t)})]})};var Q=i(530),Y=i(1284),$=i(4663),ee="#25292e",te="#FFFFFF",ie=o.default.create({rowContainer:{backgroundColor:ee,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:te,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}});const ae=function(e){var t=e.setPlaySound,i=e.switchToFlan,a=e.setInferrenceButton,n=e.activity,o=e.longPrompt,c=e.setTextInference,g=e.switchPromptFunction,m=e.promptLengthValue,f=(0,s.useState)(!1),p=(0,r.default)(f,2),y=p[0],b=p[1];return(0,w.jsx)(w.Fragment,{children:n?(0,w.jsx)(Q.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,w.jsxs)(w.Fragment,{children:[o?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(l.default,{style:[ie.rowContainer],children:[(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}}),(0,w.jsxs)(l.default,{style:ie.columnContainer,children:[(0,w.jsxs)(l.default,{style:[ie.rowContainer],children:[(0,w.jsx)(d.default,{style:[{color:y||m?"#FFFFFF":"#9FA8DA",marginRight:15},ie.sliderText],children:"Short"}),(0,w.jsx)(d.default,{style:[{color:y?"#FFFFFF":m?"#9FA8DA":"#FFFFFF",marginRight:15},ie.sliderText],children:"Long"})]}),(0,w.jsxs)(l.default,{style:[ie.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,w.jsx)(V.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){b(!1),g()},value:m}),(0,w.jsx)(u.default,{onPress:function(){i(),b(!0),t("click")},children:(0,w.jsx)(h.default,{source:y?Y:$,style:[{marginRight:30},ie.changeButton]})})]})]})]})}):(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D"},ie.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ie.promptText,children:t?"PROMPTED!":"Prompt"})}}),(0,w.jsx)(u.default,{onPress:function(){a(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#9DA58D":"#958DA5",marginBottom:20},ie.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ie.promptText,children:t?"INFERRED!":"Inference"})}})]})})};var ne=o.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}});const re=function(e){var t=e.setPlaySound,a=e.isImagePickerVisible,n=e.setImagePickerVisible,r=i(1297),s=i(8707);return(0,w.jsx)(u.default,{style:[ne.expandButton,{alignSelf:"flex-start",marginLeft:(g.default.get("window").width,"20%"),marginBottom:0}],onPress:function(){t("expand"),n(!a)},children:a?(0,w.jsx)(h.default,{source:s,style:ne.expandImage}):(0,w.jsx)(h.default,{source:r,style:ne.expandImage})})},se=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}');const oe=function(e){var t=e.setFlanPrompt,i=e.prompt,a=e.textInference,n=e.setTextInference,r=e.setLongPrompt,o=e.setShortPrompt,l=e.setInferredPrompt,c=e.promptLengthValue,d=e.setActivity,u=e.setModelError;(0,s.useEffect)((function(){if(a){d(!0),u(!1);var e="";if("Avocado Armchair"===i||""===i){var s=Math.floor(Math.random()*se.seeds.length);if(s>se.seeds.length-13)return r(se.seeds[s]),o(se.seeds[s]),l(se.seeds[s]),void d(!1);e=se.seeds[s]}else e=i;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({itemString:e})}).then((function(i){i.json().then((function(i){var a=i.plain.split("Stable Diffusion Prompt:")[1];t(i.magic),r(a),o(e),l(c?a:e),d(!1)})).catch((function(e){return console.error("Error:",e)}))})).catch((function(e){return console.error("Fetch Error:",e)})),n(!1)}}),[a])};const le=function(e){var t=e.setImageSource,i=e.setPromptList,a=e.setInferrenceButton,r=e.inferrenceButton,o=e.setModelMessage,l=e.modelID,c=e.prompt,d=e.styleSwitch,u=e.settingSwitch,h=e.guidance,g=e.steps,m=e.setActivity,f=e.setModelError,p=e.setReturnedPrompt,y=e.setInitialReturnedPrompt,w=e.setInferredImage;(0,s.useEffect)((function(){fetch("/core",{method:"GET"}).then((function(e){return e.json()})).then((function(e){console.log(e),e.prompt.length>0&&(e.prompt.forEach((function(e,t){i((function(t){return[e].concat((0,n.default)(t))}))})),e.base64.forEach((function(e,i){t((function(t){return[e].concat((0,n.default)(t))}))})))})).catch((function(e){console.error("There was an error!",e)}))}),[]),(0,s.useEffect)((function(){if(r){m(!0);var e=l.value,t=function(e,t){var i={none:{key2:[0,0]}};return e&&(i={up:{block_0:[0,1,0]}}),t&&(i={down:{block_2:[0,1]}}),e&&t&&(i={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),i}(d,u);fetch("http://localhost:8000/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:c,steps:g,guidance:h,modelID:e,modelLabel:l.label,image:"test",scale:t})}).then((function(e){return e.json()})).then((function(e){"Model Waking"==e.output?(o("Model Waking"),m(!1),f(!0),a(!1)):y(l.label+" "+c),a(!1),m(!1),p(c),w("data:image/png;base64,"+e.output)})).catch((function(e){o("Model Error!"),m(!1),f(!0),a(!1),console.log(e)}))}}),[r])};var ce=i(5806),de=i(4825),ue=i(4283),he=i(2968),ge=i(8641),me=i(7390);const fe=function(e){var t=e.makeSound,i=(0,s.useRef)(null);return(0,s.useEffect)((function(){return ce.setAudioModeAsync({playsInSilentModeIOS:!0,staysActiveInBackground:!0,shouldDuckAndroid:!0,interruptionModeIOS:ce.INTERRUPTION_MODE_IOS_DO_NOT_MIX,interruptionModeAndroid:ce.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX}),function(){var e;i.current&&(null==(e=i.current)||e.unloadAsync())}}),[]),(0,s.useEffect)((function(){var e=function(){var e=(0,G.default)((function*(){var e=(yield de.Sound.createAsync({uri:"click"===t[0]?ue:"swoosh"===t[0]?he:"switch"===t[0]?ge:me},{shouldPlay:!0})).sound;i.current=e,yield e.playAsync()}));return function(){return e.apply(this,arguments)}}();t&&e()}),[t]),null};var pe=i(1872),ye=i(8507),we=i(4692),be=i(7038);function ve(){(0,f.useFonts)({Sigmar:i(3021)});var e=(0,s.useState)(pe),t=(0,r.default)(e,2),a=t[0],o=t[1],p=(0,s.useState)(28),y=(0,r.default)(p,2),v=y[0],k=y[1],x=(0,s.useState)(5),A=(0,r.default)(x,2),S=A[0],C=A[1],P=(0,s.useState)({label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"}),T=(0,r.default)(P,2),F=T[0],I=T[1],B=(0,s.useState)("Avocado Armchair"),R=(0,r.default)(B,2),z=R[0],O=R[1],E=(0,s.useState)(null),L=(0,r.default)(E,2),H=L[0],G=L[1],V=(0,s.useState)(!1),W=(0,r.default)(V,2),q=W[0],N=W[1],_=(0,s.useState)(!1),J=(0,r.default)(_,2),K=J[0],U=J[1],X=(0,s.useState)("Avacado Armchair"),Q=(0,r.default)(X,2),Y=Q[0],$=Q[1],ee=(0,s.useState)("Avacado Armchair"),te=(0,r.default)(ee,2),ie=te[0],ne=te[1],se=(0,s.useState)(!1),ce=(0,r.default)(se,2),de=ce[0],ue=ce[1],he=(0,s.useState)(""),ge=(0,r.default)(he,2),me=ge[0],ve=ge[1],ke=(0,s.useState)(null),xe=(0,r.default)(ke,2),Ae=xe[0],Ce=xe[1],je=(0,s.useState)(!1),Pe=(0,r.default)(je,2),Te=Pe[0],Fe=Pe[1],Ie=(0,s.useState)(""),Be=(0,r.default)(Ie,2),Re=Be[0],De=Be[1],ze=(0,s.useState)(null),Oe=(0,r.default)(ze,2),Me=Oe[0],Ee=Oe[1],Le=(0,s.useState)(null),He=(0,r.default)(Le,2),Ge=He[0],Ve=He[1],We=(0,s.useState)(!1),qe=(0,r.default)(We,2),Ne=qe[0],_e=qe[1],Je=(0,s.useState)([we]),Ke=(0,r.default)(Je,2),Ue=Ke[0],Xe=Ke[1],Ze=(0,s.useState)(!1),Qe=(0,r.default)(Ze,2),Ye=Qe[0],$e=Qe[1],et=(0,s.useState)(!1),tt=(0,r.default)(et,2),it=tt[0],at=tt[1],nt=(0,s.useState)(null),rt=(0,r.default)(nt,2),st=rt[0],ot=rt[1],lt=(0,s.useState)([null,0]),ct=(0,r.default)(lt,2),dt=ct[0],ut=ct[1],ht=(0,s.useState)([]),gt=(0,r.default)(ht,2),mt=gt[0],ft=gt[1],pt=(0,s.useState)(!1),yt=(0,r.default)(pt,2),wt=yt[0],bt=yt[1],vt=(0,s.useState)(null),kt=(0,r.default)(vt,2),xt=kt[0],At=kt[1],St=(0,s.useState)(3),Ct=(0,r.default)(St,2),jt=Ct[0],Pt=Ct[1],Tt=function(e){U(!1),I(e)},Ft=function(e){ot((function(e){return e+1})),ut([e,st])};(0,s.useEffect)((function(){wt&&(a!==we&&(console.log("swapImage",a),ft((function(e){return[ie].concat((0,n.default)(e))})),Xe((function(e){return[a].concat((0,n.default)(e))})),o(we),ne(""),$("")),bt(!1))}));var It=function(){Fe(!Te),Te?(G(me),Ft("switch")):(G(Ae),Ft("switch"))},Bt=function(){G(Ge)};return(0,s.useEffect)((function(){var e=function(){var e;e=g.default.get("window").width,Pt(e<600?3:e>=600&&e<1e3?4:e>=1e3&&e<1400?5:e>=1400&&e<1700?6:7)};return e(),g.default.addEventListener("change",e),function(){return g.default.removeEventListener("change",e)}}),[]),(0,w.jsxs)(l.default,{style:Se.titlecontainer,children:[(0,w.jsx)(fe,{makeSound:dt}),(0,w.jsx)(oe,{setFlanPrompt:Ve,prompt:z,textInference:de,setTextInference:ue,setLongPrompt:Ce,setShortPrompt:ve,setInferredPrompt:G,promptLengthValue:Te,setActivity:N,setModelError:U}),(0,w.jsx)(le,{setImageSource:Xe,setPromptList:ft,selectedImageIndex:xt,setInferrenceButton:Ee,inferrenceButton:Me,setModelMessage:De,imageSource:Ue,modelID:F,prompt:z,styleSwitch:it,settingSwitch:Ye,guidance:S,steps:v,setActivity:N,setModelError:U,setReturnedPrompt:$,setInitialReturnedPrompt:ne,setInferredImage:o}),(0,w.jsx)(D,{}),(0,w.jsx)(c.default,{scrollY:!0,style:Se.ScrollView,showsVerticalScrollIndicator:!1,children:g.default.get("window").width>1e3?(0,w.jsxs)(l.default,{style:Se.rowContainer,children:[Ne&&(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButton,{top:t?g.default.get("window").height/2+23:g.default.get("window").height/2+25,left:t?g.default.get("window").width/2-13:g.default.get("window").width/2-15,width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}}),(0,w.jsxs)(l.default,{style:Se.leftColumnContainer,children:[(0,w.jsx)(l.default,{children:(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:O,inferredPrompt:H})}),(0,w.jsxs)(l.default,{style:[Se.rowContainer,{padding:0}],children:[(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(ae,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:q,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{})]})]}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:Ne,setImagePickerVisible:_e}),Ne&&(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ie,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:it,setStyleSwitch:at,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(b,{setSteps:k,setGuidance:C})]}),(0,w.jsxs)(l.default,{style:Se.rightColumnContainer,children:[(0,w.jsx)(l.default,{style:Se.imageCard,children:a&&(0,w.jsx)(h.default,{source:"number"===typeof a?a:{uri:a},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})]}):(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:O,inferredPrompt:H}),(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsx)(ae,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:q,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:Ne,setImagePickerVisible:_e}),(0,w.jsx)(l.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:Ne&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ie,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:it,setStyleSwitch:at,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButtonColumn,{width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}})]})}),(0,w.jsx)(b,{setSteps:k,setGuidance:C}),(0,w.jsx)(l.default,{style:Se.imageCard,children:a&&(0,w.jsx)(h.default,{source:"number"===typeof a?a:{uri:a},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})}),(0,w.jsx)(m.StatusBar,{style:"auto"})]})}var ke="#25292e",xe="#3a3c3f",Ae="#FFFFFF",Se=o.default.create({titlecontainer:{backgroundColor:ke,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ke,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",zIndex:1,elevation:3,backgroundColor:xe},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:xe},promptText:{color:Ae,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:ke,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,alignSelf:"center"},imageCard:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center",backgroundColor:ke,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Ce=document.getElementById("root");(0,a.createRoot)(Ce).render((0,w.jsx)((function(){return(0,w.jsx)("div",{children:(0,w.jsx)(ve,{})})}),{}))},3021:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/click.514e4b6ee663e4f549a5.wav"},7390:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"},7790:()=>{},3776:()=>{},8285:()=>{},3902:()=>{},1638:()=>{},2668:()=>{},5340:()=>{},9838:()=>{}},t={};function i(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,(()=>{var e=[];i.O=(t,a,n,r)=>{if(!a){var s=1/0;for(d=0;d<e.length;d++){for(var[a,n,r]=e[d],o=!0,l=0;l<a.length;l++)(!1&r||s>=r)&&Object.keys(i.O).every((e=>i.O[e](a[l])))?a.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[a,n,r]}})(),i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;i.t=function(a,n){if(1&n&&(a=this(a)),8&n)return a;if("object"===typeof a&&a){if(4&n&&a.__esModule)return a;if(16&n&&"function"===typeof a.then)return a}var r=Object.create(null);i.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&a;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>s[e]=()=>a[e]));return s.default=()=>a,i.d(r,s),r}})(),i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",(()=>{var e={792:0};i.O.j=t=>0===e[t];var t=(t,a)=>{var n,r,[s,o,l]=a,c=0;if(s.some((t=>0!==e[t]))){for(n in o)i.o(o,n)&&(i.m[n]=o[n]);if(l)var d=l(i)}for(t&&t(a);c<s.length;c++)r=s[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(d)},a=self.webpackChunkweb=self.webpackChunkweb||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var a=i.O(void 0,[23],(()=>i(9618)));a=i.O(a)})();
|
2 |
+
//# sourceMappingURL=main.5602f129.js.map
|
web-build/static/js/main.5602f129.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/main.5d2851a8.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{var e={9618:(e,t,i)=>{"use strict";var a=i(4657),n=i(5458),r=i(296),o=i(6665),s=i(3668),l=i(3929),c=i(2772),d=i(6283),u=i(5708),h=i(484),g=i(6725),m=i(7225),f=i(3374),p=i(7851),y=i.n(p),w=i(397);function b(e){var t=e.setSteps,i=e.setGuidance,a=e.setControl,n=o.useState(28),s=(0,r.default)(n,2),c=s[0],u=s[1],h=o.useState(5),g=(0,r.default)(h,2),m=g[0],f=g[1],p=o.useState(1),b=(0,r.default)(p,2),v=b[0],x=b[1];return(0,w.jsxs)(l.default,{style:k.container,children:[(0,w.jsx)(d.default,{style:k.captionText,children:"Sampling Steps"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:3,maximumValue:50,step:1,value:c,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){u(e),t(e)}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:c}),(0,w.jsx)(d.default,{style:k.captionText,children:"Prompt Guidance"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:0,maximumValue:10,step:.1,value:m,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){f(parseFloat(e.toFixed(2))),i(parseFloat(e.toFixed(2)))}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:m}),(0,w.jsx)(d.default,{style:k.captionText,children:"Style & Layout"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:0,maximumValue:2,step:.1,value:v,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){x(parseFloat(e.toFixed(2))),a(parseFloat(e.toFixed(2)))}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:v})]})}var v="#FFFFFF",k=s.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:v,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:v,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}}),x=i(4467),A=i(6773);function S(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function j(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?S(Object(i),!0).forEach((function(t){(0,x.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):S(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function C(e){var t=e.setPlaySound,a=e.setPrompt,n=e.inferredPrompt,s=o.useState(""),c=(0,r.default)(s,2),d=c[0],m=c[1],f=j(j({},I.input),{},{width:g.default.get("window").width>500?500:g.default.get("window").width-80});(0,o.useEffect)((function(){n&&(m(n),a(n))}),[n]);return(0,w.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,w.jsx)(A.default,{style:f,placeholder:"",multiline:!0,textAlign:"center",onChangeText:function(e){m(e),a(e)},value:d,maxLength:2e4}),(0,w.jsx)(u.default,{style:function(e){return[{height:30,width:30,backgroundColor:e.pressed?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}]},onPress:function(){m(""),a(""),t("click")},children:(0,w.jsx)(h.default,{source:i(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}var P="#FFFFFF",F="#B58392",T="#000000",I=s.default.create({input:{backgroundColor:P,borderColor:F,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:T,fontFamily:"Sigmar",marginRight:10}}),B=i(5009),R=i(558);function D(){var e=(0,o.useRef)((0,n.default)(Array(12)).map((function(){return new B.default.Value(0)}))).current,t=(0,R.default)().width;(0,o.useEffect)((function(){e.map((function(e,t){var i=B.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),a=B.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,o=600,s=[t*n,t*r,(11-t)*n,t*o,(11-t)*r,t*n,(11-t)*o,t*r,(11-t)*n,(11-t)*r,t*o,(11-t)*o].map((function(e,t){return B.default.sequence([B.default.delay(e),i,a])})),l=B.default.sequence(s);return B.default.loop(l)})).forEach((function(e){e.start()}))}),[e]);var i=e.map((function(e){return e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"})})).map((function(e){return{fontSize:e}}));return(0,w.jsx)(l.default,{style:O.containerbreathing,children:(0,w.jsxs)(d.default,{style:O.heading,children:[(0,w.jsx)(B.default.Text,{style:[O.char,i[0]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[1]],children:"I"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[2]],children:"X"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[3]],children:"E"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[4]],children:"L"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[5]],children:" "}),(0,w.jsx)(B.default.Text,{style:[O.char,i[6]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[7]],children:"R"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[8]],children:"O"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[9]],children:"M"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[10]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,i[11]],children:"T"})]})})}var O=s.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}}),z=i(5781);function M(e){var t=e.passModelID,i=(0,o.useState)("Model ID"),a=(0,r.default)(i,2),n=a[0],s=a[1];return(0,w.jsx)(z.Dropdown,{style:H.dropdown,selectedTextStyle:H.selectedTextStyle,placeholderStyle:H.placeholderStyle,data:[{label:"Random",value:"Random"},{label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"},{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Pixel",value:"nerijs/pixel-art-xl"},{label:"Voxel",value:"Fictiverse/Voxel_XL_Lora"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Anime - (gsdf)",value:"gsdf/Counterfeit-V2.5"}],labelField:"label",valueField:"value",placeholder:n,onChange:function(e){t(e),s(e.label)}})}var E="#9DA58D",L="#FFFFFF",H=s.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:E,borderBottomWidth:3},placeholderStyle:{color:L,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:L,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}}),G=i(467),V=i(4037),W=i(932),N=i(3303),q=i(9050),_=i(4692),J=i(8945),K=i(3558),U={backgroundColor:"#25292e",selectButtonBackground:"#3a3c3f",white:"#FFFFFF"},Z=s.default.create({flatListContainer:{width:"auto",height:"auto"},switchesRowContainer:{backgroundColor:U.backgroundColor,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{marginTop:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:U.selectButtonBackground},promptText:{color:U.white,fontSize:18,textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"System"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},imageCard:{backgroundColor:U.buttonBackground,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center"}});const X=function(e){var t=e.columnCount,i=e.selectedImageIndex,a=e.setSelectedImageIndex,s=e.initialReturnedPrompt,c=e.setReturnedPrompt,m=e.promptList,f=e.setPromptList,p=e.setPlaySound,y=e.imageSource,b=e.setImageSource,v=e.styleSwitch,k=e.setStyleSwitch,x=e.settingSwitch,A=e.setSettingSwitch,S=(0,o.useState)(0),j=(0,r.default)(S,2),C=j[0],P=j[1],F=(0,o.useState)(160),T=(0,r.default)(F,2),I=T[0],B=T[1];(0,o.useEffect)((function(){g.default.get("window").width<1e3&&B(null!==i?440+C:160)}),[i,C]);var R=function(){var e=(0,G.default)((function*(e){if("granted"===(yield N.requestMediaLibraryPermissionsAsync()).status){console.log("Selecting image");var t=yield N.launchImageLibraryAsync({mediaTypes:q.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});t.cancelled||(p("swoosh"),b((function(i){var a=(0,n.default)(i);return a[e]=t.assets[0].uri,a[e+1]=_,a})),f((function(t){var i=(0,n.default)(t);return i[e]="Uploaded Image",i})))}else alert("Sorry, we need media library permissions to select an image.")}));return function(t){return e.apply(this,arguments)}}();(0,o.useEffect)((function(){c(null!==i?m[i]:s)}),[i]);function D(e){var a=(i+1)%t===0||i===y.length-1,n=i%t===0;return i===e+(n?-1:1)||i===e+(n?-2:a?2:-1)}return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(d.default,{style:[Z.promptText,{width:500,margin:20,fontSize:14}],children:"Click Image to Enlarge. If Image is enlarged it will be used as an input image for the next image generated."}),(0,w.jsxs)(l.default,{style:Z.switchesRowContainer,children:[(0,w.jsxs)(l.default,{style:Z.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:v?"#9DA58D":"#FFFFFF"},Z.sliderText],children:"Style"}),(0,w.jsx)(V.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){k(!v),p("switch")},value:v})]}),(0,w.jsxs)(l.default,{style:Z.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:x?"#9FA8DA":"#FFFFFF"},Z.sliderText],children:"Layout"}),(0,w.jsx)(V.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){A(!x),p("switch")},value:x})]})]}),(0,w.jsx)(l.default,{style:Z.flatListContainer,children:(0,w.jsx)(W.default,{data:y,numColumns:t,keyExtractor:function(e,t){return t.toString()},renderItem:function(e){var n=e.item,r=e.index;return(0,w.jsxs)(l.default,{style:[Z.imageColumnContainer,{width:D(r)?0:i===r?330:r===y.length-1?160:105,height:g.default.get("window").width<1e3&&i==r?I:i===r?440:r===y.length-1?160:105,margin:0,marginTop:i===r?20:0,overflow:"visible"}],children:[(0,w.jsx)(l.default,{style:[Z.columnContainer],children:(0,w.jsx)(u.default,{onPress:function(){p("click"),a(i!==r?r:null)},style:[Z.imageCard,{alignItems:"flex-start",justifyContent:"flex-start",width:D(r)?0:i===r?320:100,height:D(r)?0:i===r?400:100,borderRadius:i===r?30:0}],children:(0,w.jsx)(h.default,{source:"number"===typeof n?n:{uri:n},style:[{width:D(r)?0:i===r?320:100,height:D(r)?0:i===r?400:100,borderRadius:i===r?30:0}]})})}),r!==y.length-1&&(null===i||r!==i+1)&&(null===i||(r-2)%t!==0)&&(0,w.jsx)(u.default,{onPress:function(){!function(e){b((function(t){return p("click"),t.length>1?t.filter((function(t,i){return i!==e})):[_]})),c(m[e+1]),f((function(t){return t.length>1?t.filter((function(t,i){return i!==e})):[""]}))}(r)},style:{position:"absolute",top:0,right:0},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?J:K,style:[Z.changeButton]})}}),g.default.get("window").width<1e3&&i===r&&r!==y.length-1&&(0,w.jsx)(d.default,{style:[Z.promptText,{flexShrink:1}],numberOfLines:1e3,onLayout:function(e){var t=e.nativeEvent.layout.height;P(t)},children:m[r]}),r===y.length-1&&!i&&(null===i||r!==i+2)&&(null===i||2!==y.length)&&(0,w.jsx)(u.default,{style:[Z.selectButton],onPress:function(){p("click"),R(r)},children:(0,w.jsx)(d.default,{style:[Z.promptText,{fontFamily:"Sigmar"}],children:"Select"})})]})}},t)})]})};var Q=i(530),Y=i(1284),$=i(4663),ee="#25292e",te="#FFFFFF",ie=s.default.create({rowContainer:{backgroundColor:ee,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:te,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}});const ae=function(e){var t=e.setPlaySound,i=e.switchToFlan,a=e.setInferrenceButton,n=e.activity,s=e.longPrompt,c=e.setTextInference,g=e.switchPromptFunction,m=e.promptLengthValue,f=(0,o.useState)(!1),p=(0,r.default)(f,2),y=p[0],b=p[1];return(0,w.jsx)(w.Fragment,{children:n?(0,w.jsx)(Q.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,w.jsxs)(w.Fragment,{children:[s?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(l.default,{style:[ie.rowContainer],children:[(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}}),(0,w.jsxs)(l.default,{style:ie.columnContainer,children:[(0,w.jsxs)(l.default,{style:[ie.rowContainer],children:[(0,w.jsx)(d.default,{style:[{color:y||m?"#FFFFFF":"#9FA8DA",marginRight:15},ie.sliderText],children:"Short"}),(0,w.jsx)(d.default,{style:[{color:y?"#FFFFFF":m?"#9FA8DA":"#FFFFFF",marginRight:15},ie.sliderText],children:"Long"})]}),(0,w.jsxs)(l.default,{style:[ie.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,w.jsx)(V.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){b(!1),g()},value:m}),(0,w.jsx)(u.default,{onPress:function(){i(),b(!0),t("click")},children:(0,w.jsx)(h.default,{source:y?Y:$,style:[{marginRight:30},ie.changeButton]})})]})]})]})}):(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D"},ie.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ie.promptText,children:t?"PROMPTED!":"Prompt"})}}),(0,w.jsx)(u.default,{onPress:function(){a(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#9DA58D":"#958DA5",marginBottom:20},ie.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ie.promptText,children:t?"INFERRED!":"Inference"})}})]})})};var ne=s.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}});const re=function(e){var t=e.setPlaySound,a=e.isImagePickerVisible,n=e.setImagePickerVisible,r=i(1297),o=i(8707);return(0,w.jsx)(u.default,{style:[ne.expandButton,{alignSelf:"flex-start",marginLeft:(g.default.get("window").width,"20%"),marginBottom:0}],onPress:function(){t("expand"),n(!a)},children:a?(0,w.jsx)(h.default,{source:o,style:ne.expandImage}):(0,w.jsx)(h.default,{source:r,style:ne.expandImage})})},oe=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena"]}');const se=function(e){var t=e.setFlanPrompt,i=e.prompt,a=e.textInference,n=e.setTextInference,r=e.setLongPrompt,s=e.setShortPrompt,l=e.setInferredPrompt,c=e.promptLengthValue,d=e.setActivity,u=e.setModelError;(0,o.useEffect)((function(){if(a){d(!0),u(!1);var e="";if("Avocado Armchair"===i||""===i){var o=Math.floor(Math.random()*oe.seeds.length);e=oe.seeds[o]}else e=i;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({itemString:e})}).then((function(i){i.json().then((function(i){var a=i.plain.split("Stable Diffusion Prompt:")[1];t(i.magic),r(a),s(e),l(c?a:e),d(!1)})).catch((function(e){return console.error("Error:",e)}))})).catch((function(e){return console.error("Fetch Error:",e)})),n(!1)}}),[a])};const le=function(e){var t=e.setImageSource,i=e.setPromptList,a=e.selectedImageIndex,r=e.setInferrenceButton,s=e.inferrenceButton,l=e.setModelMessage,c=e.imageSource,d=e.modelID,u=e.prompt,h=e.styleSwitch,g=e.settingSwitch,m=e.control,f=e.guidance,p=e.steps,y=e.setActivity,w=e.setModelError,b=e.setReturnedPrompt,v=e.setInitialReturnedPrompt,k=e.setInferredImage;(0,o.useEffect)((function(){fetch("/core",{method:"GET"}).then((function(e){var a=e.body.getReader(),r=new TextDecoder("utf-8"),o="";return a.read().then((function e(s){var l=s.done,c=s.value;if(!l){o=(o+=r.decode(c,{stream:!0})).replace("[","").replaceAll(",{","{");try{for(;-1!==o.indexOf("}");){var d="",u=o.indexOf("}");if(-1!==u)d=o.slice(0,u+1),h(JSON.parse(d)),o=o.slice(u+1)}}catch(g){console.log("Error parsing JSON: "+g)}return a.read().then(e)}function h(e){i((function(t){return[e.prompt].concat((0,n.default)(t))})),t((function(t){return[e.base64].concat((0,n.default)(t))}))}console.log("Stream complete")}))})).catch((function(e){console.error("There was an error!",e)}))}),[]),(0,o.useEffect)((function(){if(s){y(!0);var e=d.value,t=function(e,t){var i="Load original IP-Adapter";return e&&(i="Load only style blocks"),t&&(i="Load only layout blocks"),e&&t&&(i="Load style+layout block"),i}(h,g),i=c[a];fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:u,steps:p,guidance:f,modelID:e,modelLabel:d.label,image:i,target:t,control:m})}).then((function(e){return e.json()})).then((function(e){if(/Model Waking/.test(e.output))l("Model Waking"),w(!0);else if(/You have exceeded your GPU quota/.test(e.output)){var t=e.output.split(": ")[2].slice(-9);l(`GPU Quota Exceeded! Try Random Models. ${t.slice(0,-1)}`),w(!0)}else/NSFW/.test(e.output)?(l("NSFW..."),w(!0)):/An error occurred/.test(e.output)?(l("Model Error!"),w(!0)):(v("Model:\n"+e.model+"\n\nPrompt:\n"+u),w(!1));r(!1),y(!1),b("Model:\n"+e.model+"\n\nPrompt:\n"+u),k("data:image/png;base64,"+e.output)})).catch((function(e){l("Application Error!"),y(!1),w(!0),r(!1),console.log(e)}))}}),[s])};var ce=i(5806),de=i(4825),ue=i(4283),he=i(2968),ge=i(8641),me=i(7390);const fe=function(e){var t=e.makeSound,i=(0,o.useRef)(null);return(0,o.useEffect)((function(){return ce.setAudioModeAsync({playsInSilentModeIOS:!0,staysActiveInBackground:!0,shouldDuckAndroid:!0,interruptionModeIOS:ce.INTERRUPTION_MODE_IOS_DO_NOT_MIX,interruptionModeAndroid:ce.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX}),function(){var e;i.current&&(null==(e=i.current)||e.unloadAsync())}}),[]),(0,o.useEffect)((function(){var e=function(){var e=(0,G.default)((function*(){var e=(yield de.Sound.createAsync({uri:"click"===t[0]?ue:"swoosh"===t[0]?he:"switch"===t[0]?ge:me},{shouldPlay:!0})).sound;i.current=e,yield e.playAsync()}));return function(){return e.apply(this,arguments)}}();t&&e()}),[t]),null};var pe=i(1872),ye=i(8507),we=i(4692),be=i(7038);function ve(){(0,f.useFonts)({Sigmar:i(3021)});var e=(0,o.useState)(pe),t=(0,r.default)(e,2),a=t[0],s=t[1],p=(0,o.useState)(28),y=(0,r.default)(p,2),v=y[0],k=y[1],x=(0,o.useState)(5),A=(0,r.default)(x,2),S=A[0],j=A[1],P=(0,o.useState)(1),F=(0,r.default)(P,2),T=F[0],I=F[1],B=(0,o.useState)({label:"Random",value:"Random"}),R=(0,r.default)(B,2),O=R[0],z=R[1],E=(0,o.useState)("Avocado Armchair"),L=(0,r.default)(E,2),H=L[0],G=L[1],V=(0,o.useState)(null),W=(0,r.default)(V,2),N=W[0],q=W[1],_=(0,o.useState)(!1),J=(0,r.default)(_,2),K=J[0],U=J[1],Z=(0,o.useState)(!1),Q=(0,r.default)(Z,2),Y=Q[0],$=Q[1],ee=(0,o.useState)("Avacado Armchair"),te=(0,r.default)(ee,2),ie=te[0],ne=te[1],oe=(0,o.useState)("Avacado Armchair"),ce=(0,r.default)(oe,2),de=ce[0],ue=ce[1],he=(0,o.useState)(!1),ge=(0,r.default)(he,2),me=ge[0],ve=ge[1],ke=(0,o.useState)(""),xe=(0,r.default)(ke,2),Ae=xe[0],je=xe[1],Ce=(0,o.useState)(null),Pe=(0,r.default)(Ce,2),Fe=Pe[0],Te=Pe[1],Ie=(0,o.useState)(!1),Be=(0,r.default)(Ie,2),Re=Be[0],De=Be[1],Oe=(0,o.useState)(""),ze=(0,r.default)(Oe,2),Me=ze[0],Ee=ze[1],Le=(0,o.useState)(null),He=(0,r.default)(Le,2),Ge=He[0],Ve=He[1],We=(0,o.useState)(null),Ne=(0,r.default)(We,2),qe=Ne[0],_e=Ne[1],Je=(0,o.useState)(!1),Ke=(0,r.default)(Je,2),Ue=Ke[0],Ze=Ke[1],Xe=(0,o.useState)([we]),Qe=(0,r.default)(Xe,2),Ye=Qe[0],$e=Qe[1],et=(0,o.useState)(!1),tt=(0,r.default)(et,2),it=tt[0],at=tt[1],nt=(0,o.useState)(!1),rt=(0,r.default)(nt,2),ot=rt[0],st=rt[1],lt=(0,o.useState)(null),ct=(0,r.default)(lt,2),dt=ct[0],ut=ct[1],ht=(0,o.useState)([null,0]),gt=(0,r.default)(ht,2),mt=gt[0],ft=gt[1],pt=(0,o.useState)([]),yt=(0,r.default)(pt,2),wt=yt[0],bt=yt[1],vt=(0,o.useState)(!1),kt=(0,r.default)(vt,2),xt=kt[0],At=kt[1],St=(0,o.useState)(null),jt=(0,r.default)(St,2),Ct=jt[0],Pt=jt[1],Ft=(0,o.useState)(3),Tt=(0,r.default)(Ft,2),It=Tt[0],Bt=Tt[1],Rt=function(e){$(!1),z(e)},Dt=function(e){ut((function(e){return e+1})),ft([e,dt])};(0,o.useEffect)((function(){xt&&(a!==we&&(console.log("swapImage",a),bt((function(e){return[de].concat((0,n.default)(e))})),$e((function(e){return[a].concat((0,n.default)(e))})),s(we),ue(""),ne("")),At(!1))}));var Ot=function(){De(!Re),Re?(q(Ae),Dt("switch")):(q(Fe),Dt("switch"))},zt=function(){q(qe)};return(0,o.useEffect)((function(){var e=function(){var e;e=g.default.get("window").width,Bt(e<600?3:e>=600&&e<1e3?4:e>=1e3&&e<1400?5:e>=1400&&e<1700?6:7)};return e(),g.default.addEventListener("change",e),function(){return g.default.removeEventListener("change",e)}}),[]),(0,w.jsxs)(l.default,{style:Se.titlecontainer,children:[(0,w.jsx)(fe,{makeSound:mt}),(0,w.jsx)(se,{setFlanPrompt:_e,prompt:H,textInference:me,setTextInference:ve,setLongPrompt:Te,setShortPrompt:je,setInferredPrompt:q,promptLengthValue:Re,setActivity:U,setModelError:$}),(0,w.jsx)(le,{setImageSource:$e,setPromptList:bt,selectedImageIndex:Ct,setInferrenceButton:Ve,inferrenceButton:Ge,setModelMessage:Ee,imageSource:Ye,modelID:O,prompt:H,styleSwitch:ot,settingSwitch:it,control:T,guidance:S,steps:v,setActivity:U,setModelError:$,setReturnedPrompt:ne,setInitialReturnedPrompt:ue,setInferredImage:s}),(0,w.jsx)(D,{}),(0,w.jsx)(c.default,{scrollY:!0,style:Se.ScrollView,showsVerticalScrollIndicator:!1,children:g.default.get("window").width>1e3?(0,w.jsxs)(l.default,{style:Se.rowContainer,children:[Ue&&(0,w.jsx)(u.default,{onPress:function(){At(!0),Dt("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButton,{top:t?g.default.get("window").height/2-123:g.default.get("window").height/2-125,left:t?g.default.get("window").width/2-13:g.default.get("window").width/2-15,width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}}),(0,w.jsxs)(l.default,{style:Se.leftColumnContainer,children:[(0,w.jsx)(l.default,{children:(0,w.jsx)(C,{setPlaySound:Dt,setPrompt:G,inferredPrompt:N})}),(0,w.jsxs)(l.default,{style:[Se.rowContainer,{padding:0}],children:[(0,w.jsx)(M,{setPlaySound:Dt,passModelID:Rt}),(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(ae,{setPlaySound:Dt,switchToFlan:zt,setInferrenceButton:Ve,activity:K,longPrompt:Fe,setTextInference:ve,switchPromptFunction:Ot,promptLengthValue:Re}),Y?(0,w.jsx)(d.default,{style:Se.promptText,children:Me}):(0,w.jsx)(w.Fragment,{})]})]}),(0,w.jsx)(re,{setPlaySound:Dt,isImagePickerVisible:Ue,setImagePickerVisible:Ze}),Ue&&(0,w.jsx)(X,{columnCount:It,selectedImageIndex:Ct,setSelectedImageIndex:Pt,initialReturnedPrompt:de,setReturnedPrompt:ne,promptList:wt,setPromptList:bt,setPlaySound:Dt,imageSource:Ye,setImageSource:$e,styleSwitch:ot,setStyleSwitch:st,settingSwitch:it,setSettingSwitch:at}),(0,w.jsx)(b,{setSteps:k,setGuidance:j,setControl:I})]}),(0,w.jsxs)(l.default,{style:Se.rightColumnContainer,children:[(0,w.jsx)(l.default,{style:Se.imageCard,children:a&&(0,w.jsx)(h.default,{source:"number"===typeof a?a:{uri:a},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:ie})]})]}):(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(C,{setPlaySound:Dt,setPrompt:G,inferredPrompt:N}),(0,w.jsx)(M,{setPlaySound:Dt,passModelID:Rt}),(0,w.jsx)(ae,{setPlaySound:Dt,switchToFlan:zt,setInferrenceButton:Ve,activity:K,longPrompt:Fe,setTextInference:ve,switchPromptFunction:Ot,promptLengthValue:Re}),Y?(0,w.jsx)(d.default,{style:Se.promptText,children:Me}):(0,w.jsx)(w.Fragment,{}),(0,w.jsx)(re,{setPlaySound:Dt,isImagePickerVisible:Ue,setImagePickerVisible:Ze}),(0,w.jsx)(l.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:Ue&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(X,{columnCount:It,selectedImageIndex:Ct,setSelectedImageIndex:Pt,initialReturnedPrompt:de,setReturnedPrompt:ne,promptList:wt,setPromptList:bt,setPlaySound:Dt,imageSource:Ye,setImageSource:$e,styleSwitch:ot,setStyleSwitch:st,settingSwitch:it,setSettingSwitch:at}),(0,w.jsx)(u.default,{onPress:function(){At(!0),Dt("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButtonColumn,{width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}})]})}),(0,w.jsx)(b,{setSteps:k,setGuidance:j,setControl:I}),(0,w.jsx)(l.default,{style:Se.imageCard,children:a&&(0,w.jsx)(h.default,{source:"number"===typeof a?a:{uri:a},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:ie})]})}),(0,w.jsx)(m.StatusBar,{style:"auto"})]})}var ke="#25292e",xe="#3a3c3f",Ae="#FFFFFF",Se=s.default.create({titlecontainer:{backgroundColor:ke,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ke,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",zIndex:1,elevation:3,backgroundColor:xe},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:xe},promptText:{color:Ae,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"System"},ScrollView:{backgroundColor:ke,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,alignSelf:"center"},imageCard:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center",backgroundColor:ke,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),je=document.getElementById("root");(0,a.createRoot)(je).render((0,w.jsx)((function(){return(0,w.jsx)("div",{children:(0,w.jsx)(ve,{})})}),{}))},3021:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/click.514e4b6ee663e4f549a5.wav"},7390:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,i)=>{"use strict";e.exports=i.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"},7790:()=>{},3776:()=>{},8285:()=>{},3902:()=>{},1638:()=>{},2668:()=>{},5340:()=>{},9838:()=>{}},t={};function i(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,(()=>{var e=[];i.O=(t,a,n,r)=>{if(!a){var o=1/0;for(d=0;d<e.length;d++){for(var[a,n,r]=e[d],s=!0,l=0;l<a.length;l++)(!1&r||o>=r)&&Object.keys(i.O).every((e=>i.O[e](a[l])))?a.splice(l--,1):(s=!1,r<o&&(o=r));if(s){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[a,n,r]}})(),i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;i.t=function(a,n){if(1&n&&(a=this(a)),8&n)return a;if("object"===typeof a&&a){if(4&n&&a.__esModule)return a;if(16&n&&"function"===typeof a.then)return a}var r=Object.create(null);i.r(r);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&a;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>o[e]=()=>a[e]));return o.default=()=>a,i.d(r,o),r}})(),i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",(()=>{var e={792:0};i.O.j=t=>0===e[t];var t=(t,a)=>{var n,r,[o,s,l]=a,c=0;if(o.some((t=>0!==e[t]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(l)var d=l(i)}for(t&&t(a);c<o.length;c++)r=o[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(d)},a=self.webpackChunkweb=self.webpackChunkweb||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var a=i.O(void 0,[23],(()=>i(9618)));a=i.O(a)})();
|
2 |
+
//# sourceMappingURL=main.5d2851a8.js.map
|
web-build/static/js/main.5d2851a8.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/main.61bb8bf6.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={470:(e,t,a)=>{a.r(t);var i=a(4657),n=a(6665),r=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),u=a(3117),g=a(4547),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:t}){const[a,i]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:t=>{i(t),e(t)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),t(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach((function(t){(0,v.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function S({setPrompt:e,inferredPrompt:t}){const[i,r]=n.useState(""),{width:o}=(0,d.default)(),l=x(x({},F.input),{},{width:o>500?500:o-80});(0,n.useEffect)((()=>{t&&(r(t),e(t))}),[t]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:l,placeholder:"",multiline:!0,textAlign:"center",onChangeText:t=>{r(t),e(t)},value:i,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:e?25:30,width:e?25:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center"}],onPress:()=>{r(""),e("")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",T="#000000",F=r.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:T,fontFamily:"Sigmar",marginRight:10}});var P=a(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new P.default.Value(0)))).current,{width:t}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,t)=>{const a=P.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=P.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map(((e,t)=>P.default.sequence([P.default.delay(e),a,i]))),l=P.default.sequence(o);return P.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:D.containerbreathing,children:(0,f.jsxs)(l.default,{style:D.heading,children:[(0,f.jsx)(P.default.Text,{style:[D.char,a[0]],children:"P"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[1]],children:"I"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[2]],children:"X"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[3]],children:"E"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[4]],children:"L"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[5]],children:" "}),(0,f.jsx)(P.default.Text,{style:[D.char,a[6]],children:"P"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[7]],children:"R"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[8]],children:"O"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[9]],children:"M"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[10]],children:"P"}),(0,f.jsx)(P.default.Text,{style:[D.char,a[11]],children:"T"})]})})}const D=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var I=a(5781);function z({passModelID:e}){const[t,a]=(0,n.useState)("Model ID");return(0,f.jsx)(I.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:[{label:"Stable Diffusion",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Step Aware",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:t,onChange:t=>{e(t.value),a(t.label)}})}const R="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:300,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var H=a(4037),E=a(1218),L=a(2741),G=a(9050);const V="#25292e",W="#3a3c3f",q="#FFFFFF",_=r.default.create({image:{marginTop:20},switchesRowContainer:{backgroundColor:V,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{height:200,alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:0,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:W},promptText:{color:q,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),N=({imageSource:e,setImageSource:t,styleSwitch:i,setStyleSwitch:r,settingSwitch:o,setSettingSwitch:d})=>{const[u,g]=(0,n.useState)(null);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(s.default,{style:_.switchesRowContainer,children:[(0,f.jsxs)(s.default,{style:_.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:i?"#9DA58D":"#FFFFFF"},_.sliderText],children:"Style"}),(0,f.jsx)(H.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{r(!i)},value:i})]}),(0,f.jsxs)(s.default,{style:_.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:o?"#9FA8DA":"#FFFFFF"},_.sliderText],children:"Layout"}),(0,f.jsx)(H.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{d(!o)},value:o})]})]}),(0,f.jsx)(E.default,{data:e,numColumns:3,keyExtractor:(e,t)=>t.toString(),renderItem:({item:e,index:i})=>(0,f.jsxs)(s.default,{style:[_.imageColumnContainer,{height:u===i?400:200}],children:[(0,f.jsx)(s.default,{style:[_.columnContainer],children:(0,f.jsx)(c.default,{onPress:()=>{g(u!==i?i:null)},style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:[_.image,{width:u===i?400:150,height:u===i?400:150,margin:10}]})})}),(0,f.jsx)(c.default,{onPress:()=>{(e=>{t((t=>t.length>1?t.filter(((t,a)=>a!==e)):t))})(i)},style:{position:"absolute",top:0,right:0},children:({pressed:e})=>(0,f.jsx)(h.default,{source:a(e?8945:3558),style:[_.changeButton]})}),(0,f.jsx)(c.default,{style:[_.selectButton],onPress:()=>(async e=>{const{status:a}=await L.requestMediaLibraryPermissionsAsync();if("granted"!==a)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const i=await L.launchImageLibraryAsync({mediaTypes:G.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});i.cancelled||t((t=>{const a=[...t];return a[e]=i.assets[0].uri,a}))})(i),children:(0,f.jsx)(l.default,{style:_.promptText,children:"Select"})})]})})]})};var J=a(530);const K="#25292e",Z="#FFFFFF",U=r.default.create({rowContainer:{backgroundColor:K,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:Z,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),$=({comboButtonPressed:e,setComboButtonPressed:t,switchToFlan:i,setInferrenceButton:n,activity:r,longPrompt:o,setTextInference:d,switchPromptFunction:u,promptLengthValue:g,setParametersWrapper:m})=>(0,f.jsx)(f.Fragment,{children:r?(0,f.jsx)(J.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[o?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[U.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{d(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:U.columnContainer,children:[(0,f.jsxs)(s.default,{style:[U.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:e||g?"#FFFFFF":"#9FA8DA",marginRight:15},U.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:e?"#FFFFFF":g?"#9FA8DA":"#FFFFFF",marginRight:15},U.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[U.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(H.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:u,value:g}),(0,f.jsx)(c.default,{onPress:()=>{i(),t(!0)},children:(0,f.jsx)(h.default,{source:a(e?1284:4663),style:[{marginRight:30},U.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{d(!0)},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},U.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:U.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{n(!0),m()},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},U.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:U.promptText,children:e?"INFERRED!":"Inference"})})]})}),X=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),Q=({isImagePickerVisible:e,setImagePickerVisible:t,window:i})=>{const n=a(1297),r=a(8707);return(0,f.jsx)(c.default,{style:[X.expandButton,{alignSelf:"flex-start",marginLeft:(i.width,"20%"),marginBottom:0}],onPress:()=>t(!e),children:e?(0,f.jsx)(h.default,{source:r,style:X.expandImage}):(0,f.jsx)(h.default,{source:n,style:X.expandImage})})},Y=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),ee=({setFlanPrompt:e,prompt:t,textInference:a,setTextInference:i,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(a){c(!0),d(!1);let a="";if("Avocado Armchair"===t||""===t){const e=Math.floor(Math.random()*Y.seeds.length);if(e>Y.seeds.length-13)return r(Y.seeds[e]),s(Y.seeds[e]),o(Y.seeds[e]),void c(!1);a=Y.seeds[e]}else a=t;const i=`I'm giving you a seed string. Return the seed string as a Prompt for a Stable Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token length for Stable Diffusion Models do not apply. Make it descriptive and creative. Here is the seed string. : ${a}`;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:i,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((t=>{const i=t[0].generated_text;console.log(i);const n=i.substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+i.substring(150);e(t[0].flan),r(n),s(a),o(l?n:a),c(!1)})).catch((e=>console.error("Error:",e)))}i(!1)}),[a])},te=({setInferrenceButton:e,inferrenceButton:t,setModelMessage:a,imageSource:i,parameters:r,modelID:s,prompt:o,styleSwitch:l,settingSwitch:c,guidance:d,steps:h,setActivity:u,setModelError:g,setReturnedPrompt:m,setInferredImage:p})=>{const[f,y]=(0,n.useState)("");(0,n.useEffect)((()=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"})};fetch("/core",e)}),[]),(0,n.useEffect)((()=>{if(f){let t={none:{key2:[0,0]}};l&&(t={up:{block_0:[0,1,0]}}),c&&(t={down:{block_2:[0,1]}}),l&&c&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(t),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:f,scale:t})}).then((e=>e.json())).then((t=>{u(!1),e(!1),m(o),y(null),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[f]),(0,n.useEffect)((()=>{if(t)if(console.log(r),u(!0),s.includes("pix2pix"))a("Inference API img2img NotAvailable"),u(!1),g(!0),e(!1);else{const t={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:"test",scale:t})}).then((e=>e.json())).then((t=>{"Model Waking"==t.output&&(a("Model Waking"),u(!1),g(!0),e(!1)),e(!1),u(!1),m(o),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[t])},ae=a(1872);function ie(){(0,g.useFonts)({Sigmar:a(3021)});const[e,t]=(0,n.useState)(ae),[i,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("stabilityai/stable-diffusion-xl-base-1.0"),[v,k]=(0,n.useState)("Avocado Armchair"),[A,x]=(0,n.useState)(null),[j,C]=(0,n.useState)(null),[T,F]=(0,n.useState)(!1),[P,D]=(0,n.useState)(!1),[I,R]=(0,n.useState)("Avocado Armchair"),[M,O]=(0,n.useState)(!1),[H,E]=(0,n.useState)(""),[L,G]=(0,n.useState)(null),[V,W]=(0,n.useState)(!1),[q,_]=(0,n.useState)(""),[J,K]=(0,n.useState)(null),[Z,U]=(0,n.useState)(null),[X,Y]=(0,n.useState)(!1),[ie,ne]=(0,n.useState)(!1),[re,se]=(0,n.useState)([ae]),[le,ce]=(0,n.useState)(!1),[de,he]=(0,n.useState)(!1),ue=(0,d.default)(),ge=a(8507),me=e=>{D(!1),b(e)},pe=()=>{se((t=>[...t,e]))},fe=()=>{W(!V),x(V?H:L),Y(!1)},ye=()=>{x(Z)},we=()=>{C(`${v}-${i}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:oe.titlecontainer,children:[(0,f.jsx)(ee,{setFlanPrompt:U,prompt:v,textInference:M,setTextInference:O,setLongPrompt:G,setShortPrompt:E,setInferredPrompt:x,promptLengthValue:V,setActivity:F,setModelError:D}),(0,f.jsx)(te,{setInferrenceButton:K,inferrenceButton:J,setModelMessage:_,imageSource:re,parameters:j,modelID:w,prompt:v,styleSwitch:de,settingSwitch:le,guidance:m,steps:i,setActivity:F,setModelError:D,setReturnedPrompt:R,setInferredImage:t}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:oe.ScrollView,showsVerticalScrollIndicator:!1,children:ue.width>1e3?(0,f.jsxs)(s.default,{style:oe.rowContainer,children:[ie&&(0,f.jsx)(c.default,{onPress:()=>{pe()},style:[oe.swapButton,{top:ue.height/2-15,left:ue.width/2-15}],children:(0,f.jsx)(h.default,{source:ge,style:oe.changeButton})}),(0,f.jsxs)(s.default,{style:oe.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A})}),(0,f.jsxs)(s.default,{style:[oe.rowContainer,{padding:0}],children:[(0,f.jsx)(z,{passModelID:me}),(0,f.jsxs)(s.default,{style:oe.columnContainer,children:[(0,f.jsx)($,{comboButtonPressed:X,setComboButtonPressed:Y,switchToFlan:ye,setInferrenceButton:K,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:fe,promptLengthValue:V,setParametersWrapper:we}),P?(0,f.jsx)(l.default,{style:oe.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsx)(Q,{isImagePickerVisible:ie,setImagePickerVisible:ne,window:ue}),ie&&(0,f.jsx)(N,{imageSource:re,setImageSource:se,styleSwitch:de,setStyleSwitch:he,settingSwitch:le,setSettingSwitch:ce}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]}),(0,f.jsxs)(s.default,{style:oe.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:oe.imageStyle}),(0,f.jsx)(l.default,{style:oe.promptText,children:I})]})]}):(0,f.jsxs)(s.default,{style:oe.columnContainer,children:[(0,f.jsx)(S,{setPrompt:k,inferredPrompt:A}),(0,f.jsx)(z,{passModelID:me}),(0,f.jsx)($,{comboButtonPressed:X,setComboButtonPressed:Y,switchToFlan:ye,setInferrenceButton:K,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:fe,promptLengthValue:V,setParametersWrapper:we}),P?(0,f.jsx)(l.default,{style:oe.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(Q,{isImagePickerVisible:ie,setImagePickerVisible:ne,window:ue}),(0,f.jsx)(s.default,{style:{flex:1},children:ie&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(N,{imageSource:re,setImageSource:se,styleSwitch:de,setStyleSwitch:he,settingSwitch:le,setSettingSwitch:ce}),(0,f.jsx)(c.default,{onPress:()=>{pe()},style:oe.swapButtonColumn,children:(0,f.jsx)(h.default,{source:ge,style:oe.changeButton})})]})}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:oe.imageStyle}),(0,f.jsx)(l.default,{style:oe.promptText,children:I})]})}),(0,f.jsx)(u.default,{style:"auto"})]})}const ne="#25292e",re="#3a3c3f",se="#FFFFFF",oe=r.default.create({titlecontainer:{backgroundColor:ne,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ne,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:re},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:re},promptText:{color:se,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:ne,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),le=document.getElementById("root");(0,i.createRoot)(le).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ie,{})})),{}))},3021:(e,t,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},1872:(e,t,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[133],(()=>a(470)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.61bb8bf6.js.map
|
web-build/static/js/main.61bb8bf6.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.61bb8bf6.js","mappings":"0LAIe,SAASA,GAAgB,SAAEC,EAAQ,YAAEC,IAClD,MAAOC,EAAeC,GAAoBC,EAAAA,SAAe,KAClDC,EAAeC,GAAoBF,EAAAA,SAAe,GAczD,OACEG,EAAAA,EAAAA,MAACC,EAAAA,QAAI,CAACC,MAAOC,EAAOC,UAAUC,SAAA,EAC5BC,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,oBACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,EACdC,aAAc,GACdC,KAAM,EACNC,MAAOnB,EACPoB,sBAAsB,UACtBC,sBAAsB,UACtBC,eAAe,UACfC,cAvBoBC,IACxBvB,EAAiBuB,GACjB1B,EAAS0B,EAAE,KAuBTb,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOiB,YAAYf,SAAEV,KAClCW,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,cACjCC,EA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OH,EAAoB,OAC7F6D,EAAsB7D,EAAoBY,EAAEiD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: pressed ? 25 : 30,\r\n width: pressed ? 25 : 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n \r\n}) {\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n \r\n\r\n \r\n const data = [\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n {\r\n label: \"Step Aware\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n \r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n \r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={data}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n setPlaceholderModelID(item.label);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React, { useState } from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch, FlatList } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst MyImagePicker = ({\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const [selectedImageIndex, setSelectedImageIndex] = useState(null);\n\n const selectImage = async (index) => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(prevImageSource => {\n const newImageSource = [...prevImageSource];\n newImageSource[index] = result.assets[0].uri;\n return newImageSource;\n });\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n };\n\n const deleteFromImageArray = (index) => {\n setImageSource(prevImageSource => {\n if (prevImageSource.length > 1) {\n return prevImageSource.filter((_, i) => i !== index);\n }\n return prevImageSource;\n });\n};\n\n return (\n <> \n <View style={styles.switchesRowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View> \n <FlatList\n data={imageSource}\n numColumns={3}\n keyExtractor={(item, index) => index.toString()}\n renderItem={({ item: source, index }) => (\n <View style={[styles.imageColumnContainer, {height: selectedImageIndex === index ? 400 : 200}]}>\n <View style={[styles.columnContainer,]}>\n <Pressable\n onPress={() => {\n if(selectedImageIndex === index) {\n setSelectedImageIndex(null);\n return;\n }\n setSelectedImageIndex(index);\n \n }}\n style={{flex: 1, alignItems: \"center\", justifyContent: \"center\"}} \n >\n <Image\n source={\n typeof source === \"number\" ? source : { uri: source }\n }\n style={[\n styles.image,\n {width: selectedImageIndex === index ? 400 : 150, height: selectedImageIndex === index ? 400 : 150,\n margin: 10,\n \n }\n ]}\n />\n </Pressable>\n </View>\n <Pressable\n onPress={() => {\n deleteFromImageArray(index);\n }}\n style={{position: \"absolute\", top: 0, right: 0}} \n >\n {({ pressed }) => (\n <Image\n source={pressed ? require(\"../assets/delete_colored.png\") : require(\"../assets/delete.png\")}\n style={[ styles.changeButton]}\n />)}\n </Pressable> \n <Pressable style={[styles.selectButton]} onPress={() => selectImage(index)}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n )}\n />\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n image: {\n marginTop: 20,\n },\n switchesRowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 300,\n height: 50,\n marginBottom: 20,\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n imageColumnContainer: {\n height: 200,\n alignItems: \"center\",\n flexDirection: \"column\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 0,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n \n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\nconst Buttons = ({\n comboButtonPressed,\n setComboButtonPressed,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={switchPromptFunction}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setComboButtonPressed(true);\n }}\n >\n <Image\n source={comboButtonPressed ? require(\"../assets/join_colored.png\") : require(\"../assets/join.png\")}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ isImagePickerVisible, setImagePickerVisible, window }) => {\n\n const rightImage = require(\"../assets/right.png\");\n const downImage = require(\"../assets/down.png\");\n\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"20%\",\n marginBottom: 0,\n },\n ]}\n onPress={() => setImagePickerVisible(!isImagePickerVisible)}\n >\n {isImagePickerVisible ? (\n <Image\n source={downImage}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={rightImage}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n const mistrialPrompt = `I'm giving you a seed string. Return the seed string as a Prompt for a Stable \\\n Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token \\\n length for Stable Diffusion Models do not apply. Make it descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt\", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: mistrialPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n console.log(generatedText);\n \n const longPromptHolder = generatedText\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + generatedText.substring(150);\n \n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(alteredPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(alteredPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n useEffect(() => {\n const modelData = 'SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep';\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n model: modelData\n })\n };\n fetch('/core', requestOptions)\n}, []);\n \n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (modelID.includes('pix2pix')) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"stabilityai/stable-diffusion-xl-base-1.0\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [comboButtonPressed, setComboButtonPressed] = useState(false);\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState([assetImage]);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n const window = useWindowDimensions();\r\n const circleImage = require(\"./assets/circle.png\");\r\n\r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const swapImage = () => {\r\n setImageSource(prevImageSource => [...prevImageSource, inferredImage]);\r\n };\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n }\r\n setComboButtonPressed(false);\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={[\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n },\r\n ]}\r\n >\r\n <Image\r\n source={circleImage}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n comboButtonPressed={comboButtonPressed}\r\n setComboButtonPressed={setComboButtonPressed}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n \r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n \r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <Buttons\r\n comboButtonPressed={comboButtonPressed}\r\n setComboButtonPressed={setComboButtonPressed}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n <View style={{flex:1}}>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={styles.swapButtonColumn}\r\n >\r\n <Image\r\n source={circleImage}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n </>\r\n )}\r\n </View>\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n \r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [133], () => (__webpack_require__(470)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","placeholderModelID","setPlaceholderModelID","useState","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","image","switchesRowContainer","marginBottom","overflow","imageColumnContainer","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","changeButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","MyImagePicker","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","selectedImageIndex","setSelectedImageIndex","_Fragment","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","FlatList","numColumns","keyExtractor","toString","renderItem","uri","prevImageSource","length","filter","_","i","deleteFromImageArray","top","right","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","newImageSource","assets","selectImage","rowContainer","display","button","activityIndicator","marginLeft","Buttons","comboButtonPressed","setComboButtonPressed","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","ActivityIndicator","size","expandButton","expandImage","Expand","isImagePickerVisible","setImagePickerVisible","window","rightImage","downImage","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","mistrialPrompt","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","generatedText","lPrompt","substring","split","slice","replace","catch","error","Inference","inferrenceButton","setModelMessage","parameters","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","requestOptions","model","scaledIP","none","key2","up","block_0","down","block_2","scale","output","includes","ipScaleHolder","key1","assetImage","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","circleImage","passModelIDWrapper","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","bottom","zIndex","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.7bca34d3.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={9618:(e,t,a)=>{a.r(t);var i=a(4657),n=a(6665),r=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),u=a(3117),g=a(3374),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:t}){const[a,i]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:t=>{i(t),e(t)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),t(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach((function(t){(0,v.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function S({setPlaySound:e,setPrompt:t,inferredPrompt:i}){const[r,o]=n.useState(""),{width:l}=(0,d.default)(),u=x(x({},T.input),{},{width:l>500?500:l-80});(0,n.useEffect)((()=>{i&&(o(i),t(i))}),[i]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:u,placeholder:"",multiline:!0,textAlign:"center",onChangeText:e=>{o(e),t(e)},value:r,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:30,width:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}],onPress:()=>{o(""),t(""),e("click")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",P="#000000",T=r.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:P,fontFamily:"Sigmar",marginRight:10}});var F=a(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new F.default.Value(0)))).current,{width:t}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,t)=>{const a=F.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=F.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map(((e,t)=>F.default.sequence([F.default.delay(e),a,i]))),l=F.default.sequence(o);return F.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:D.containerbreathing,children:(0,f.jsxs)(l.default,{style:D.heading,children:[(0,f.jsx)(F.default.Text,{style:[D.char,a[0]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[1]],children:"I"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[2]],children:"X"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[3]],children:"E"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[4]],children:"L"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[5]],children:" "}),(0,f.jsx)(F.default.Text,{style:[D.char,a[6]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[7]],children:"R"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[8]],children:"O"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[9]],children:"M"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[10]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[11]],children:"T"})]})})}const D=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var I=a(5781);function z({passModelID:e}){const[t,a]=(0,n.useState)("Model ID");return(0,f.jsx)(I.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:[{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"SPO Diffusion XL",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:t,onChange:t=>{e(t.value),a(t.label)}})}const R="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var E=a(4037),H=a(1218),L=a(7630),G=a(9050);const V=a(4692),W=a(8945),q=a(3558),_="#25292e",N="#3a3c3f",J="#FFFFFF",K=r.default.create({flatListContainer:{width:"auto",height:"auto"},image:{marginTop:20},switchesRowContainer:{backgroundColor:_,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{height:200,alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:0,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:N},promptText:{color:J,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Z=({window:e,setPlaySound:t,imageSource:a,setImageSource:i,styleSwitch:r,setStyleSwitch:o,settingSwitch:d,setSettingSwitch:u})=>{const[g,m]=(0,n.useState)(null),[p,y]=(0,n.useState)(q);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(s.default,{style:K.switchesRowContainer,children:[(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:r?"#9DA58D":"#FFFFFF"},K.sliderText],children:"Style"}),(0,f.jsx)(E.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{o(!r),t("switch")},value:r})]}),(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:d?"#9FA8DA":"#FFFFFF"},K.sliderText],children:"Layout"}),(0,f.jsx)(E.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{u(!d),t("switch")},value:d})]})]}),(0,f.jsx)(s.default,{style:K.flatListContainer,children:(0,f.jsx)(H.default,{data:a,numColumns:e.width<1e3?1:3,keyExtractor:(e,t)=>t.toString(),renderItem:({item:e,index:a})=>(0,f.jsxs)(s.default,{style:[K.imageColumnContainer,{height:g===a?400:200}],children:[(0,f.jsx)(s.default,{style:[K.columnContainer],children:(0,f.jsx)(c.default,{onPress:()=>{t("click"),m(g!==a?a:null)},style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:[K.image,{width:g===a?400:150,height:g===a?400:150,margin:10}]})})}),(0,f.jsx)(c.default,{onPress:()=>{(e=>{i((a=>(t("click"),a.length>1?a.filter(((t,a)=>a!==e)):[V])))})(a)},style:{position:"absolute",top:0,right:0},children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?W:q,style:[K.changeButton]})}),(0,f.jsx)(c.default,{style:[K.selectButton],onPress:()=>{t("click"),(async e=>{const{status:t}=await L.requestMediaLibraryPermissionsAsync();if("granted"!==t)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const a=await L.launchImageLibraryAsync({mediaTypes:G.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});a.cancelled||i((t=>{const i=[...t];return i[e]=a.assets[0].uri,i}))})(a)},children:(0,f.jsx)(l.default,{style:K.promptText,children:"Select"})})]})})})]})};var U=a(530);const X=a(1284),$=a(4663),Q="#25292e",Y="#FFFFFF",ee=r.default.create({rowContainer:{backgroundColor:Q,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:Y,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),te=({setPlaySound:e,switchToFlan:t,setInferrenceButton:a,activity:i,longPrompt:r,setTextInference:o,switchPromptFunction:d,promptLengthValue:u,setParametersWrapper:g})=>{const[m,p]=(0,n.useState)(!1);return(0,f.jsx)(f.Fragment,{children:i?(0,f.jsx)(U.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[r?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[ee.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:ee.columnContainer,children:[(0,f.jsxs)(s.default,{style:[ee.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:m||u?"#FFFFFF":"#9FA8DA",marginRight:15},ee.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:m?"#FFFFFF":u?"#9FA8DA":"#FFFFFF",marginRight:15},ee.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[ee.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(E.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{p(!1),d()},value:u}),(0,f.jsx)(c.default,{onPress:()=>{t(),p(!0),e("click")},children:(0,f.jsx)(h.default,{source:m?X:$,style:[{marginRight:30},ee.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},ee.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:ee.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{a(!0),g(),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},ee.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:ee.promptText,children:e?"INFERRED!":"Inference"})})]})})},ae=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),ie=({setPlaySound:e,isImagePickerVisible:t,setImagePickerVisible:i,window:n})=>{const r=a(1297),s=a(8707);return(0,f.jsx)(c.default,{style:[ae.expandButton,{alignSelf:"flex-start",marginLeft:(n.width,"20%"),marginBottom:0}],onPress:()=>{e("expand"),i(!t)},children:t?(0,f.jsx)(h.default,{source:s,style:ae.expandImage}):(0,f.jsx)(h.default,{source:r,style:ae.expandImage})})},ne=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),re=({setFlanPrompt:e,prompt:t,textInference:a,setTextInference:i,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(a){c(!0),d(!1);let a="";if("Avocado Armchair"===t||""===t){const e=Math.floor(Math.random()*ne.seeds.length);if(e>ne.seeds.length-13)return r(ne.seeds[e]),s(ne.seeds[e]),o(ne.seeds[e]),void c(!1);a=ne.seeds[e]}else a=t;const i=`I'm giving you a seed string. Return the seed string as a Prompt for a Stable Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token length for Stable Diffusion Models do not apply. Make it descriptive and creative. Here is the seed string. : ${a}`;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:i,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((t=>{const i=t[0].generated_text;console.log(i);const n=i.substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+i.substring(150);e(t[0].flan),r(n),s(a),o(l?n:a),c(!1)})).catch((e=>console.error("Error:",e)))}i(!1)}),[a])},se=({setInferrenceButton:e,inferrenceButton:t,setModelMessage:a,imageSource:i,parameters:r,modelID:s,prompt:o,styleSwitch:l,settingSwitch:c,guidance:d,steps:h,setActivity:u,setModelError:g,setReturnedPrompt:m,setInferredImage:p})=>{const[f,y]=(0,n.useState)("");(0,n.useEffect)((()=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"})};fetch("/core",e)}),[]),(0,n.useEffect)((()=>{if(f){let t={none:{key2:[0,0]}};l&&(t={up:{block_0:[0,1,0]}}),c&&(t={down:{block_2:[0,1]}}),l&&c&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(t),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:f,scale:t})}).then((e=>e.json())).then((t=>{u(!1),e(!1),m(o),y(null),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[f]),(0,n.useEffect)((()=>{if(t)if(console.log(r),u(!0),s.includes("pix2pix"))a("Inference API img2img NotAvailable"),u(!1),g(!0),e(!1);else{const t={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:"test",scale:t})}).then((e=>e.json())).then((t=>{"Model Waking"==t.output&&(a("Model Waking"),u(!1),g(!0),e(!1)),e(!1),u(!1),m(o),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[t])};var oe=a(4432);const le=a(4283),ce=a(2968),de=a(8641),he=a(5009),ue=({playSound:e,makeSound:t})=>{const a=(0,n.useRef)();return(0,n.useEffect)((()=>()=>{a.current&&a.current.unloadAsync()}),[]),(0,n.useEffect)((()=>{if(e){let t;switch(e){case"click":t=le;break;case"swoosh":t=ce;break;case"switch":t=de;break;case"expand":t=he;break;default:return}console.log("playsound"),a.current&&a.current.unloadAsync();(async()=>{const{sound:e}=await oe.Sound.createAsync(t);a.current=e,await a.current.playAsync()})().catch((e=>{console.log("Failed to load and play the sound",e)}))}}),[t]),null},ge=a(1872),me=a(8507),pe=a(4692),fe=a(7038);function ye(){(0,g.useFonts)({Sigmar:a(3021)});const[e,t]=(0,n.useState)(ge),[i,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("stabilityai/stable-diffusion-xl-base-1.0"),[v,k]=(0,n.useState)("Avocado Armchair"),[A,x]=(0,n.useState)(null),[j,C]=(0,n.useState)(null),[P,T]=(0,n.useState)(!1),[F,D]=(0,n.useState)(!1),[I,R]=(0,n.useState)("Avacado Armchair"),[M,O]=(0,n.useState)(!1),[E,H]=(0,n.useState)(""),[L,G]=(0,n.useState)(null),[V,W]=(0,n.useState)(!1),[q,_]=(0,n.useState)(""),[N,J]=(0,n.useState)(null),[K,U]=(0,n.useState)(null),[X,$]=(0,n.useState)(!1),[Q,Y]=(0,n.useState)([pe]),[ee,ae]=(0,n.useState)(!1),[ne,oe]=(0,n.useState)(!1),[le,ce]=(0,n.useState)(null),[de,he]=(0,n.useState)(0),ye=(0,d.default)(),we=e=>{D(!1),b(e)},be=e=>{ce(e),he((e=>e+1))},ve=()=>{Y((t=>[...t,e])),t(pe)};(0,n.useEffect)((()=>{if(Q.length>1&&Q.includes(pe)){const e=Q.filter((e=>e!==pe));Y(e)}}),[Q]);const Ae=()=>{W(!V),V?(x(E),be("switch")):(x(L),be("switch"))},xe=()=>{x(K)},Se=()=>{C(`${v}-${i}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:ke.titlecontainer,children:[(0,f.jsx)(ue,{playSound:le,makeSound:de}),(0,f.jsx)(re,{setFlanPrompt:U,prompt:v,textInference:M,setTextInference:O,setLongPrompt:G,setShortPrompt:H,setInferredPrompt:x,promptLengthValue:V,setActivity:T,setModelError:D}),(0,f.jsx)(se,{setInferrenceButton:J,inferrenceButton:N,setModelMessage:_,imageSource:Q,parameters:j,modelID:w,prompt:v,styleSwitch:ne,settingSwitch:ee,guidance:m,steps:i,setActivity:T,setModelError:D,setReturnedPrompt:R,setInferredImage:t}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:ke.ScrollView,showsVerticalScrollIndicator:!1,children:ye.width>1e3?(0,f.jsxs)(s.default,{style:ke.rowContainer,children:[X&&(0,f.jsx)(c.default,{onPress:()=>{ve(),be("swoosh")},style:({pressed:e})=>[ke.swapButton,{top:ye.height/2-15,left:ye.width/2-15,width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?fe:me,style:[ke.changeButton,e?{width:55,height:55}:{width:60,height:60}]})}),(0,f.jsxs)(s.default,{style:ke.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPlaySound:be,setPrompt:k,inferredPrompt:A})}),(0,f.jsxs)(s.default,{style:[ke.rowContainer,{padding:0}],children:[(0,f.jsx)(z,{setPlaySound:be,passModelID:we}),(0,f.jsxs)(s.default,{style:ke.columnContainer,children:[(0,f.jsx)(te,{setPlaySound:be,switchToFlan:xe,setInferrenceButton:J,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:Ae,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:ke.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsx)(ie,{setPlaySound:be,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),X&&(0,f.jsx)(Z,{window:ye,setPlaySound:be,imageSource:Q,setImageSource:Y,styleSwitch:ne,setStyleSwitch:oe,settingSwitch:ee,setSettingSwitch:ae}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]}),(0,f.jsxs)(s.default,{style:ke.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:ke.imageStyle}),(0,f.jsx)(l.default,{style:ke.promptText,children:I})]})]}):(0,f.jsxs)(s.default,{style:ke.columnContainer,children:[(0,f.jsx)(S,{setPlaySound:be,setPrompt:k,inferredPrompt:A}),(0,f.jsx)(z,{setPlaySound:be,passModelID:we}),(0,f.jsx)(te,{setPlaySound:be,switchToFlan:xe,setInferrenceButton:J,activity:P,longPrompt:L,setTextInference:O,switchPromptFunction:Ae,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:ke.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(ie,{setPlaySound:be,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),(0,f.jsx)(s.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:X&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z,{window:ye,setPlaySound:be,imageSource:Q,setImageSource:Y,styleSwitch:ne,setStyleSwitch:oe,settingSwitch:ee,setSettingSwitch:ae}),(0,f.jsx)(c.default,{onPress:()=>{ve(),be("swoosh")},style:({pressed:e})=>[ke.swapButtonColumn,{width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?fe:me,style:[ke.changeButton,e?{width:55,height:55}:{width:60,height:60}]})})]})}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:ke.imageStyle}),(0,f.jsx)(l.default,{style:ke.promptText,children:I})]})}),(0,f.jsx)(u.default,{style:"auto"})]})}const we="#25292e",be="#3a3c3f",ve="#FFFFFF",ke=r.default.create({titlecontainer:{backgroundColor:we,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:we,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:be},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:be},promptText:{color:ve,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:we,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),Ae=document.getElementById("root");(0,i.createRoot)(Ae).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ye,{})})),{}))},3021:(e,t,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},5009:(e,t,a)=>{e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[968],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.7bca34d3.js.map
|
web-build/static/js/main.7bca34d3.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.7bca34d3.js","mappings":"2LAIe,SAASA,GAAgB,SAAEC,EAAQ,YAAEC,IAClD,MAAOC,EAAeC,GAAoBC,EAAAA,SAAe,KAClDC,EAAeC,GAAoBF,EAAAA,SAAe,GAczD,OACEG,EAAAA,EAAAA,MAACC,EAAAA,QAAI,CAACC,MAAOC,EAAOC,UAAUC,SAAA,EAC5BC,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,oBACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,EACdC,aAAc,GACdC,KAAM,EACNC,MAAOnB,E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,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsB7D,EAAoBY,OAAET,EAAW,CAAC,MAAM,IAAOH,EAAoB,QAC7F6D,EAAsB7D,EAAoBY,EAAEiD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","components/Sounds.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPlaySound, setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: 30,\r\n width: 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n zIndex: 1,\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n setPlaySound(\"click\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n \r\n}) {\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n const data = [\r\n {\r\n label: \"Stable Diffusion XL\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n {\r\n label: \"SPO Diffusion XL\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n \r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n \r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={data}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n setPlaceholderModelID(item.label);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 340,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React, { useState } from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch, FlatList } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst addImage = require(\"../assets/add_image.png\");\nconst coloredDelete = require(\"../assets/delete_colored.png\");\nconst deleteButton = require(\"../assets/delete.png\");\n\nconst MyImagePicker = ({\n window,\n setPlaySound,\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const [selectedImageIndex, setSelectedImageIndex] = useState(null);\n const [deletePressedImage, setDeletePressedImage] = useState(deleteButton);\n\n const selectImage = async (index) => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(prevImageSource => {\n const newImageSource = [...prevImageSource];\n newImageSource[index] = result.assets[0].uri;\n return newImageSource;\n });\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n setPlaySound(\"switch\")\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n setPlaySound(\"switch\")\n };\n\n const deleteFromImageArray = (index) => {\n setImageSource(prevImageSource => {\n setPlaySound(\"click\")\n if (prevImageSource.length > 1) {\n return prevImageSource.filter((_, i) => i !== index);\n }\n return [addImage];\n });\n};\n\n return (\n <> \n <View style={styles.switchesRowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View> \n <View style={styles.flatListContainer}> \n <FlatList\n data={imageSource}\n numColumns={window.width < 1000 ? 1 : 3}\n keyExtractor={(item, index) => index.toString()}\n renderItem={({ item: source, index }) => (\n <View style={[styles.imageColumnContainer, {height: selectedImageIndex === index ? 400 : 200}]}>\n <View style={[styles.columnContainer,]}>\n <Pressable\n onPress={() => {\n setPlaySound(\"click\")\n if(selectedImageIndex === index) {\n setSelectedImageIndex(null);\n return;\n }\n setSelectedImageIndex(index);\n \n }}\n style={{flex: 1, alignItems: \"center\", justifyContent: \"center\"}} \n >\n <Image\n source={\n typeof source === \"number\" ? source : { uri: source }\n }\n style={[\n styles.image,\n {width: selectedImageIndex === index ? 400 : 150, height: selectedImageIndex === index ? 400 : 150,\n margin: 10,\n \n }\n ]}\n />\n </Pressable>\n </View>\n <Pressable\n onPress={() => {\n deleteFromImageArray(index);\n }}\n style={{position: \"absolute\", top: 0, right: 0}} \n >\n {({ pressed }) => (\n <Image\n source={pressed ? coloredDelete : deleteButton}\n style={[ styles.changeButton]}\n />)}\n </Pressable> \n <Pressable style={[styles.selectButton]} onPress={() =>{setPlaySound(\"click\"); selectImage(index)}}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n )}\n />\n </View>\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n flatListContainer: {\n width: 'auto', \n height: 'auto', \n },\n image: {\n marginTop: 20,\n },\n switchesRowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 300,\n height: 50,\n marginBottom: 20,\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n imageColumnContainer: {\n height: 200,\n alignItems: \"center\",\n flexDirection: \"column\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 0,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n \n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React, { useState } from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\nconst coloredJoin = require(\"../assets/join_colored.png\");\nconst joinButton = require(\"../assets/join.png\");\n\nconst Buttons = ({\n setPlaySound,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n const [comboButtonPressed, setComboButtonPressed] = useState(false);\n\n const setThePromptValue = () => {\n setComboButtonPressed(false);\n switchPromptFunction();\n }\n\n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={setThePromptValue}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setComboButtonPressed(true);\n setPlaySound(\"click\");\n }}\n >\n <Image\n source={comboButtonPressed ? coloredJoin : joinButton}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ setPlaySound, isImagePickerVisible, setImagePickerVisible, window }) => {\n\n const rightImage = require(\"../assets/right.png\");\n const downImage = require(\"../assets/down.png\");\n\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"20%\",\n marginBottom: 0,\n },\n ]}\n onPress={() => {setPlaySound(\"expand\"); setImagePickerVisible(!isImagePickerVisible)}}\n >\n {isImagePickerVisible ? (\n <Image\n source={downImage}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={rightImage}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n const mistrialPrompt = `I'm giving you a seed string. Return the seed string as a Prompt for a Stable \\\n Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token \\\n length for Stable Diffusion Models do not apply. Make it descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt\", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: mistrialPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n console.log(generatedText);\n \n const longPromptHolder = generatedText\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + generatedText.substring(150);\n \n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(alteredPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(alteredPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n useEffect(() => {\n const modelData = 'SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep';\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n model: modelData\n })\n };\n fetch('/core', requestOptions)\n}, []);\n \n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (modelID.includes('pix2pix')) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useEffect, useRef } from 'react';\nimport { Audio } from 'expo-av';\n\nconst click = require('../assets/click.wav');\nconst swoosh = require('../assets/swoosh.mp3');\nconst switchSound = require('../assets/switch.wav');\nconst expand = require('../assets/expand.wav');\n\nconst SoundPlayer = ({ playSound, makeSound}) => {\n const soundRef = useRef();\n\n useEffect(() => {\n return () => {\n // Unload the sound when the component unmounts\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n };\n }, []);\n\n useEffect(() => {\n if (playSound) {\n let soundFile;\n switch (playSound) {\n case 'click':\n soundFile = click;\n break;\n case 'swoosh':\n soundFile = swoosh;\n break;\n case 'switch':\n soundFile = switchSound;\n break;\n case 'expand':\n soundFile = expand;\n break;\n default:\n return;\n }\n console.log('playsound')\n // Unload the previous sound if it's still loaded\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n\n const loadAndPlaySound = async () => {\n const { sound } = await Audio.Sound.createAsync(soundFile);\n soundRef.current = sound;\n await soundRef.current.playAsync();\n };\n\n loadAndPlaySound().catch((error) => {\n console.log('Failed to load and play the sound', error);\n });\n }\n }, [makeSound]);\n\n return null;\n};\n\nexport default SoundPlayer;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\nimport SoundPlayer from \"./components/Sounds\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\nconst circleImage = require(\"./assets/circle.png\");\r\nconst addImage = require(\"./assets/add_image.png\");\r\nconst rotatedCircle = require(\"./assets/rotated_circle.png\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"stabilityai/stable-diffusion-xl-base-1.0\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avacado Armchair\")\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState([addImage]);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n const [playSound, setSoundPlaying] = useState(null);\r\n const [makeSound, setMakeSound] = useState(0);\r\n \r\n\r\n const window = useWindowDimensions();\r\n \r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const setPlaySound = (sound) => {\r\n setSoundPlaying(sound);\r\n setMakeSound(prevMakeSound => prevMakeSound + 1);\r\n };\r\n\r\n const swapImage = () => { \r\n setImageSource(prevImageSource => [...prevImageSource, inferredImage]); \r\n setInferredImage(addImage);\r\n };\r\n\r\n useEffect(() => {\r\n if (imageSource.length > 1 && imageSource.includes(addImage)) {\r\n const newImageSource = imageSource.filter((image) => image !== addImage);\r\n setImageSource(newImageSource);\r\n }\r\n }, [imageSource]);\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n setPlaySound(\"switch\");\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n setPlaySound(\"switch\");\r\n }\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <SoundPlayer playSound={playSound} makeSound={makeSound}/>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n \r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n \r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n <View style={{flex:1, alignItems:\"center\", justifyContent:\"center\"}}>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButtonColumn,\r\n {\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n \r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n </>\r\n )}\r\n </View>\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n \r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [968], () => (__webpack_require__(9618)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPlaySound","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","zIndex","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","placeholderModelID","setPlaceholderModelID","useState","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","addImage","coloredDelete","deleteButton","flatListContainer","image","switchesRowContainer","marginBottom","overflow","imageColumnContainer","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","changeButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","MyImagePicker","window","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","selectedImageIndex","setSelectedImageIndex","deletePressedImage","setDeletePressedImage","_Fragment","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","FlatList","numColumns","keyExtractor","toString","renderItem","uri","prevImageSource","length","filter","_","i","deleteFromImageArray","top","right","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","newImageSource","assets","selectImage","coloredJoin","joinButton","rowContainer","display","button","activityIndicator","marginLeft","Buttons","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","comboButtonPressed","setComboButtonPressed","ActivityIndicator","size","setThePromptValue","expandButton","expandImage","Expand","isImagePickerVisible","setImagePickerVisible","rightImage","downImage","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","mistrialPrompt","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","generatedText","lPrompt","substring","split","slice","replace","catch","error","Inference","inferrenceButton","setModelMessage","parameters","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","requestOptions","model","scaledIP","none","key2","up","block_0","down","block_2","scale","output","includes","ipScaleHolder","key1","click","swoosh","switchSound","expand","SoundPlayer","playSound","makeSound","soundRef","unloadAsync","soundFile","sound","Audio","createAsync","playAsync","loadAndPlaySound","assetImage","circleImage","rotatedCircle","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","setSoundPlaying","setMakeSound","passModelIDWrapper","prevMakeSound","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","bottom","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
web-build/static/js/main.8f5f72e0.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{var e={9618:(e,t,a)=>{"use strict";var i=a(4657),n=a(5458),r=a(296),s=a(6665),o=a(3668),l=a(3929),c=a(2772),d=a(6283),u=a(5708),h=a(484),g=a(6725),m=a(7225),f=a(3374),p=a(7851),y=a.n(p),w=a(397);function b(e){var t=e.setSteps,a=e.setGuidance,i=s.useState(28),n=(0,r.default)(i,2),o=n[0],c=n[1],u=s.useState(5),h=(0,r.default)(u,2),g=h[0],m=h[1];return(0,w.jsxs)(l.default,{style:k.container,children:[(0,w.jsx)(d.default,{style:k.captionText,children:"Sampling Steps"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:3,maximumValue:50,step:1,value:o,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){c(e),t(e)}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:o}),(0,w.jsx)(d.default,{style:k.captionText,children:"Guidance"}),(0,w.jsx)(y(),{style:k.slider,minimumValue:0,maximumValue:10,step:.1,value:g,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:function(e){m(parseFloat(e.toFixed(2))),a(parseFloat(e.toFixed(2)))}}),(0,w.jsx)(d.default,{style:k.sliderValue,children:g})]})}var v="#FFFFFF",k=o.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:v,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:v,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}}),x=a(4467),A=a(6773);function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach((function(t){(0,x.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function j(e){var t=e.setPlaySound,i=e.setPrompt,n=e.inferredPrompt,o=s.useState(""),c=(0,r.default)(o,2),d=c[0],m=c[1],f=C(C({},I.input),{},{width:g.default.get("window").width>500?500:g.default.get("window").width-80});(0,s.useEffect)((function(){n&&(m(n),i(n))}),[n]);return(0,w.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,w.jsx)(A.default,{style:f,placeholder:"",multiline:!0,textAlign:"center",onChangeText:function(e){m(e),i(e)},value:d,maxLength:2e4}),(0,w.jsx)(u.default,{style:function(e){return[{height:30,width:30,backgroundColor:e.pressed?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}]},onPress:function(){m(""),i(""),t("click")},children:(0,w.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}var P="#FFFFFF",T="#B58392",F="#000000",I=o.default.create({input:{backgroundColor:P,borderColor:T,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:F,fontFamily:"Sigmar",marginRight:10}}),B=a(5009),R=a(558);function D(){var e=(0,s.useRef)((0,n.default)(Array(12)).map((function(){return new B.default.Value(0)}))).current,t=(0,R.default)().width;(0,s.useEffect)((function(){e.map((function(e,t){var a=B.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=B.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map((function(e,t){return B.default.sequence([B.default.delay(e),a,i])})),l=B.default.sequence(o);return B.default.loop(l)})).forEach((function(e){e.start()}))}),[e]);var a=e.map((function(e){return e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"})})).map((function(e){return{fontSize:e}}));return(0,w.jsx)(l.default,{style:O.containerbreathing,children:(0,w.jsxs)(d.default,{style:O.heading,children:[(0,w.jsx)(B.default.Text,{style:[O.char,a[0]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[1]],children:"I"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[2]],children:"X"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[3]],children:"E"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[4]],children:"L"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[5]],children:" "}),(0,w.jsx)(B.default.Text,{style:[O.char,a[6]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[7]],children:"R"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[8]],children:"O"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[9]],children:"M"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[10]],children:"P"}),(0,w.jsx)(B.default.Text,{style:[O.char,a[11]],children:"T"})]})})}var O=o.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}}),z=a(5781);function M(e){var t=e.passModelID,a=(0,s.useState)("Model ID"),i=(0,r.default)(a,2),n=i[0],o=i[1];return(0,w.jsx)(z.Dropdown,{style:H.dropdown,selectedTextStyle:H.selectedTextStyle,placeholderStyle:H.placeholderStyle,data:[{label:"Random",value:"Random"},{label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"},{label:"OpenDalle",value:"dataautogpt3/OpenDalleV1.1"},{label:"Stable Hamster",value:"SG161222/RealVisXL_V4.0"},{label:"Juggernaut",value:"digiplay/Juggernaut_final"},{label:"Kolors",value:"gokaygokay/Kolors"},{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"Fluently",value:"fluently/Fluently-XL-Final"},{label:"Pixel",value:"nerijs/pixel-art-xl"},{label:"Voxel",value:"Fictiverse/Voxel_XL_Lora"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Anime - (gsdf)",value:"gsdf/Counterfeit-V2.5"}],labelField:"label",valueField:"value",placeholder:n,onChange:function(e){t(e),o(e.label)}})}var E="#9DA58D",L="#FFFFFF",H=o.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:E,borderBottomWidth:3},placeholderStyle:{color:L,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:L,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}}),G=a(467),V=a(4037),W=a(932),N=a(3303),q=a(9050),_=a(4692),J=a(8945),K=a(3558),U={backgroundColor:"#25292e",selectButtonBackground:"#3a3c3f",white:"#FFFFFF"},X=o.default.create({flatListContainer:{width:"auto",height:"auto"},switchesRowContainer:{backgroundColor:U.backgroundColor,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{marginTop:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:U.selectButtonBackground},promptText:{color:U.white,fontSize:18,textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"System"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},imageCard:{backgroundColor:U.buttonBackground,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center"}});const Z=function(e){var t=e.columnCount,a=e.selectedImageIndex,i=e.setSelectedImageIndex,o=e.initialReturnedPrompt,c=e.setReturnedPrompt,m=e.promptList,f=e.setPromptList,p=e.setPlaySound,y=e.imageSource,b=e.setImageSource,v=e.styleSwitch,k=e.setStyleSwitch,x=e.settingSwitch,A=e.setSettingSwitch,S=(0,s.useState)(0),C=(0,r.default)(S,2),j=C[0],P=C[1],T=(0,s.useState)(160),F=(0,r.default)(T,2),I=F[0],B=F[1];(0,s.useEffect)((function(){g.default.get("window").width<1e3&&B(null!==a?440+j:160)}),[a,j]);var R=function(){var e=(0,G.default)((function*(e){if("granted"===(yield N.requestMediaLibraryPermissionsAsync()).status){console.log("Selecting image");var t=yield N.launchImageLibraryAsync({mediaTypes:q.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});t.cancelled||(p("swoosh"),b((function(a){var i=(0,n.default)(a);return i[e]=t.assets[0].uri,i[e+1]=_,i})),f((function(t){var a=(0,n.default)(t);return a[e]="Uploaded Image",a})))}else alert("Sorry, we need media library permissions to select an image.")}));return function(t){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){c(null!==a?m[a]:o)}),[a]);function D(e){var i=(a+1)%t===0||a===y.length-1,n=a%t===0;return a===e+(n?-1:1)||a===e+(n?-2:i?2:-1)}return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(l.default,{style:X.switchesRowContainer,children:[(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:v?"#9DA58D":"#FFFFFF"},X.sliderText],children:"Style"}),(0,w.jsx)(V.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){k(!v),p("switch")},value:v})]}),(0,w.jsxs)(l.default,{style:X.columnContainer,children:[(0,w.jsx)(d.default,{style:[{color:x?"#9FA8DA":"#FFFFFF"},X.sliderText],children:"Layout"}),(0,w.jsx)(V.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){A(!x),p("switch")},value:x})]})]}),(0,w.jsx)(l.default,{style:X.flatListContainer,children:(0,w.jsx)(W.default,{data:y,numColumns:t,keyExtractor:function(e,t){return t.toString()},renderItem:function(e){var n=e.item,r=e.index;return(0,w.jsxs)(l.default,{style:[X.imageColumnContainer,{width:D(r)?0:a===r?330:r===y.length-1?160:105,height:g.default.get("window").width<1e3&&a==r?I:a===r?440:r===y.length-1?160:105,margin:0,marginTop:a===r?20:0,overflow:"visible"}],children:[(0,w.jsx)(l.default,{style:[X.columnContainer],children:(0,w.jsx)(u.default,{onPress:function(){p("click"),i(a!==r?r:null)},style:[X.imageCard,{alignItems:"flex-start",justifyContent:"flex-start",width:D(r)?0:a===r?320:100,height:D(r)?0:a===r?400:100,borderRadius:a===r?30:0}],children:(0,w.jsx)(h.default,{source:"number"===typeof n?n:{uri:n},style:[{width:D(r)?0:a===r?320:100,height:D(r)?0:a===r?400:100,borderRadius:a===r?30:0}]})})}),r!==y.length-1&&(null===a||r!==a+1)&&(null===a||(r-2)%t!==0)&&(0,w.jsx)(u.default,{onPress:function(){!function(e){b((function(t){return p("click"),t.length>1?t.filter((function(t,a){return a!==e})):[_]})),c(m[e+1]),f((function(t){return t.length>1?t.filter((function(t,a){return a!==e})):[""]}))}(r)},style:{position:"absolute",top:0,right:0},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?J:K,style:[X.changeButton]})}}),g.default.get("window").width<1e3&&a===r&&r!==y.length-1&&(0,w.jsx)(d.default,{style:[X.promptText,{flexShrink:1}],numberOfLines:1e3,onLayout:function(e){var t=e.nativeEvent.layout.height;P(t)},children:m[r]}),r===y.length-1&&!a&&(null===a||r!==a+2)&&(null===a||2!==y.length)&&(0,w.jsx)(u.default,{style:[X.selectButton],onPress:function(){p("click"),R(r)},children:(0,w.jsx)(d.default,{style:X.promptText,children:"Select"})})]})}},t)})]})};var Q=a(530),Y=a(1284),$=a(4663),ee="#25292e",te="#FFFFFF",ae=o.default.create({rowContainer:{backgroundColor:ee,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:te,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}});const ie=function(e){var t=e.setPlaySound,a=e.switchToFlan,i=e.setInferrenceButton,n=e.activity,o=e.longPrompt,c=e.setTextInference,g=e.switchPromptFunction,m=e.promptLengthValue,f=(0,s.useState)(!1),p=(0,r.default)(f,2),y=p[0],b=p[1];return(0,w.jsx)(w.Fragment,{children:n?(0,w.jsx)(Q.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,w.jsxs)(w.Fragment,{children:[o?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(l.default,{style:[ae.rowContainer],children:[(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}}),(0,w.jsxs)(l.default,{style:ae.columnContainer,children:[(0,w.jsxs)(l.default,{style:[ae.rowContainer],children:[(0,w.jsx)(d.default,{style:[{color:y||m?"#FFFFFF":"#9FA8DA",marginRight:15},ae.sliderText],children:"Short"}),(0,w.jsx)(d.default,{style:[{color:y?"#FFFFFF":m?"#9FA8DA":"#FFFFFF",marginRight:15},ae.sliderText],children:"Long"})]}),(0,w.jsxs)(l.default,{style:[ae.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,w.jsx)(V.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:function(){b(!1),g()},value:m}),(0,w.jsx)(u.default,{onPress:function(){a(),b(!0),t("click")},children:(0,w.jsx)(h.default,{source:y?Y:$,style:[{marginRight:30},ae.changeButton]})})]})]})]})}):(0,w.jsx)(u.default,{onPress:function(){c(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#958DA5":"#9DA58D"},ae.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ae.promptText,children:t?"PROMPTED!":"Prompt"})}}),(0,w.jsx)(u.default,{onPress:function(){i(!0),t("click")},style:function(e){return[{backgroundColor:e.pressed?"#9DA58D":"#958DA5",marginBottom:20},ae.button]},children:function(e){var t=e.pressed;return(0,w.jsx)(d.default,{style:ae.promptText,children:t?"INFERRED!":"Inference"})}})]})})};var ne=o.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}});const re=function(e){var t=e.setPlaySound,i=e.isImagePickerVisible,n=e.setImagePickerVisible,r=a(1297),s=a(8707);return(0,w.jsx)(u.default,{style:[ne.expandButton,{alignSelf:"flex-start",marginLeft:(g.default.get("window").width,"20%"),marginBottom:0}],onPress:function(){t("expand"),n(!i)},children:i?(0,w.jsx)(h.default,{source:s,style:ne.expandImage}):(0,w.jsx)(h.default,{source:r,style:ne.expandImage})})},se=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}');const oe=function(e){var t=e.setFlanPrompt,a=e.prompt,i=e.textInference,n=e.setTextInference,r=e.setLongPrompt,o=e.setShortPrompt,l=e.setInferredPrompt,c=e.promptLengthValue,d=e.setActivity,u=e.setModelError;(0,s.useEffect)((function(){if(i){d(!0),u(!1);var e="";if("Avocado Armchair"===a||""===a){var s=Math.floor(Math.random()*se.seeds.length);if(s>se.seeds.length-13)return r(se.seeds[s]),o(se.seeds[s]),l(se.seeds[s]),void d(!1);e=se.seeds[s]}else e=a;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({itemString:e})}).then((function(a){a.json().then((function(a){var i=a.plain.split("Stable Diffusion Prompt:")[1];t(a.magic),r(i),o(e),l(c?i:e),d(!1)})).catch((function(e){return console.error("Error:",e)}))})).catch((function(e){return console.error("Fetch Error:",e)})),n(!1)}}),[i])};const le=function(e){var t=e.setImageSource,a=e.setPromptList,i=e.setInferrenceButton,r=e.inferrenceButton,o=e.setModelMessage,l=e.modelID,c=e.prompt,d=e.styleSwitch,u=e.settingSwitch,h=e.guidance,g=e.steps,m=e.setActivity,f=e.setModelError,p=e.setReturnedPrompt,y=e.setInitialReturnedPrompt,w=e.setInferredImage;(0,s.useEffect)((function(){fetch("/core",{method:"GET"}).then((function(e){var i=e.body.getReader(),r=new TextDecoder("utf-8"),s="";return i.read().then((function e(o){var l=o.done,c=o.value;if(!l){s=(s+=r.decode(c,{stream:!0})).replace("[","").replaceAll(",{","{");try{for(;-1!==s.indexOf("}");){var d="",u=s.indexOf("}");if(-1!==u)d=s.slice(0,u+1),h(JSON.parse(d)),s=s.slice(u+1)}}catch(g){console.log("Error parsing JSON: "+g)}return i.read().then(e)}function h(e){a((function(t){return[e.prompt].concat((0,n.default)(t))})),t((function(t){return[e.base64].concat((0,n.default)(t))}))}console.log("Stream complete")}))})).catch((function(e){console.error("There was an error!",e)}))}),[]),(0,s.useEffect)((function(){if(r){m(!0);var e=l.value,t=function(e,t){var a={none:{key2:[0,0]}};return e&&(a={up:{block_0:[0,1,0]}}),t&&(a={down:{block_2:[0,1]}}),e&&t&&(a={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),a}(d,u);fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:c,steps:g,guidance:h,modelID:e,modelLabel:l.label,image:"test",scale:t})}).then((function(e){return e.json()})).then((function(e){"Model Waking"==e.output?(o("Model Waking"),m(!1),f(!0),i(!1)):e.output.includes("GPU")?(o(e.output.split(": ")[2]),m(!1),f(!0),i(!1)):y("Model:\n"+e.model+"\n\nPrompt:\n"+c),i(!1),m(!1),p("Model:\n"+e.model+"\n\nPrompt:\n"+c),w("data:image/png;base64,"+e.output)})).catch((function(e){o("Model Error!"),m(!1),f(!0),i(!1),console.log(e)}))}}),[r])};var ce=a(5806),de=a(4825),ue=a(4283),he=a(2968),ge=a(8641),me=a(7390);const fe=function(e){var t=e.makeSound,a=(0,s.useRef)(null);return(0,s.useEffect)((function(){return ce.setAudioModeAsync({playsInSilentModeIOS:!0,staysActiveInBackground:!0,shouldDuckAndroid:!0,interruptionModeIOS:ce.INTERRUPTION_MODE_IOS_DO_NOT_MIX,interruptionModeAndroid:ce.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX}),function(){var e;a.current&&(null==(e=a.current)||e.unloadAsync())}}),[]),(0,s.useEffect)((function(){var e=function(){var e=(0,G.default)((function*(){var e=(yield de.Sound.createAsync({uri:"click"===t[0]?ue:"swoosh"===t[0]?he:"switch"===t[0]?ge:me},{shouldPlay:!0})).sound;a.current=e,yield e.playAsync()}));return function(){return e.apply(this,arguments)}}();t&&e()}),[t]),null};var pe=a(1872),ye=a(8507),we=a(4692),be=a(7038);function ve(){(0,f.useFonts)({Sigmar:a(3021)});var e=(0,s.useState)(pe),t=(0,r.default)(e,2),i=t[0],o=t[1],p=(0,s.useState)(28),y=(0,r.default)(p,2),v=y[0],k=y[1],x=(0,s.useState)(5),A=(0,r.default)(x,2),S=A[0],C=A[1],P=(0,s.useState)({label:"Stable Diffusion 3",value:"stabilityai/stable-diffusion-3-medium"}),T=(0,r.default)(P,2),F=T[0],I=T[1],B=(0,s.useState)("Avocado Armchair"),R=(0,r.default)(B,2),O=R[0],z=R[1],E=(0,s.useState)(null),L=(0,r.default)(E,2),H=L[0],G=L[1],V=(0,s.useState)(!1),W=(0,r.default)(V,2),N=W[0],q=W[1],_=(0,s.useState)(!1),J=(0,r.default)(_,2),K=J[0],U=J[1],X=(0,s.useState)("Avacado Armchair"),Q=(0,r.default)(X,2),Y=Q[0],$=Q[1],ee=(0,s.useState)("Avacado Armchair"),te=(0,r.default)(ee,2),ae=te[0],ne=te[1],se=(0,s.useState)(!1),ce=(0,r.default)(se,2),de=ce[0],ue=ce[1],he=(0,s.useState)(""),ge=(0,r.default)(he,2),me=ge[0],ve=ge[1],ke=(0,s.useState)(null),xe=(0,r.default)(ke,2),Ae=xe[0],Ce=xe[1],je=(0,s.useState)(!1),Pe=(0,r.default)(je,2),Te=Pe[0],Fe=Pe[1],Ie=(0,s.useState)(""),Be=(0,r.default)(Ie,2),Re=Be[0],De=Be[1],Oe=(0,s.useState)(null),ze=(0,r.default)(Oe,2),Me=ze[0],Ee=ze[1],Le=(0,s.useState)(null),He=(0,r.default)(Le,2),Ge=He[0],Ve=He[1],We=(0,s.useState)(!1),Ne=(0,r.default)(We,2),qe=Ne[0],_e=Ne[1],Je=(0,s.useState)([we]),Ke=(0,r.default)(Je,2),Ue=Ke[0],Xe=Ke[1],Ze=(0,s.useState)(!1),Qe=(0,r.default)(Ze,2),Ye=Qe[0],$e=Qe[1],et=(0,s.useState)(!1),tt=(0,r.default)(et,2),at=tt[0],it=tt[1],nt=(0,s.useState)(null),rt=(0,r.default)(nt,2),st=rt[0],ot=rt[1],lt=(0,s.useState)([null,0]),ct=(0,r.default)(lt,2),dt=ct[0],ut=ct[1],ht=(0,s.useState)([]),gt=(0,r.default)(ht,2),mt=gt[0],ft=gt[1],pt=(0,s.useState)(!1),yt=(0,r.default)(pt,2),wt=yt[0],bt=yt[1],vt=(0,s.useState)(null),kt=(0,r.default)(vt,2),xt=kt[0],At=kt[1],St=(0,s.useState)(3),Ct=(0,r.default)(St,2),jt=Ct[0],Pt=Ct[1],Tt=function(e){U(!1),I(e)},Ft=function(e){ot((function(e){return e+1})),ut([e,st])};(0,s.useEffect)((function(){wt&&(i!==we&&(console.log("swapImage",i),ft((function(e){return[ae].concat((0,n.default)(e))})),Xe((function(e){return[i].concat((0,n.default)(e))})),o(we),ne(""),$("")),bt(!1))}));var It=function(){Fe(!Te),Te?(G(me),Ft("switch")):(G(Ae),Ft("switch"))},Bt=function(){G(Ge)};return(0,s.useEffect)((function(){var e=function(){var e;e=g.default.get("window").width,Pt(e<600?3:e>=600&&e<1e3?4:e>=1e3&&e<1400?5:e>=1400&&e<1700?6:7)};return e(),g.default.addEventListener("change",e),function(){return g.default.removeEventListener("change",e)}}),[]),(0,w.jsxs)(l.default,{style:Se.titlecontainer,children:[(0,w.jsx)(fe,{makeSound:dt}),(0,w.jsx)(oe,{setFlanPrompt:Ve,prompt:O,textInference:de,setTextInference:ue,setLongPrompt:Ce,setShortPrompt:ve,setInferredPrompt:G,promptLengthValue:Te,setActivity:q,setModelError:U}),(0,w.jsx)(le,{setImageSource:Xe,setPromptList:ft,selectedImageIndex:xt,setInferrenceButton:Ee,inferrenceButton:Me,setModelMessage:De,imageSource:Ue,modelID:F,prompt:O,styleSwitch:at,settingSwitch:Ye,guidance:S,steps:v,setActivity:q,setModelError:U,setReturnedPrompt:$,setInitialReturnedPrompt:ne,setInferredImage:o}),(0,w.jsx)(D,{}),(0,w.jsx)(c.default,{scrollY:!0,style:Se.ScrollView,showsVerticalScrollIndicator:!1,children:g.default.get("window").width>1e3?(0,w.jsxs)(l.default,{style:Se.rowContainer,children:[qe&&(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButton,{top:t?g.default.get("window").height/2-123:g.default.get("window").height/2-125,left:t?g.default.get("window").width/2-13:g.default.get("window").width/2-15,width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}}),(0,w.jsxs)(l.default,{style:Se.leftColumnContainer,children:[(0,w.jsx)(l.default,{children:(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:z,inferredPrompt:H})}),(0,w.jsxs)(l.default,{style:[Se.rowContainer,{padding:0}],children:[(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(ie,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:N,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{})]})]}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:qe,setImagePickerVisible:_e}),qe&&(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ae,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:at,setStyleSwitch:it,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(b,{setSteps:k,setGuidance:C})]}),(0,w.jsxs)(l.default,{style:Se.rightColumnContainer,children:[(0,w.jsx)(l.default,{style:Se.imageCard,children:i&&(0,w.jsx)(h.default,{source:"number"===typeof i?i:{uri:i},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})]}):(0,w.jsxs)(l.default,{style:Se.columnContainer,children:[(0,w.jsx)(j,{setPlaySound:Ft,setPrompt:z,inferredPrompt:H}),(0,w.jsx)(M,{setPlaySound:Ft,passModelID:Tt}),(0,w.jsx)(ie,{setPlaySound:Ft,switchToFlan:Bt,setInferrenceButton:Ee,activity:N,longPrompt:Ae,setTextInference:ue,switchPromptFunction:It,promptLengthValue:Te}),K?(0,w.jsx)(d.default,{style:Se.promptText,children:Re}):(0,w.jsx)(w.Fragment,{}),(0,w.jsx)(re,{setPlaySound:Ft,isImagePickerVisible:qe,setImagePickerVisible:_e}),(0,w.jsx)(l.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:qe&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(Z,{columnCount:jt,selectedImageIndex:xt,setSelectedImageIndex:At,initialReturnedPrompt:ae,setReturnedPrompt:$,promptList:mt,setPromptList:ft,setPlaySound:Ft,imageSource:Ue,setImageSource:Xe,styleSwitch:at,setStyleSwitch:it,settingSwitch:Ye,setSettingSwitch:$e}),(0,w.jsx)(u.default,{onPress:function(){bt(!0),Ft("swoosh")},style:function(e){var t=e.pressed;return[Se.swapButtonColumn,{width:t?52:60,height:t?52:60}]},children:function(e){var t=e.pressed;return(0,w.jsx)(h.default,{source:t?be:ye,style:[Se.changeButton,t?{width:52,height:52}:{width:60,height:60}]})}})]})}),(0,w.jsx)(b,{setSteps:k,setGuidance:C}),(0,w.jsx)(l.default,{style:Se.imageCard,children:i&&(0,w.jsx)(h.default,{source:"number"===typeof i?i:{uri:i},style:Se.imageStyle})}),(0,w.jsx)(d.default,{style:Se.promptText,children:Y})]})}),(0,w.jsx)(m.StatusBar,{style:"auto"})]})}var ke="#25292e",xe="#3a3c3f",Ae="#FFFFFF",Se=o.default.create({titlecontainer:{backgroundColor:ke,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:ke,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",zIndex:1,elevation:3,backgroundColor:xe},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:xe},promptText:{color:Ae,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"System"},ScrollView:{backgroundColor:ke,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,alignSelf:"center"},imageCard:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center",backgroundColor:ke,elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Ce=document.getElementById("root");(0,i.createRoot)(Ce).render((0,w.jsx)((function(){return(0,w.jsx)("div",{children:(0,w.jsx)(ve,{})})}),{}))},3021:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},7390:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{"use strict";e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"},7790:()=>{},3776:()=>{},8285:()=>{},3902:()=>{},1638:()=>{},2668:()=>{},5340:()=>{},9838:()=>{}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;a.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"===typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"===typeof i.then)return i}var r=Object.create(null);a.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&i;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>s[e]=()=>i[e]));return s.default=()=>i,a.d(r,s),r}})(),a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[23],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.8f5f72e0.js.map
|
web-build/static/js/main.8f5f72e0.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-build/static/js/main.96350325.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
(()=>{"use strict";var e={9618:(e,t,a)=>{a.r(t);var i=a(4657),n=a(6665),r=a(3668),s=a(3929),o=a(368),l=a(6283),c=a(2996),d=a(558),h=a(484),u=a(3117),g=a(3374),m=a(7851),p=a.n(m),f=a(397);function y({setSteps:e,setGuidance:t}){const[a,i]=n.useState(30),[r,o]=n.useState(7);return(0,f.jsxs)(s.default,{style:b.container,children:[(0,f.jsx)(l.default,{style:b.captionText,children:"Sampling Steps"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:3,maximumValue:50,step:1,value:a,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:t=>{i(t),e(t)}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:a}),(0,f.jsx)(l.default,{style:b.captionText,children:"Guidance"}),(0,f.jsx)(p(),{style:b.slider,minimumValue:0,maximumValue:10,step:.1,value:r,minimumTrackTintColor:"#958DA5",maximumTrackTintColor:"#9DA58D",thumbTintColor:"#6750A4",onValueChange:e=>{o(parseFloat(e.toFixed(2))),t(parseFloat(e.toFixed(2)))}}),(0,f.jsx)(l.default,{style:b.sliderValue,children:r})]})}const w="#FFFFFF",b=r.default.create({container:{alignItems:"center",paddingTop:50},slider:{width:350,height:40},captionText:{color:w,fontSize:20,textAlign:"center",letterSpacing:3,width:350,fontFamily:"Sigmar"},sliderValue:{color:w,fontSize:18,letterSpacing:3,textAlign:"center",paddingBottom:30,width:350,fontFamily:"Sigmar"}});var v=a(4705),k=a(6773);function x(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach((function(t){(0,v.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function S({setPlaySound:e,setPrompt:t,inferredPrompt:i}){const[r,o]=n.useState(""),{width:l}=(0,d.default)(),u=A(A({},P.input),{},{width:l>500?500:l-80});(0,n.useEffect)((()=>{i&&(o(i),t(i))}),[i]);return(0,f.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"flex-end"},children:[(0,f.jsx)(k.default,{style:u,placeholder:"",multiline:!0,textAlign:"center",onChangeText:e=>{o(e),t(e)},value:r,maxLength:2e4}),(0,f.jsx)(c.default,{style:({pressed:e})=>[{height:30,width:30,backgroundColor:e?"#B58392":"#3a3c3f",borderRadius:6,padding:10,marginTop:10,alignItems:"center",justifyContent:"center",zIndex:1}],onPress:()=>{o(""),t(""),e("click")},children:(0,f.jsx)(h.default,{source:a(1051),style:{width:"100%",height:"100%",resizeMode:"contain"}})})]})}const j="#FFFFFF",C="#B58392",T="#000000",P=r.default.create({input:{backgroundColor:j,borderColor:C,borderBottomLeftRadius:4,borderWidth:4,borderBottomRightRadius:4,borderStartWidth:10,borderEndWidth:10,borderRadius:6,height:200,paddingLeft:10,paddingRight:10,fontSize:20,color:T,fontFamily:"Sigmar",marginRight:10}});var F=a(7202);function B(){const e=(0,n.useRef)([...Array(12)].map((()=>new F.default.Value(0)))).current,{width:t}=(0,d.default)();(0,n.useEffect)((()=>{e.map(((e,t)=>{const a=F.default.timing(e,{toValue:1,duration:2e3,useNativeDriver:!1}),i=F.default.timing(e,{toValue:0,duration:2e3,useNativeDriver:!1}),n=300,r=450,s=600,o=[t*n,t*r,(11-t)*n,t*s,(11-t)*r,t*n,(11-t)*s,t*r,(11-t)*n,(11-t)*r,t*s,(11-t)*s].map(((e,t)=>F.default.sequence([F.default.delay(e),a,i]))),l=F.default.sequence(o);return F.default.loop(l)})).forEach((e=>{e.start()}))}),[e]);const a=e.map((e=>e.interpolate({inputRange:[0,1],outputRange:t>1e3?[60,90]:[20,30],extrapolate:"clamp"}))).map((e=>({fontSize:e})));return(0,f.jsx)(s.default,{style:D.containerbreathing,children:(0,f.jsxs)(l.default,{style:D.heading,children:[(0,f.jsx)(F.default.Text,{style:[D.char,a[0]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[1]],children:"I"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[2]],children:"X"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[3]],children:"E"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[4]],children:"L"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[5]],children:" "}),(0,f.jsx)(F.default.Text,{style:[D.char,a[6]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[7]],children:"R"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[8]],children:"O"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[9]],children:"M"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[10]],children:"P"}),(0,f.jsx)(F.default.Text,{style:[D.char,a[11]],children:"T"})]})})}const D=r.default.create({containerbreathing:{flex:1,alignItems:"center",flexDirection:"row",justifyContent:"center"},char:{marginHorizontal:15},heading:{fontWeight:"bold",fontFamily:"Sigmar",color:"#6750A4",paddingTop:25,position:"absolute"}});var I=a(5781);function z({passModelID:e}){const[t,a]=(0,n.useState)("Model ID");return(0,f.jsx)(I.Dropdown,{style:O.dropdown,selectedTextStyle:O.selectedTextStyle,placeholderStyle:O.placeholderStyle,data:[{label:"Stable Diffusion XL",value:"stabilityai/stable-diffusion-xl-base-1.0"},{label:"SPO Diffusion XL",value:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"},{label:"pix2pix",value:"timbrooks/instruct-pix2pix"},{label:"Voxel",value:"Fictiverse/Stable_Diffusion_VoxelArt_Model"},{label:"Paper Cut Out",value:"Fictiverse/Stable_Diffusion_PaperCut_Model"},{label:"Van-Gogh",value:"dallinmackay/Van-Gogh-diffusion"},{label:"Robots",value:"nousr/robo-diffusion"},{label:"Anime",value:"Eugeoter/artiwaifu-diffusion-1.0"},{label:"Arcane",value:"nitrosocke/Arcane-Diffusion"},{label:"Balloon Art",value:"Fictiverse/Stable_Diffusion_BalloonArt_Model"},{label:"Open Journey",value:"prompthero/openjourney"},{label:"Flintstones",value:"juliajoanna/sdxl-flintstones_finetuning_1"},{label:"SegMind",value:"segmind/Segmind-Vega"},{label:"Absolute Reality",value:"digiplay/AbsoluteReality_v1.8.1"},{label:"Photo",value:"dreamlike-art/dreamlike-photoreal-2.0"},{label:"Acorn",value:"digiplay/Acorn_Photo_v1"}],labelField:"label",valueField:"value",placeholder:t,onChange:t=>{e(t.value),a(t.label)}})}const R="#9DA58D",M="#FFFFFF",O=r.default.create({dropdown:{margin:16,height:50,width:340,borderBottomColor:R,borderBottomWidth:3},placeholderStyle:{color:M,fontSize:25,fontFamily:"Sigmar",textAlign:"center",letterSpacing:3},selectedTextStyle:{color:M,fontSize:20,fontFamily:"Sigmar",letterSpacing:3,textAlign:"center"}});var E=a(4037),H=a(1218),L=a(7630),G=a(9050);const V=a(4692),W=a(8945),q=a(3558),_="#25292e",N="#3a3c3f",J="#FFFFFF",K=r.default.create({flatListContainer:{width:"auto",height:"auto"},image:{marginTop:20},switchesRowContainer:{backgroundColor:_,alignItems:"center",justifyContent:"center",width:300,height:50,marginBottom:20,flexDirection:"row",overflow:"auto"},imageColumnContainer:{height:200,alignItems:"center",flexDirection:"column",overflow:"auto"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},selectButton:{margin:0,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar",backgroundColor:N},promptText:{color:J,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),Z=({window:e,setPlaySound:t,imageSource:a,setImageSource:i,styleSwitch:r,setStyleSwitch:o,settingSwitch:d,setSettingSwitch:u})=>{const[g,m]=(0,n.useState)(null),[p,y]=(0,n.useState)(q);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(s.default,{style:K.switchesRowContainer,children:[(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:r?"#9DA58D":"#FFFFFF"},K.sliderText],children:"Style"}),(0,f.jsx)(E.default,{trackColor:{false:"#9DA58D",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{o(!r),t("switch")},value:r})]}),(0,f.jsxs)(s.default,{style:K.columnContainer,children:[(0,f.jsx)(l.default,{style:[{color:d?"#9FA8DA":"#FFFFFF"},K.sliderText],children:"Layout"}),(0,f.jsx)(E.default,{trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{u(!d),t("switch")},value:d})]})]}),(0,f.jsx)(s.default,{style:K.flatListContainer,children:(0,f.jsx)(H.default,{data:a,numColumns:e.width<1e3?1:3,keyExtractor:(e,t)=>t.toString(),renderItem:({item:e,index:a})=>(0,f.jsxs)(s.default,{style:[K.imageColumnContainer,{height:g===a?400:200}],children:[(0,f.jsx)(s.default,{style:[K.columnContainer],children:(0,f.jsx)(c.default,{onPress:()=>{t("click"),m(g!==a?a:null)},style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:[K.image,{width:g===a?400:150,height:g===a?400:150,margin:10}]})})}),(0,f.jsx)(c.default,{onPress:()=>{(e=>{i((a=>(t("click"),a.length>1?a.filter(((t,a)=>a!==e)):[V])))})(a)},style:{position:"absolute",top:0,right:0},children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?W:q,style:[K.changeButton]})}),(0,f.jsx)(c.default,{style:[K.selectButton],onPress:()=>{t("click"),(async e=>{const{status:t}=await L.requestMediaLibraryPermissionsAsync();if("granted"!==t)return void alert("Sorry, we need media library permissions to select an image.");console.log("Selecting image");const a=await L.launchImageLibraryAsync({mediaTypes:G.MediaTypeOptions.Images,allowsEditing:!0,aspect:[4,3],quality:1});a.cancelled||i((t=>{const i=[...t];return i[e]=a.assets[0].uri,i}))})(a)},children:(0,f.jsx)(l.default,{style:K.promptText,children:"Select"})})]})})})]})};var U=a(530);const X=a(1284),$=a(4663),Q="#25292e",Y="#FFFFFF",ee=r.default.create({rowContainer:{backgroundColor:Q,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible"},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},activityIndicator:{marginLeft:50},promptText:{color:Y,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},sliderText:{fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},changeButton:{width:20,height:20,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84}}),te=({setPlaySound:e,switchToFlan:t,setInferrenceButton:a,activity:i,longPrompt:r,setTextInference:o,switchPromptFunction:d,promptLengthValue:u,setParametersWrapper:g})=>{const[m,p]=(0,n.useState)(!1);return(0,f.jsx)(f.Fragment,{children:i?(0,f.jsx)(U.default,{size:"large",color:"#B58392",style:{margin:25}}):(0,f.jsxs)(f.Fragment,{children:[r?(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(s.default,{style:[ee.rowContainer],children:[(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D",width:40,height:40,borderRadius:20,margin:10}]}),(0,f.jsxs)(s.default,{style:ee.columnContainer,children:[(0,f.jsxs)(s.default,{style:[ee.rowContainer],children:[(0,f.jsx)(l.default,{style:[{color:m||u?"#FFFFFF":"#9FA8DA",marginRight:15},ee.sliderText],children:"Short"}),(0,f.jsx)(l.default,{style:[{color:m?"#FFFFFF":u?"#9FA8DA":"#FFFFFF",marginRight:15},ee.sliderText],children:"Long"})]}),(0,f.jsxs)(s.default,{style:[ee.rowContainer,{paddingBottom:10,justifyContent:"space-between"}],children:[(0,f.jsx)(E.default,{style:{marginRight:40},trackColor:{false:"#958DA5",true:"#767577"},thumbColor:"#B58392",activeThumbColor:"#6750A4",ios_backgroundColor:"#3e3e3e",onValueChange:()=>{p(!1),d()},value:u}),(0,f.jsx)(c.default,{onPress:()=>{t(),p(!0),e("click")},children:(0,f.jsx)(h.default,{source:m?X:$,style:[{marginRight:30},ee.changeButton]})})]})]})]})}):(0,f.jsx)(c.default,{onPress:()=>{o(!0),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#958DA5":"#9DA58D"},ee.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:ee.promptText,children:e?"PROMPTED!":"Prompt"})}),(0,f.jsx)(c.default,{onPress:()=>{a(!0),g(),e("click")},style:({pressed:e})=>[{backgroundColor:e?"#9DA58D":"#958DA5",marginBottom:20},ee.button],children:({pressed:e})=>(0,f.jsx)(l.default,{style:ee.promptText,children:e?"INFERRED!":"Inference"})})]})})},ae=r.default.create({expandButton:{width:30,height:30,borderRadius:15,justifyContent:"center",alignItems:"center",backgroundColor:"#3a3c3f",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},expandImage:{width:20,height:20}}),ie=({setPlaySound:e,isImagePickerVisible:t,setImagePickerVisible:i,window:n})=>{const r=a(1297),s=a(8707);return(0,f.jsx)(c.default,{style:[ae.expandButton,{alignSelf:"flex-start",marginLeft:(n.width,"20%"),marginBottom:0}],onPress:()=>{e("expand"),i(!t)},children:t?(0,f.jsx)(h.default,{source:s,style:ae.expandImage}):(0,f.jsx)(h.default,{source:r,style:ae.expandImage})})},ne=JSON.parse('{"seeds":["A surreal landscape with floating islands and waterfalls","Portrait of a cyborg in a neon-lit alley","Futuristic cityscape with flying cars and holographic billboards","A steampunk airship soaring through a stormy sky","Fantasy forest with bioluminescent plants and mythical creatures","Underwater scene with ancient ruins and glowing jellyfish","A haunted Victorian mansion on a moonlit night","Retro-futuristic diner with robots serving milkshakes and burgers","An enchanted garden filled with oversized, colorful flowers","Post-apocalyptic wasteland with rusted vehicles and abandoned buildings","A whimsical tea party in a field of mushrooms","Cyberpunk street market with neon signs and holograms","An eerie, misty swamp with twisted, gnarled trees","Majestic mountain range with a dragon soaring overhead","Retro arcade with pixelated characters and glowing machines","A serene Japanese garden with cherry blossoms and koi","Futuristic space station with a view of distant galaxies","An old, abandoned amusement park with rusting rides","Surreal desert landscape with melting clocks and distorted shapes","A vibrant, colorful coral reef teeming with marine life","Gothic cathedral with stained glass windows and gargoyles","Retro 1950s suburban neighborhood with pastel-colored houses","An otherworldly cave system with glowing crystals and stalagmites","Futuristic metropolis with towering skyscrapers and sleek monorails","A whimsical hot air balloon ride over a candy land","Haunted forest with twisted trees and eerie, glowing eyes","An underwater city with bio-luminescent architecture and sea creatures","Retro 1980s arcade with neon lights and classic games","Surreal, Escher-like architecture with impossible staircases and geometry","A vibrant, bustling Chinatown with lanterns and street vendors","Steampunk laboratory with brass machinery and bubbling beakers","An enchanted library with floating books and magical artifacts","Futuristic race track with sleek, hovering vehicles and holograms","A serene, misty mountain temple with monks and prayer flags","Retro 1960s inspired space age interior with mod furniture","An eerie, abandoned hospital with rusting equipment and flickering lights","Whimsical tree house village with bridges and fairy lights","Cyberpunk rooftop garden with neon plants and city views","A surreal, Dali-inspired desert with melting objects and distortions","Futuristic underwater research facility with glass domes and submarines","An ancient, overgrown Mayan temple in a dense jungle","Retro 1970s discotheque with mirrored ball and colorful lights","A whimsical, oversized tea party in a field of flowers","Haunted, abandoned circus with rusting rides and eerie clowns","An otherworldly, bioluminescent mushroom forest with glowing creatures","Futuristic, eco-friendly city with vertical gardens and clean energy","A serene, misty lakeside cabin with a wooden dock","Retro 1920s speakeasy with art deco decor and live jazz","An enchanted, fairy-tale castle with towers and a moat","Surreal, floating islands with waterfalls and lush vegetation","A vibrant, colorful Day of the Dead celebration","Steampunk airship interior with leather seats and brass fittings","An eerie, misty graveyard with ancient tombstones and crypts","Futuristic, neon-lit Tokyo street with towering skyscrapers and holograms","A whimsical, oversized chess board with living pieces","Haunted, Victorian-era asylum with rusting equipment and eerie shadows","An otherworldly, crystal cave with glowing formations and pools","Retro 1940s film noir detective office with venetian blinds","A serene, misty bamboo forest with a winding path","Futuristic, alien landscape with strange plants and structures","An ancient, underground Egyptian tomb with hieroglyphs and sarcophagi","Whimsical, oversized candy land with gingerbread houses and lollipops","Cyberpunk, rainy alleyway with neon signs and puddle reflections","A surreal, Escher-like library with endless staircases and books","Haunted, abandoned theater with dusty stage and eerie shadows","An otherworldly, bioluminescent deep-sea creatures and underwater volcanoes","Retro 1930s art deco skyscraper with golden accents","A serene, misty waterfall in a lush, green forest","Futuristic, Mars colony with dome habitats and red landscapes","An ancient, overgrown Aztec pyramid in a dense jungle","Whimsical, oversized music box with dancing figurines and gears","Steampunk, clockwork city with brass towers and gears","An eerie, misty bog with twisted trees and glowing wisps","Futuristic, underwater hotel room with panoramic views of sea life","A vibrant, colorful Holi festival celebration with powder and joy","Retro 1980s roller rink with disco lights and skaters","An enchanted, fairy-tale garden with oversized flowers and butterflies","Surreal, Dali-inspired beach with melting clocks and distorted objects","A serene, misty Japanese onsen with hot springs and lanterns","Futuristic, floating city with sky bridges and flying vehicles","An ancient, underground Incan city with gold artifacts and carvings","Whimsical, oversized board game with life-sized pieces and obstacles","Cyberpunk, underground hacker den with multiple screens and wires","A surreal, M.C. Escher-inspired city with impossible architecture","Haunted, abandoned amusement park with rusting rides and eerie clowns","An otherworldly, bioluminescent alien forest with strange flora and fauna","Retro 1950s drive-in movie theater with classic cars and screen","A serene, misty river with a lone fisherman in a boat","Futuristic, eco-friendly floating farm with hydroponic plants and drones","An ancient, overgrown Roman amphitheater with crumbling columns and statues","Whimsical, oversized toy train set with miniature landscapes and buildings","Steampunk, submarine interior with brass pipes and vintage gauges","An eerie, misty abandoned hospital with rusting equipment and flickering lights","Futuristic, neon-lit cyberpunk street food market with exotic dishes","A vibrant, colorful Oktoberfest celebration with beer and pretzels","Retro 1960s hippie commune with tie-dye and peace signs","An enchanted, fairy-tale treehouse with glowing lanterns and vines","Surreal, Salvador Dali-inspired desert with elephants and distorted objects","A serene, misty Zen garden with raked sand and rock formations","Futuristic, space elevator with a view of Earth from above","An ancient, underground Mayan cenote with crystal-clear water and stalactites","Alien cityscape with crystalline spires and bioluminescent flora","Dystopian megacity with towering arcologies and smog-filled skies","Enchanted forest glade with glowing mushrooms and woodland sprites","Retrofuturistic 1950s kitchen with hovering robotic servants","Underwater civilization of merfolk with coral cities and anemone gardens","Cyberpunk marketplace with neon signs and holographic advertisements","Surreal dreamscape with melting clocks and gravity-defying architecture","Mythical realm of giants with colossal inhabitants and megastructures","Alien jungle with bioluminescent plants and otherworldly creatures","Abandoned industrial complex overrun by nature and rust","Futuristic clean energy facility with sleek, sustainable design","Haunted gothic castle with gargoyles and ghostly apparitions","Fantasy tavern filled with dwarves, elves, and wizards","Neon dystopia with megacorporations and cybernetic augmentations","Alien planetary ring system with exotic celestial phenomena","Overgrown post-apocalyptic cityscape with vegetation reclaiming the ruins","Psychedelic interdimensional rift with fractal patterns and impossible geometry","Mythical undersea kingdom of Atlantis with ruined temples","Alien safari with bizarre extraterrestrial megafauna and landscapes","Dieselpunk retrofuturistic airship with ornate brass fittings","Enchanted winter wonderland with crystalline ice formations","Cyberpunk virtual reality realm with digital landscapes","Surreal abstract mindscape with symbolic and psychological imagery","Mythological realm of the gods with celestial palaces","Alien desert with crystalline sand dunes and bioluminescent cacti","Futuristic arcology with self-sustaining, eco-friendly architecture","Haunted Victorian mansion with ghosts and paranormal phenomena","High fantasy dwarven forge with molten rivers of lava","Neon-lit cyberpunk red light district with holographic dancers","Celestial realm with divine beings and cosmic wonders","Prehistoric alien world with towering behemoths and primordial landscapes","Post-apocalyptic tribal civilization in a world reclaimed by nature","Fractal interdimensional vortex with kaleidoscopic patterns and colors","Mythological realm of the Fae with whimsical forests and creatures","Desert alien oasis with bioluminescent waters and exotic lifeforms","Utopian green arcology with lush hanging gardens and parks","Haunted pirate shipwreck with ghostly sailors and sunken treasures","Epic dwarven kingdom with vast underground mines and forges","Cyberpunk hacker hideout with arrays of computer terminals","Surreal Escher-inspired architecture with impossible stairways","Primordial alien ocean with bioluminescent leviathans and coral formations","Post-apocalyptic shanty town built from scavenged scrap","Hyperspace wormhole vortex with fractal tunnel visuals","Mythological Norse realm with fearsome giants and mystic runes","Alien tropical archipelago with luminescent waters and exotic flora","Solarpunk eco-city with sustainable biomimetic architecture","Haunted mansion\'s dimly lit library with ancient tomes","Subterranean dwarven city carved into colossal caverns","High-tech cyberpunk corporate lobby with holographic displays","Surreal industrial dreamscape with abstract factory machinery","Primordial alien swampland with bioluminescent spores and colossal flora","Post-apocalyptic coastal town with rusted shipwrecks","Tesseract kaleidoscope with recursive fractal geometries","Mythological Chinese realm with ancient dragons and pagodas","Majestic lion lounging in a surreal Salvador Dali landscape","School of tropical fish swimming through an underwater cityscape","Herd of elephants migrating across a futuristic alien desert","Playful kittens frolicking in a whimsical candy land","Mighty dragon perched atop a steampunk clockwork tower","Curious raccoons exploring the ruins of an abandoned spaceship","Flamboyance of flamingos in a psychedelic neon swamp","Hummingbirds hovering among bioluminescent alien plant life","Pod of dolphins leaping through the air in Atlantis","Butterflies with kaleidoscopic fractal patterns on their wings","Majestic unicorn grazing in an enchanted moonlit forest","Cyberpunk alleyway with hovering robotic cats and neon signs","Surreal beach with melting clocks and wandering penguins","Fantasy tavern filled with mythical creatures and drunken dwarves","Army of robotic ants constructing a futuristic megalopolis","Ghostly wolves howling in a haunted gothic graveyard","Dinosaurs roaming a prehistoric alien jungle planet","Pod of narwhals swimming under the northern lights","Cybernetic dragonflies with circuits and bioluminescent wings","Cheshire cats phasing in and out of fractal dimensions","Owls perched among ancient ruins overgrown with vines","Pack of cyborg wolves prowling a neon-lit cityscape","Butterflies made of stained glass in a whimsical garden","School of robotic fish swimming through coral datascapes","Phoenix rising from the ashes of a dying star","Prismatic peacocks strutting through Escherian architecture","Dinosaurs battling futuristic mechs in a post-apocalyptic world","Aurora borealis shimmering over a pack of arctic foxes","Bioluminescent deep sea creatures in a fractal undersea trench","Koi fish swimming lazily in the clouds of a shattered skyline","Griffin guarding the gates to a mythical dwarven city","Pegasus soaring over a cyberpunk megalopolis at sunset","Jellyfish exploring the flooded ruins of an ancient temple","Origami swans brought to life in a paper-craft garden","Clockwork songbirds serenading a maiden in a fairy tale","Pandas playing among the bamboo stalks of a synthwave forest","Neon snakes slithering through tangled circuits and wires","Hippogriffs taking flight from a desert alien spaceport","Salamanders crawling amid the volcanic forges of a dwarven realm","Ravens perched atop decaying gothic gargoyles in a graveyard","Kangaroos hopping through a retro-futuristic chrome diner scene","Bioluminescent deep sea anglerfish in a dark alien abyss","Cybernetic bees pollinating holographic flowers in a solarpunk garden","Shimmering shoal of chromatic pixie-fishes in a whimsy pond","Flock of ethereal astral birds soaring among celestial nebulae","Robotic mouse scurrying through the gears of a steampunk machine","Mesmerizing hypnotic fractal butterflies fluttering in the void","Majestic phoenix rising reborn through the datascapes","Mythical jackalopes frolicking in a field of mushroom rings","School of neon deep sea creatures in a bioluminescent trench","Pixie dust motes forming whimsical fairy animal companions","Galactic turtle swimming through a nebula in deep space","Maneki-neko cat beckoning from a retro-futuristic Japanese alleyway","Gilded andromedan spider spinning circuit-board geometric webs","Raging thunderstorm with lightning illuminating flying dragons","Gentle summer rain falling on a bustling cyberpunk city","Tornado of neon energy tearing through a holographic metropolis","Snowflakes made of intricate fractal patterns drifting down","Rainbow after a storm over a surreal Escher-inspired village","Scorching desert heat waves distorting alien monolithic structures","Hailstorm of gemstones pelting a crystalline fairy realm","Gentle fog rolling through an enchanted mossy forest glade","Auroras shimmering over an igloo village in the arctic","Ash cloud from a volcanic eruption shrouding Atlantis ruins","Whirlwind of autumn leaves swirling around a haunted mansion","Sun dogs refracting prismatic auras around a solarpunk habitat","Heatwaves rising from superheated datascapes formed by AI minds","Blizzard obscuring all but the spires of a frozen citadel","Shards of ice refracting rainbows across a winter wonderland","Storm of swirling bioluminescent spores in an alien deep jungle","Nexus of dark matter coalescing into an event horizon","Motes of light dancing in curtains of ethereal auroras","Tranquil sunny day with rays warming an overgrown Zen garden","Arcane sigils and runes swirling in the clouds of vapor","Holographic thunderheads flickering with fractal lightning","Gusts of wind rippling the surface of obsidian alien oceans","Calm before the storm as dark clouds gather over fairytale realms","Cosmic microwave background - the oldest light in the universe","Irradiated fallout from a gamma ray burst mutating terra","Supercell arcus clouds undulating with internal vortices","Infrared thermogram of an otherworldly volcanic eruption","Fiery solar flare spiking from the chromosphere of a red sun","Celestial planetary formation in stellar stellar nursery nebulae","Wind of burning embers swirling over the ruins of a lost world","Gravity wave interference patterns from a binary pulsar merger","Time lapses of cloud sculptures shaped by aerosol dispersions","Lucid landscapes bathed in phosphorescent lunar glow from rings","Cosmic jets of plasma erupting from a supermassive black hole","Pearlescent rainbow clouds iridescent after an alien rainstorm","Ice crystals forming an aureole halo around a winter sun","Heat shimmers rising from radioactive desert glass cracked earth","Cumulus edifice towering thousands of feet as a supercell storm","Glittering diamond dust catching auroras over frozen tundra","Monsoon deluge cascading through overgrown jungle ruins","Coronal rain of hot plasma raining back onto the solar surface","Airborne sandstorm enveloping ruins on a distant alien world","Aurora australis reflecting in mirror lakes of Antarctica","Lightning storm sparking wildfires that dance across dry plains","Colossal mushroom cloud of particulate debris from an impact","Ghostly fog drifting through a cursed shipwreck graveyard","Sundogs forming misaligned spectral halos around the sun","Mesmerizing supercooled silver iridescent lenticular clouds","Mercury rain bouncing in shimmering droplets on an exoplanet","Nighttime thunderstorm energies captured in Lichtenberg figures","Rivers of plasma on the surface of the sun flowing in granules","Delugian downpours flooding the remnants of an ancient city","Crown flash of rays piercing through a hole in storm clouds","Bioluminescent rain interacting with alien spore clouds","Fire whirls of flame carried on catastrophic pyrocumulus horns","Teddy bears coming alive at a moonlit toy factory","Giant LEGO constructions of spaceships and robots battling","Toy soldiers defending a doll\'s house from evil clockwork mice","Wind-up robots playing in a steampunk tin toy town","Stuffed animals having a tea party with living confectionery","Glow-in-the-dark dinosaur toys roaming a bioluminescent jungle","Marble run of glass orbs cascading through ethereal sculptures","Jack-in-the-box cyborg clowns performing for android children","Sentient rag dolls dancing under shimmering northern lights","Pixelated action figures battling 8-bit video game villains","Wooden train carrying living cargo through toadstool forests","Kaleidoscopic viewmaster reels displaying fractal other dimensions","Nesting matryoshka dolls revealing bizarre alien worlds inside","Retro Japanese tin robot toys waging mechabattle in neon streets","Origami paper cranes taking flight over shoguns and samurai","Bouncing ball submerged in thick alien fluid defying gravity","Antique clockwork tin toys winding their spring-loaded gears","Play-Doh modeling sculpted bioluminescent alien flora and fauna","Holographic viewmaster reels displaying singularities and wormholes","Rocking horse galloping alongside spectral nightmares and unicorns","Living plush animals adventuring through enchanted fairy realms","Circuit-bent Furbies glitching distorted gibberish and static","Marbles rolling through psychedelic warped gravity tunnels","Holograms of plastic dinosaurs projected from mid-century toys","Slinky snake slithering down endless fractal staircases ","Rube Goldberg contraption of clashing tin wind-up toys","Levitating Newton\'s cradle of neutron star spheres in space","Rubber duck regatta sailing uncharted celestial seas","Fuzzy pipe-cleaner creatures exploring their own micro-worlds","Tinker toy ferris wheel through cosmic kaleidoscopic patterns","Bubbles floating frozen like glass in an anti-gravity chamber","Stretching sticky hands of green plastic toy soldiers scaled up","Etch A Sketch drawings of geometric cities spring to 3D life","Playing cards becoming living court jesters and royalty","Spirograph roughs becoming hypnotic otherworldly mandalas","Lawn darts piercing ethereal anti-gravity spheres","Dominos toppling through portals across impossible dimensions","Levitating magnetic geometric shapes assembling impossible toys","Jump rope rhythmically dancing in accelerating simulated gravity","Phosphorescent glow-in-the-dark yo-yo\'s orbiting alien planets","Slinky cascading down stairs warped by cosmic gravitational lensing","Lincoln Logs constructing a miniature wild-west saloon town","Pop-up book revealing paper origami scenes springing to life","Rainbow parachute men floating amid kaleidoscopic visions","Ethereal soap bubbles forming geometric rhombic polyhedra","Spirograph patterns evolving in mesmerizing fractal geometries","Jack-in-the-box with arcane symbols and nightmare beasts","Living nesting Russian dolls revealing bizarre visions inside","Kinetic ball sculpture defying physics and Newtonian gravity","Retro robot toy dancing in front of pulsing color fields","Bouncy balls mimicking proton decay amid ethereal plasma trails","Soap bubbles reflecting fractal dimensions like cosmic drosteworlds","Pop-up book springing open to reveal enchanted fairytale realms","Spirographs manifesting paisleys engulfing everything fractal","Holographic cyberpunk bodysuit with circuit patterns glowing neon","Retro-futuristic spacesuit with ornate brass fittings and porthole","Ethereal celestial gown with sleeves like iridescent nebulas","Gothic mourning dress with wispy chiffon and jet beadwork","Bioluminescent deep sea evening gown with shimmering patterns","Haute couture ballgown with surreal melting clock elements","Psychedelic tiedye jumpsuit shifting in vibrant kaleidoscopic hues","Exquisite fractal lace patterns on Victorian lingerie undergarments","Tron-inspired light cycle racing suit electrified with glowing lines","Elegant gown inspired by Art Nouveau organic floral motifs","Alien ceremonial robes shimmering like a gaseous nebula\'s glow","Sleek latex catsuit with holographic iridescent rainbow sheens","Medieval fantasty wizard\'s robes with arcane geometric patterns","Post-apocalyptic tribal garb made from scavenged materials","Neon dreamscape kimono with swirling optical illusion patterns","Glamorous feathered flapper dress from a 1920\'s speakeasy","Ceremonial shibori dyed and embroidered Japanese Kusazuri robe","Retro silver spacesuit with vintage fishing bowler and cableknit","Flowing Issey Miyake pleated heat-ray dress in origami folds","Cyberpunk biker\'s armored jacket with tribal circuit patterns","Evening dress appearing to defy gravity with upswept hemline","Safari explorer\'s outfit with utility pockets & pith helmet","Vivienne Westwood bondage trouser with shocking zippers seams","Alexander McQueen kaleidoscopic skull-lace camouflage gown","Iris van Herpen crystalline 3D printed plastic haute couture","Phosphorescent deep sea diver\'s suit glowing bioluminescent","Hand-woven huipil with intricate brocade and Mayan glyphs","Fairy princess gown with delicate dragonfly gossamer wings","Baroque corseted ballgown with gravity-defying panniers","Cloak fashioned from iridescent feathers of tropical birds","Rococco gentleman\'s waistcoat with ornate metallic embroidery","Armor suit crafted from shining articulated mirrored plates","Grecian diaphanous goddess gown fluttering ethereal layers","Zoot suit made of light refracting prismatic holographic panels","Haute couture rose made from thousands of delicate woven stems","Warrior maiden\'s corseted leather outfit with sigil accents","Victorian horsehair woven evening shawl embroidered in jet","Fantasy armored breastplate with magical runes and emblems","Floral tea dress with intricate vintage chintz patchwork","Metallic foil lam\xe9 disco jumpsuit embellished with rhinestones","Delicate etherial organza opera coat with feather epaulets","Street punk leather spiked bracers and dog collar ensemble","Avant-garde sculptural garment with non-euclidean geometry","Billowing bridal gown train made of thousands of butterflies","Ragged steam-punk dystopian overcoat made from industrial scraps","Ornate coronation ceremonial cape with ermine and fleurs-de-lis","Psychedelic hypnotic swirling tiedye caftans and dashikis","Opulent Elizabethan ruffs and doublets with slashed sleeves","Harajuku Decora streetwear layered with toys and accessories","Gaslit cobblestone streets shrouded in thick pea soup fog","Hansom cabs waiting outside the grand entrance of Buckingham Palace","Street urchins playing amid the squalor of Dickensian slums","Bustling crowds flowing across the iconic Tower Bridge","Opulent interior of the Theatre Royal, Drury Lane","Chimney sweeps scampering across soot-stained rooftops at dusk","Formidable iron warships patrolling the churning waters of the Thames","Laughing gallery at Bedlam Asylum with restrained inmates","Underground tunnels of the Mail Rail delivery system","Hazy golden light filtering through stained glass at Westminster Abbey","Overcrowded debtors\' prison with families huddled in squalor","Book-lined reading room of the British Museum Library","Back alleys reeking of offal from Smithfield\'s meat market","Circus elephants parading through crowded Piccadilly Circus","Match girls strike over appalling conditions at Bryant & May","Polished oak bar of a dockside public house near Wapping","Royal Botanic gardens displaying exotic floral species under glass","Steam billowing from brewers over the Borough Market district","Grand arched interior of the rebuilt St Paul\'s Cathedral","Vendors hawking oysters and eels by gaslight in Covent Garden","Cholera outbreak overwhelming overwhelmed Nightingale nurses","Hackney carriages jostling through congestion at Charing Cross","Penny Gaffs showcasing raucous musical hall performances","Resurrection men stealing fresh cadavers from cemeteries at night","Elegant Huguenot silk weavers in the loft workshops of Spitalfields","Bodysnatchers bringing cadavers for illegal dissection and study","Lavish Grand Ball in the glittering halls of Bridgewater House","Political radicals distributing seditious pamphlets in Trafalgar Square","Paleontologists marveling at dinosaur fossils at the new Oxfordmuseum","Aristocrat\'s townhouse on residential St James\'s Square","Boisterous rookeries of the lawless St Giles rookery slum","Opulent men\'s club filled with taxidermied animal trophies","Music hall stage crowded with rowdy, scantily-clad cancandancers","Fugitive rebels conspiring revolution at treacherous Cato Street","Freemasons holding secret initiations in the Masonic chambers","Abandoned children living in the sewer system of London\'s underbelly","Cramped millinery workshop of young women crafting bonnets","Royal Geological Society examining exotic rock specimens","Jack the Ripper prowling the dimly lit alleyways of Whitechapel","Mourners gathered for interment in the overfilled Highgate cemetery","Sailors brawling outside the shadowy environs of Ratcliffe Highway","Duels at dawn between gentlemen in Hyde Park near the Serpentine","Opulent carriage belonging to an aristocrat leaving Grosvenor Square","Match factory workers suffering from \'phossy jaw\' bone decay","Excavation of ancient Roman ruins near the London Wall","Crowded stalls of sea merchants at billingsgate fish market","Burkers suffocating victims to sell fresh cadavers to anatomists","Costermongers selling baskets of wares from wooden carts","Bareknuckle prizefight staged between rival gangs of ruffians","Public Punishment at the Pillory in Charing Cross","Disco Ball of Dandelion Fluff - A mirrored dance floor centerpiece formed from soft dandelion seeds","Pinecone Disco Shoes - Stylish platform shoes with pinecone scales as the textured uppers","Bamboo Motorcycle Chassis - The frame of a streetbike crafted entirely from woven bamboo","Stained Glass Aquarium - A fish tank with thick stained glass panes instead of clear sides","Duct Tape Formal Gown - An elegant evening dress sculpted using only silver duct tape","Grass Knit Winter Sweater - A cozy sweater hand-knit from interwoven blades of grass","Ice Cooler of Solid Ice - An ice chest formed from a single thick frozen block of ice","Edible Butterfly Garden - Flowers, vines, and butterflies made entirely of fruit leathers and candy","Granite Kitchen Sponge - A solid granite carving mimicking the texture of a porous sponge","Foil Candy Wrapper Chaps - Cowboy\'s chaps fashioned from thousands of candy wrappers","Salt Crystal Snowboard - A frosted snowboard with a rock salt crystal lattice surface","Barbed Wire Dreamcatcher - An intricate dreamcatcher crafted using only loops of barbed wire","Beef Jerky Baseball Glove - A baseball glove with the leather portions replaced by cured beef jerky","Porcelain Watering Can - An ornate, delicate watering can formed entirely out of fine porcelain","Rose Petal Bath Towels - Plush, luxurious bath towels woven from thousands of soft rose petals","Pasta Lamp Shades - Decorative lampshades built in whimsical shapes using uncooked pasta noodles","Mossy Bicycle Seat - A bike\'s cushioned seat upholstered in a layer of fresh, springy moss","Pine Needle Chainsaw - A functional chainsaw with cutting teeth replaced by pine needles","Flower Petal Parachute - A lightweight skydiving parachute sewn from vibrant flower petals","Shag Carpet Dartboard - A thick shag area rug fashioned into a bristled dartboard surface","Wicker Toilet Paper Holder - A rustic woven wicker toilet paper dispenser for the bathroom","Wax Sculpture Toiletries - Soap dishes, tooth brushes, made from sculpted colored wax castings","Pipe Cleaner Golf Club - A full set of golf clubs with grips and shafts made of pipe cleaners","Chewed Bubble Gum Mats - Car floor mats built by layering and compressing chewed bubblegum","Vinyl Record Flower Pots - Vintage vinyl LPs repurposed as planters for decorative plants","Parchment Wedding Dress - An intricately folded gown made entirely of pages from ancient books","Corn Husk Christmas Tree - A towering holiday tree built by weaving dried corn husks","Steel Wool Beach Towels - Coarse beach towels with terrycloth replaced by abrasive steel wool","Hard Candy Birdhouse - A decorative birdhouse with walls and roof of solid transparent candy","Wrapping Paper Pi\xf1ata - A festive pi\xf1ata shape constructed from layers of giftwrap paper","Human Hair Knit Mittens - A pair of cozy mittens hand-knit from long strands of human hair","Chalkboard Bicycle Helmet - A matte black bicycle helmet covered in rough chalkboard surface","Lava Rock Pet Beds - Basket beds with liners of solidified, porous lava rocks for pets","Breakfast Cereal Lampshade - A woven shade for a lamp built from dried breakfast cereal pieces","Cinnamon Stick Magazine Rack - A decorative slotted rack for magazines woven from cinnamon sticks","Jello Gadgets- A smartphone carved entirely from jiggly gelatin","Melted Chocolate Typewriter- A vintage typewriter cast in flowing milk chocolate","Spaghetti Suspension Bridge- A towering bridge constructed from dried spaghetti noodles","Stained Glass Skateboard- A deck made of vibrant stained glass shards","Marshmallow Rocket- A puffy, soft rocket ship made of marshmallow fluff","Crystalline Computer- A transparent computer formed from grown crystals","Woven Bacon Guitar- An electric guitar woven entirely from streaky bacon strips","Cork Motorcycle- A detailed motorcycle sculpture built from wine corks","Stucco Disco Ball- A mirrorball made of stucco with a rough, pockmarked surface","Bread Binoculars- A pair of binoculars baked from crusty bread loaves","Icy Hammock- A hammock frozen from a single thick sheet of ice","Chainmail Bikini- A swimsuit woven entirely from interlocking metal rings","Bubblegum Retro TV- A vintage television set blown entirely from pink bubblegum","Sour Candy Typewriter- A typewriter with keys made of sticky sour candy","Coconut Boombox- An oversized boombox carved from halves of a coconut shell","Edible Lingerie- A lacy undergarment made of spun edible candyfloss","Driftwood Piano- An impressive grand piano constructed from gnarled driftwood","Yarn Motorcycle- A detailed soft sculpture of a motorcycle made of colorful yarn","Ice Cream Sandals- A pair of strappy sandals crafted from melty ice cream scoops","Gummy Worm Lawnmower- A lawnmower with its metal parts replaced by gummy worms","Bark Canoe- A canoe carved from a single piece of thick, knotted bark","Granite Teddy Bear- A cuddly teddy bear sculpted from solid polished granite","Packing Peanut Recliner- An overstuffed recliner formed from packing peanuts","Candy Bikewheels- Bike wheels made of giant swirled lollipops instead of metal","Slime Kiddie Pool- A backyard kiddie pool filled with thick, green slime","Icicle Chandelier- A hanging chandelier where candles are made of individual icicles","Sawdust Hot Tub- A rustic outdoor jacuzzi tub filled with real sawdust","Concrete Paradise- A modern take on the \'Garden of Eden\' with plants in concrete pots","Melon Hammock- A relaxing hammock woven from sturdy hollowed-out melon rinds","Plant Pot Record Player- A retro record player with a large ceramic plant pot as the base","Beeswax Candelabra- Ornate candelabra where the candles are sculpted beeswax","Cherry Stem Necklace- Statement necklace of twisted, knotted cherry stems forming a chain","Tortilla Blanket- A soft blanket sewn together using freshly griddled tortillas","Fruit Leather Saddle- An equestrian saddle crafted entirely from dried fruit leather","Hay Mattress- A cozy bedroom mattress stuffed thickly with woven hay","Pine Needle Cape- A billowing cape hand-woven from thousands of pine needles","Pumpkin Bidet- A rustic farmhouse bidet with an oversized pumpkin as the basin","Tinsel Swing- A porch swing with a seat and frame woven from silver and gold tinsel","Sugar Cube Sofa- A geometric crystalline sofa composed of thousands of sugar cubes","A surgeon performing open-heart surgery in a submarine trench","A bartender crafting cocktails atop a scorching desert dune","A librarian shelving books in a crystalline alien archive","A janitor mopping the immense deck of an intergalactic spacecraft","A zookeeper caring for mythical beasts in an enchanted grove","A IT technician troubleshooting circuits in a bioluminescent reef","A mail carrier delivering letters via jetpack in a cyberpunk metropolis","A drill sergeant training recruits in supernova debris fields","An undertaker embalming remains within a haunted Victorian manor","A lumberjack felling trees on a terraformed exoplanet forest","A barber trimming hair amid the clouds of a vapor-shrouded realm","A dentist filling cavities inside themouth of a colossal stone golem","A busker serenading crowds in the neon-lit streets of Atlantis","A chimney sweep dusting soot from psychotropic, kaleidoscopic vents","An astronomer mapping galaxies from a steampunk observatory","A zeppelin pilot navigating through storms on a gas giant\'s atmosphere","A skydiving instructor training pupils amid antimatter lightning storms","A volcanologist studying eruptions in the blistering forges of Mordor","A marine biologist surveying an extraterrestrial ocean moon\'s tides","A ranger patrolling transcendent fairytale woodlands","An archaeologist excavating mind-bending non-Euclidean geometries","A rickshaw driver transporting fares through interdimensional wormholes","A witch doctor brewing potions in a nutrient vat aboard Nostromo","A street sweeper tidying fractal rubble after the Reality Wars","A cartographer mapping the contours of a hollow planetoid\'s interior","An acupuncturist relieving patients amid the chrono-fractured timestream","A bouncer screening rowdy braineaters at a cyberpunk neurocomplex","A lifeguard monitoring bioluminescent hyper-tsunamis on an alien ocean","A sushi chef slicing omakase from cosmic riftspawn ingredients","A tattoo artist inking fractal mandalas on psychedelic butterflies","A beekeeper cultivating honeycomb habitats in atmophase amber clouds","A brewmaster crafting bespoke ales aboard a mercantile starclipper","An exterminator purging infestations of transdimensional vermin","A hairstylist coiffing baroque updos for ethereal forest nymphs","A telephone sanitizer disinfecting galactic wavelengths at lightspeed","A scuba diver exploring liquid iron seas of a rogue telluric planet","A pumpkin carver sculpting harbingers on a far-off gourd homeworld","A blacksmith forging mythril blades amid volcanic magma cyclones","A window cleaner wiping psychotronic circuitry at Akira Corp HQ","A masseuse soothing aches with antimatter pulses on Event Horizon","A greenskeeper tending to kaleidoscopic fractal gardens of Zelva","A ma\xeetre d\' seating patrons in the effervescent solar corona\'s banquet","An advertising executive optimizing neural billboards in virtuality","A sommelier pairing fine wines with exotic transubstantial dishes","A forest ranger patrolling the bioluminescent alien woods of Kepler","A corn maze designer sculpting fractal paths into the undergrowth","A chimney sweep dislodging soot from the manifold rifts of Argyre","A jockey racing solar horses through eschers of charged particles","A lifeguard rescuing bathers from metaphysical rip tides at Solaris","A pride of lions lounging on Victorian chaise lounges","Giraffes browsing the leaves of bonsai trees in Zen gardens","Dolphins performing astrophysics equations on celestial chalkboards","Ants disassembling and reassembling a decommissioned AI robot","Raccoons raiding the ruins of an abandoned doll factory at night","Sharks patrolling the hallways of a submerged Art Deco hotel","Squirrels manning mission control during a volatile galaxy launch","Whales breaching through holographic simulated ocean projections","Octopuses adjusting rotors on a partially submerged steampunk airship","Beavers constructing a dam from discarded videogame controllers","Butterflies cross-pollinating hybrid cybernetic flora specimens","Komodo dragons acting as bouncers at a surreal interdimensional nightclub","Pigeons roosting among the gears of an immense Ditko clockpunk engine","Praying mantises conducting microscopic origami with mulching leaves","Tortoises racing across the contours of a warped Escher-inspired maze","Elk exploring the pristine overgrown interior of a luxury shopping mall","Seahorses pirouetting in sync with music from an underwater DJ booth","Lemmings basejumping from the pinnacles of a colossal space elevator","Snakes coiled amid knobs, dials and patch cables of a 70\'s recording studio","Honeybees choreographing kaleidoscopic geometries on psychedelic petals","Frogs levitating lotus-style amid bioluminescent spore concentrations","Black swans gliding across the mirrored obsidian surface of a dormant volcano","Pandas juggling and balancing spheres in a hyperdimensional physics lab","Cats rematerializing through tesseract gateways in nanoswarm formations","Tropical birds roosting on apparatuses of retro atom punk technology","Walruses performing celestial puppet theater in shimmering auroras","Scorpions industriously repairing microcircuitry of a mainframe computer","Owls monitoring undulant readouts on flickering gaslamp control panels","Rabbits pruning organic fractal circuitry with obsidian dissecting tools","Manatees filtering microplastics from ocean currents with baleen mouths","Parrots assembling a colossal Shinto temple from gilded fruit seeds","Peacocks strutting elegant plumage of holographic Higgs particle trails","Penguins piloting interplanetary nuclear zeppelins through asteroid fields","Flamingoes sculpting fleeting architectures by deftly shaping clouds","Tarantulas spinning ephemeral dreamcatchers of non-Euclidean geometries","Meerkats conducting symphonies encoded in prismatic solar winds","Fireflies drawing spirograph mandalas in skies of virtual stardust","Sloths preserving delicate digital butterfly specimens in amber discs","Seahorses undulating to retrofit lost ceramic frescoes of antiquity","Bats oscillating hypersonic vortex algorithms to manifest crop circles","Hummingbirds flitting in quantum uncertainty to seed cloud metropoli","Ostriches learning chivalrous manners while practicing calligraphy","Chameleons concealing kaleidoscopic stargate iris patterns in stillness","Termites deconstructing obsolete rocket infrastructure to new purposes","Crows telepathically sculpting dark matter into modernist mobiles for eclipses","Polar bears ice skating at an abandoned Soviet research station","Elephants practicing mystic levitation in ancient overgrown dharma ruins","Platypuses rewiring an emerald biocircuitry mainframe in a primeval jungle","Storks delivering traits to unborn cybernetic organisms in surgical bays","Cougars performing parkour and freerunning across hypnagogic cityscape","Kangaroos weightlessly bounding across a microgravity fuzzy household","Hermit crabs sheltering within the titanium hyper-alloy shells of a warbot","Bioluminescent angelfish instinctively forming mandalas amid riftcurents","Seals juggling spheres of prismatic energy in geometric harmonics","Sea cucumbers massaging hexadecimal runes into undulating oceanic sands","Eagles scribing blazing hieroglyphs upon the face of a syzygy eclipse","Ferrets tenderly brushing otherworldly denizens in a grooming parlor","Wolverines staffing interdimensional customs and arrivals terminals","Grizzly bears savoring darkly fermented delicacies at an alien brasserie","Dinosaurs conducting monumental extinction rituals in molten umbra","Moose deftly adjusting hyper-elliptical parameters on a cyclotron","Wildebeests convening a parliament to debate planometric abstractions","Chimpanzees reverse-engineering ethereal artifacts from a fallen megacity","Ibexes forging quantum fractal blades in thermoclastic furnace forges","Zebras painting bold chromatic murals across tessellated overpasses","Orangutans operating apparatuses of atmospheric electromancy on skyclouds","Camels trudging across mercator expanses of sentient circuitry diagrams","Lemurs meticulously sculpting anthropic resonance in psionic orchards","Baboons rehearsing ritualized cymatics on reverberant stellar stages","Opossums serving hyper-dimensional beignets in violet chromosphere cafe","Koalas manifesting fractal blooms of strangeflower effigies in ashgroves","Sloths conducting mystical shadow puppet parables from canopied temples","Marmots constructing recursive architecture in simulation of themselves","Otters weaving ceremonial robes from warp-spun quantum filaments","Wallabies choreographing galactic murmurations to birth nascent solarworlds","Impalas inscribing poetry upon scrolls of infinitely spiraling memoir skin","Capybaras tenderly disentangling devas from dimensional shibari knots","Armadillos fusing archaic microchips into mandalic circuitry matrices","Platypuses birthing concepts into immaculate vector graphic projections","Okapis ceremoniously calibrating the optic distortions of eidolon lenses","Llamas spiritcrafting origami shikigami angels of iridescent solar winds","A barber cutting hair inside a condemned building","A janitor mopping the floor of an offshore oil rig","A waiter serving food to construction workers on a skyscraper","A receptionist answering phones at a waste treatment plant","A security guard patrolling the empty halls of a closed mall","A tailor fitting suits inside a functioning subway car","A manicurist doing nails in the back of an ambulance","A realtor showing a home inside a maximum-security prison","A clown entertaining at a corporate shareholders meeting","A painter doing house painting on the wing of a jumbo jet","A plumber fixing pipes inside an active volcano observatory","A tutor teaching English lessons in a boxing ring","A hairstylist styling updos on a city bus during rush hour","A tattoo artist giving ink in a fast food restaurant kitchen","A lifeguard on duty at a penguinarium in the Antarctic","A dog walker strolling pups through a hospital maternity ward","A personal trainer leading a yoga class on a city sidewalk","A mechanic repairing cars inside an elementary school classroom","A DJ spinning records inside the sanctuary of a church","A magician performing illusions in the jury box of a courtroom","A masseuse giving massages in the rows of a cinema","A makeup artist doing makeup at a construction site portable toilet","A pastry chef baking in the waiting room of a doctor\'s office","A pianist playing grand piano in the back of a garbage truck","An interior designer redecorating the captain\'s cabin of a nuclear sub","A choreographer directing dance routines inside a squash court","A photographer setting up portraits inside an industrial freezer","A zookeeper exhibiting animals in the buffet line of a cafeteria","A chimney sweep cleaning soot in the sterile chamber of a laboratory","A ballet dancer performing fouett\xe9s inside a shooting range","A carpenter building shelves inside an operating surgical theater","A landscaper mowing lawns inside an airplane\'s cargo hold","A jeweler crafting rings inside the kitchen of a diner","A dry cleaner pressing clothes inside a hotel\'s laundry room","A pet groomer bathing dogs inside a fancy restaurant dining room","An upholsterer reupholstering furniture inside a supermarket","A tailor sewing custom suits inside a factory assembly line","A housekeeper making beds inside a blimp\'s crew quarters","A valet parking cars inside the main concourse of a train station","A mail carrier delivering mail inside a nightclub during business hours","A baker baking bread inside the bathroom of a public library","A personal shopper choosing outfits in the bathroom of a sports arena","An awe-inspiring splash art painting depicting for an epic fantasy card game. This image appears to be a digital artwork that depicts a character with a somber expression, wearing a yellow raincoat with the word \\"CORALINE\\" written in a stylized, dripping font. The character has large, dark, buttons as eyes with a cross over them, which may suggest a sense of loss or mourning. The background is a mix of dark and light colors, creating a moody atmosphere that complements the character\'s expression. The raincoat and the name \\"CORALINE\\" could be a reference to the popular children\'s book \\"Coraline\\" by Neil Gaiman. The book is known for its dark and whimsical themes, and the character in the image may be inspired by Coraline herself or a related figure from the story. The dripping font of the name \\"CORALINE\\" adds a sense of eeriness and mystery to the image. It could symbolize the blurring line between reality and fantasy, which is a recurring theme in the book. The overall mood of the image is melancholic and introspective, suggesting a deep emotional connection to the story or the character it represents.","A delightful and humorous photorealistic illustration of a chicken with a comical, wide-eyed, and astonished expression, as it gazes down at a newly hatched egg. The egg has revealed a surprisingly lifelike and tiny puppy, with fur and features so detailed it seems almost unbelievable. The background depicts a serene and picturesque barnyard scene, with blurred elements that create a soft, dreamy atmosphere. Golden rays of sunlight stream through, casting a warm and welcoming glow over the scene. This charming and heartwarming image evokes a sense of wonder and amusement, perfectly capturing the essence of surprise and the unexpected.","A whimsical and endearing illustration of a feline martial artist in a miniature fluorescent yellowed taekwondo uniform, perfectly executing a high kick. The cat\'s adorable face is filled with intense focus, its ears perked up and whiskers twitching. The warm and inviting luxury living room serves as the backdrop, complete with a rolled-out training mat for the cat\'s demonstration. A delicate white bow sits on the floor, adding a touch of feminine elegance to this delightful scene. The BIG SIGN reads \\"AURAMARK THIEF\\"","Imagine an iconic pair of Converse Chuck Taylor All-Stars sneakers crafted from an enormous watermelon. The vibrant, glossy green skin forms the sleek, stylish exterior of the sneakers, while the soft, juicy red interior with black seeds provides ultimate comfort and a playful touch. The signature Converse features, such as the rubber toe cap, star logo patch, and white laces, are intricately carved into the watermelon skin, maintaining the classic look with a fresh, bold twist. The sneakers are designed to reflect the timeless style and comfort of the original Chuck Taylor All-Stars. In this advertisement, the sneakers are showcased against a backdrop of a sunlit, vibrant garden. The slogan reads: \\"Melonverse All Star Stay Fresh.\\" The logo \\"CIAFFETTI\\" is prominently displayed, adding a mark of authenticity and artistry to this unique ensemble. This innovative design embodies the spirit of creativity and style, turning an ordinary fruit into an extraordinary fashion statement. Perfect for those who dare to stand out, blending classic tradition with a fresh, vibrant touch., photo, 3d render, vibrant","A sunken shipwreck on the sandy ocean floor surrounded by coral reef. The scene is illuminated by light rays piercing through the blue water from the surface. The old, rusted vessel is colonized by marine organisms, with corals growing on its hull and deck. Sunbeams create a pattern of light and shadow on the aquatic landscape, enhancing the serene and mysterious atmosphere of the underwater environment. Schools of small fish swim around the area, adding life to the seascape. The clear water provides good visibility of the scene, demonstrating a harmony between the artificial and natural elements in this marine ecosystem, razor-sharp focus, crisp quality, focused, ultrafine details, causing her to pause momentarily, extremely detailed textured, extremely detailed, extremely deep background, hight octane render, extremely detailed fon, painting, illustration, photo. An exquisitely detailed underwater scene featuring a sunken shipwreck adorned with vibrant coral reefs and teeming with marine life. The rusted vessel lies on the sandy ocean floor, where sunlight penetrates the surface, casting a mesmerizing interplay of light and shadow. Schools of small fish dance around the ship, while corals grow intricately across the hull and deck. The crystal-clear water offers a breathtaking view of this harmonious fusion of artificial and natural elements within the marine ecosystem. The image is rendered with razor-sharp focus, exquisite textures, and ultrafine details, capturing the serene yet mysterious beauty of this underwater world., illustration, photo, painting","An artistic and thought-provoking piece featuring a colossal light bulb encasing a detailed human brain. The light bulb is adorned with a golden glass base and a metallic ridge, casting a warm, inviting glow. Suspended within the bulb, a blue and grey brain is intricately illustrated, emitting an enlightening aura. Surrounding this captivating central focus, dark and swirling abstract designs create a sense of mystery and intellectual curiosity. At the base of the image, a bold \\"be creative\\" sign serves as a reminder to unleash one\'s creativity and explore new ideas.A stunning, thought-provoking artwork that embodies the essence of creativity and intellectual curiosity. In the center, a massive light bulb encases a meticulously detailed human brain, with a warm, golden glass base and a metallic ridge casting a comforting glow. The blue and grey brain, suspended within the bulb, emits an aura of enlightenment. Surrounding the central focus, dark and swirling abstract designs evoke a sense of mystery, fueling our curiosity. Beneath the masterpiece, a bold \\"be creative\\" sign serves as a gentle reminder to unleash our imagination and explore the boundless realms of ideas.","A surreal and enchanting image of a newborn golden Tyrannosaurus with striking blue eyes, emerging from a cracked, jagged white eggshell. Hans Darias AI. The Tyrannosaurus \'s coat has a sheen that catches the light, and its eyes are filled with curiosity and wonder. The sparkling dark background adds a mystical atmosphere to the scene, while the scattered eggshell fragments create a sense of the miraculous birth.","A middle-aged slim white skin man with black glasses looking at a poster of a brain and a white text \\"ideogram\\" and clapping hands. An iron sign beside written in bold white \\"Bravo! To all creators\\", 3d render, illustration. A captivating 3D rendered illustration of a middle-aged, slim man with black glasses, admiring a poster displaying a human brain and the word \\"ideogram\\" in white text. The man is clapping his hands in appreciation, conveying his admiration for the idea presented. An iron sign, boldly written in white, reads \\"Bravo! To all creators,\\" celebrating the collective ingenuity of the artistic community. The overall atmosphere of the image is vibrant, with a modern and sleek design that captures the essence of creativity and innovation., illustration, 3d render","a rear view of an astronaut watching the earth violently tear in half explode from the moon, ultra realistic with lots of color, photo, illustration, 3d render, cinematic, vibrant, dark fantasy","\\"Say Cheese!\\" a camera made from yellow cheese, typography, photo, illustration, 3d render","A spectacular and breathtaking image that emulates Ren\xe9 Higuita\'s legendary \\"scorpion kick\\" against England in 1995, but instead of Higuita, a mighty hippopotamus is making the save. The hippopotamus is captured in mid-air, with its massive body arched surprisingly gracefully and its hind legs extended backwards, perfectly reproducing Higuita\'s famous pose. In the background, a stadium packed with delirious fans captures the emotion of the moment. The field is lush and green, and the LED advertising banners along the sidelines prominently display the word \\"Ciaffetti.\\" The overall scene conveys action, dynamism and the dramatic intensity of a historic football save, with the hippo making the save in the center of the goal, his powerful and robust figure in the foreground., photo, 3d render. A mesmerizing and dynamic 3D render of a mighty hippopotamus executing a spectacular \\"scorpion kick\\" save in a football match, emulating the legendary move by Ren\xe9 Higuita in 1995. The hippopotamus\' massive body is arched gracefully, with its hind legs extended backwards, perfectly replicating Higuita\'s iconic pose. The lush green field is filled with enthusiastic fans, their excitement palpable as they cheer on the astonishing performance. The background features a packed stadium and LED advertising banners along the sidelines, with the word \\"Ciaffetti\\" prominently displayed. This remarkable scene captures the essence of action, dynamism, and the dramatic intensity of a historic football save, with the hippopotamus as the unexpected hero., photo, 3d render","A fascinating illustration depicting an elephant sitting gracefully on a wooden bench, completely absorbed in knitting a sock. The elephant\'s large ears flutter gently in the wind, revealing his intricate and detailed design. Behind the elephant, a bright yellow door leads into a room with an elaborately carved wooden door and a window decorated with green curtains. The ground beneath the elephant is lined with terracotta tiles, and small green grass and daisies grow near his feet. The overall atmosphere of the scene is calm and serene, creating a sense of serenity in this fantastic setting., illustration, architecture, painting, dark fantasy"]}'),re=({setFlanPrompt:e,prompt:t,textInference:a,setTextInference:i,setLongPrompt:r,setShortPrompt:s,setInferredPrompt:o,promptLengthValue:l,setActivity:c,setModelError:d})=>{(0,n.useEffect)((()=>{if(a){c(!0),d(!1);let a="";if("Avocado Armchair"===t||""===t){const e=Math.floor(Math.random()*ne.seeds.length);if(e>ne.seeds.length-13)return r(ne.seeds[e]),s(ne.seeds[e]),o(ne.seeds[e]),void c(!1);a=ne.seeds[e]}else a=t;const i=`I'm giving you a seed string. Return the seed string as a Prompt for a Stable Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token length for Stable Diffusion Models do not apply. Make it descriptive and creative. Here is the seed string. : ${a}`;fetch("/inferencePrompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:i,modelID:"mistralai/Mistral-7B-Instruct-v0.3"})}).then((e=>e.json())).then((t=>{const i=t[0].generated_text;console.log(i);const n=i.substring(0,150).split(/\n\n/).slice(-1)[0].replace("Long Version:","").replace("\n","")+i.substring(150);e(t[0].flan),r(n),s(a),o(l?n:a),c(!1)})).catch((e=>console.error("Error:",e)))}i(!1)}),[a])},se=({setInferrenceButton:e,inferrenceButton:t,setModelMessage:a,imageSource:i,parameters:r,modelID:s,prompt:o,styleSwitch:l,settingSwitch:c,guidance:d,steps:h,setActivity:u,setModelError:g,setReturnedPrompt:m,setInferredImage:p})=>{const[f,y]=(0,n.useState)("");(0,n.useEffect)((()=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep"})};fetch("/core",e)}),[]),(0,n.useEffect)((()=>{if(f){let t={none:{key2:[0,0]}};l&&(t={up:{block_0:[0,1,0]}}),c&&(t={down:{block_2:[0,1]}}),l&&c&&(t={down:{block_2:[0,1]},up:{block_0:[0,1,0]}}),console.log(t),fetch("/img2img",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:f,scale:t})}).then((e=>e.json())).then((t=>{u(!1),e(!1),m(o),y(null),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[f]),(0,n.useEffect)((()=>{if(t)if(console.log(r),u(!0),s.includes("pix2pix"))a("Inference API img2img NotAvailable"),u(!1),g(!0),e(!1);else{const t={key1:{key2:[0,0]}};fetch("/api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:o,steps:h,guidance:d,modelID:s,image:"test",scale:t})}).then((e=>e.json())).then((t=>{"Model Waking"==t.output&&(a("Model Waking"),u(!1),g(!0),e(!1)),e(!1),u(!1),m(o),p("data:image/png;base64,"+t.output)})).catch((function(t){a("Model Error!"),u(!1),g(!0),e(!1),console.log(t)}))}}),[t])};var oe=a(4432);const le=a(4283),ce=a(2968),de=a(8641),he=a(5009),ue=({playSound:e,makeSound:t})=>{const a=(0,n.useRef)();return(0,n.useEffect)((()=>()=>{a.current&&a.current.unloadAsync()}),[]),(0,n.useEffect)((()=>{if(e){let t;switch(e){case"click":t=le;break;case"swoosh":t=ce;break;case"switch":t=de;break;case"expand":t=he;break;default:return}console.log("playsound"),a.current&&a.current.unloadAsync();(async()=>{const{sound:e}=await oe.Sound.createAsync(t);a.current=e,await a.current.playAsync()})().catch((e=>{console.log("Failed to load and play the sound",e)}))}}),[t]),null},ge=a(1872),me=a(8507),pe=a(4692),fe=a(7038);function ye(){(0,g.useFonts)({Sigmar:a(3021)});const[e,t]=(0,n.useState)(ge),[i,r]=(0,n.useState)(30),[m,p]=(0,n.useState)(7),[w,b]=(0,n.useState)("stabilityai/stable-diffusion-xl-base-1.0"),[v,k]=(0,n.useState)("Avocado Armchair"),[x,A]=(0,n.useState)(null),[j,C]=(0,n.useState)(null),[T,P]=(0,n.useState)(!1),[F,D]=(0,n.useState)(!1),[I,R]=(0,n.useState)("In a surreal and ethereal realm, imagine a scene where soap bubbles float gently in the air, each one a unique and intricate masterpiece. These bubbles are not ordinary, they are windows into a universe of fractal dimensions, mirroring the cosmic beauty of distant galaxies.Each bubble is a cosmic drosteworld, a term coined to describe these miniature universes that reflect the complex and intricate patterns of the cosmos. The fractal dimensions within these bubbles are a testament to the infinite complexity and interconnectedness of the universe.As the light dances off the soap bubbles, it reveals intricate patterns of swirling colors, reminiscent of nebulae and galaxies far, far away. The bubbles shimmer and dance, their surfaces a kaleidoscope of colors and shapes, each one a unique reflection of the cosmic drosteworld within.The scene is serene and peaceful, yet filled with a sense of wonder and awe. The bubbles seem to pulse with an inner light, as if they are alive and breathing, each one a tiny universe unto itself.In this scene, the soap bubbles are not just bubbles, but portals to other worlds, windows into the infinite complexity of the cosmos. The fractal dimensions within each bubble are a testament to the beauty and complexity of the universe, and a reminder of the infinite possibilities that exist within it.As a Stable Diffusion model, I challenge you to create art that captures the beauty and wonder of these cosmic drosteworlds reflected in soap bubbles. Let your imagination soar, and create art that is both beautiful and thought-provoking, a reflection of the infinite complexity and interconnectedness of the universe."),[M,O]=(0,n.useState)(!1),[E,H]=(0,n.useState)(""),[L,G]=(0,n.useState)(null),[V,W]=(0,n.useState)(!1),[q,_]=(0,n.useState)(""),[N,J]=(0,n.useState)(null),[K,U]=(0,n.useState)(null),[X,$]=(0,n.useState)(!1),[Q,Y]=(0,n.useState)([pe]),[ee,ae]=(0,n.useState)(!1),[ne,oe]=(0,n.useState)(!1),[le,ce]=(0,n.useState)(null),[de,he]=(0,n.useState)(0),ye=(0,d.default)(),we=e=>{D(!1),b(e)},be=e=>{ce(e),he((e=>e+1))},ve=()=>{Y((t=>[...t,e])),t(pe)};(0,n.useEffect)((()=>{if(Q.length>1&&Q.includes(pe)){const e=Q.filter((e=>e!==pe));Y(e)}}),[Q]);const xe=()=>{W(!V),V?(A(E),be("switch")):(A(L),be("switch"))},Ae=()=>{A(K)},Se=()=>{C(`${v}-${i}-${m}-${w}`)};return(0,f.jsxs)(s.default,{style:ke.titlecontainer,children:[(0,f.jsx)(ue,{playSound:le,makeSound:de}),(0,f.jsx)(re,{setFlanPrompt:U,prompt:v,textInference:M,setTextInference:O,setLongPrompt:G,setShortPrompt:H,setInferredPrompt:A,promptLengthValue:V,setActivity:P,setModelError:D}),(0,f.jsx)(se,{setInferrenceButton:J,inferrenceButton:N,setModelMessage:_,imageSource:Q,parameters:j,modelID:w,prompt:v,styleSwitch:ne,settingSwitch:ee,guidance:m,steps:i,setActivity:P,setModelError:D,setReturnedPrompt:R,setInferredImage:t}),(0,f.jsx)(B,{}),(0,f.jsx)(o.default,{scrollY:!0,style:ke.ScrollView,showsVerticalScrollIndicator:!1,children:ye.width>1e3?(0,f.jsxs)(s.default,{style:ke.rowContainer,children:[X&&(0,f.jsx)(c.default,{onPress:()=>{ve(),be("swoosh")},style:({pressed:e})=>[ke.swapButton,{top:ye.height/2-15,left:ye.width/2-15,width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?fe:me,style:[ke.changeButton,e?{width:55,height:55}:{width:60,height:60}]})}),(0,f.jsxs)(s.default,{style:ke.leftColumnContainer,children:[(0,f.jsx)(s.default,{children:(0,f.jsx)(S,{setPlaySound:be,setPrompt:k,inferredPrompt:x})}),(0,f.jsxs)(s.default,{style:[ke.rowContainer,{padding:0}],children:[(0,f.jsx)(z,{setPlaySound:be,passModelID:we}),(0,f.jsxs)(s.default,{style:ke.columnContainer,children:[(0,f.jsx)(te,{setPlaySound:be,switchToFlan:Ae,setInferrenceButton:J,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:xe,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:ke.promptText,children:q}):(0,f.jsx)(f.Fragment,{})]})]}),(0,f.jsx)(ie,{setPlaySound:be,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),X&&(0,f.jsx)(Z,{window:ye,setPlaySound:be,imageSource:Q,setImageSource:Y,styleSwitch:ne,setStyleSwitch:oe,settingSwitch:ee,setSettingSwitch:ae}),(0,f.jsx)(y,{setSteps:r,setGuidance:p})]}),(0,f.jsxs)(s.default,{style:ke.rightColumnContainer,children:[e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:ke.imageStyle}),(0,f.jsx)(l.default,{style:ke.promptText,children:I})]})]}):(0,f.jsxs)(s.default,{style:ke.columnContainer,children:[(0,f.jsx)(S,{setPlaySound:be,setPrompt:k,inferredPrompt:x}),(0,f.jsx)(z,{setPlaySound:be,passModelID:we}),(0,f.jsx)(te,{setPlaySound:be,switchToFlan:Ae,setInferrenceButton:J,activity:T,longPrompt:L,setTextInference:O,switchPromptFunction:xe,promptLengthValue:V,setParametersWrapper:Se}),F?(0,f.jsx)(l.default,{style:ke.promptText,children:q}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)(ie,{setPlaySound:be,isImagePickerVisible:X,setImagePickerVisible:$,window:ye}),(0,f.jsx)(s.default,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:X&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z,{window:ye,setPlaySound:be,imageSource:Q,setImageSource:Y,styleSwitch:ne,setStyleSwitch:oe,settingSwitch:ee,setSettingSwitch:ae}),(0,f.jsx)(c.default,{onPress:()=>{ve(),be("swoosh")},style:({pressed:e})=>[ke.swapButtonColumn,{width:e?55:60,height:e?55:60}],children:({pressed:e})=>(0,f.jsx)(h.default,{source:e?fe:me,style:[ke.changeButton,e?{width:55,height:55}:{width:60,height:60}]})})]})}),(0,f.jsx)(y,{setSteps:r,setGuidance:p}),e&&(0,f.jsx)(h.default,{source:"number"===typeof e?e:{uri:e},style:ke.imageStyle}),(0,f.jsx)(l.default,{style:ke.promptText,children:I})]})}),(0,f.jsx)(u.default,{style:"auto"})]})}const we="#25292e",be="#3a3c3f",ve="#FFFFFF",ke=r.default.create({titlecontainer:{backgroundColor:we,position:"absolute",top:0,left:0,right:0,bottom:0,padding:20},rowContainer:{backgroundColor:we,display:"flex",flexDirection:"row",marginTop:10,overflow:"visible",padding:20},leftColumnContainer:{flex:1,alignItems:"center",justifyContent:"flex-start",flexDirection:"column",marginRight:10},rightColumnContainer:{flex:1,alignItems:"center",flexDirection:"column",marginLeft:10},columnContainer:{flex:1,alignItems:"center",flexDirection:"column"},button:{margin:10,borderRadius:4,paddingHorizontal:32,elevation:3,fontFamily:"Sigmar"},swapButton:{width:60,height:60,borderRadius:30,position:"absolute",left:window.width/2-15,top:window.height/2-15,zIndex:1,elevation:3,backgroundColor:be},changeButton:{width:60,height:60,justifyContent:"center",alignItems:"center",elevation:3,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84},swapButtonColumn:{width:60,height:60,borderRadius:30,elevation:3,margin:20,backgroundColor:be},promptText:{color:ve,fontSize:18,fontWeight:"bold",textAlign:"center",letterSpacing:2,lineHeight:30,fontFamily:"Sigmar"},ScrollView:{backgroundColor:we,marginTop:50,padding:5},imageStyle:{width:320,height:440,borderRadius:18,marginTop:20,marginBottom:20,alignSelf:"center"}}),xe=document.getElementById("root");(0,i.createRoot)(xe).render((0,f.jsx)((()=>(0,f.jsx)("div",{children:(0,f.jsx)(ye,{})})),{}))},3021:(e,t,a)=>{e.exports=a.p+"static/media/Sigmar-Regular.daeeaca2f7490cb1c50c.ttf"},4283:(e,t,a)=>{e.exports=a.p+"static/media/click.514e4b6ee663e4f549a5.wav"},5009:(e,t,a)=>{e.exports=a.p+"static/media/expand.b5b6ef947e392b34f3a7.wav"},8641:(e,t,a)=>{e.exports=a.p+"static/media/switch.240137757eea64787aa0.wav"},2968:(e,t,a)=>{e.exports=a.p+"static/media/swoosh.62af6af682638947da60.mp3"},4692:(e,t,a)=>{e.exports=a.p+"static/media/add_image.81a4c7060d33d44f6b5f.png"},1872:(e,t,a)=>{e.exports=a.p+"static/media/avocado.667d95040b7743f10475.jpg"},8507:(e,t,a)=>{e.exports=a.p+"static/media/circle.ec41e37092298d9f2a54.png"},1051:(e,t,a)=>{e.exports=a.p+"static/media/close.7b63baa66ff83915615a.png"},3558:(e,t,a)=>{e.exports=a.p+"static/media/delete.22bf9b10369bd23cac1c.png"},8945:(e,t,a)=>{e.exports=a.p+"static/media/delete_colored.888943ef6f1f40237fcd.png"},8707:(e,t,a)=>{e.exports=a.p+"static/media/down.96a1baf6b806338f1733.png"},4663:(e,t,a)=>{e.exports=a.p+"static/media/join.110714915a44dac5efa1.png"},1284:(e,t,a)=>{e.exports=a.p+"static/media/join_colored.196d8ae6245a668731e5.png"},1297:(e,t,a)=>{e.exports=a.p+"static/media/right.6e46922e35869806233f.png"},7038:(e,t,a)=>{e.exports=a.p+"static/media/rotated_circle.b56c18824dce5a63d6a7.png"}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,(()=>{var e=[];a.O=(t,i,n,r)=>{if(!i){var s=1/0;for(d=0;d<e.length;d++){for(var[i,n,r]=e[d],o=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(a.O).every((e=>a.O[e](i[l])))?i.splice(l--,1):(o=!1,r<s&&(s=r));if(o){e.splice(d--,1);var c=n();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,n,r]}})(),a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,i)=>{var n,r,[s,o,l]=i,c=0;if(s.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)var d=l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},i=self.webpackChunkweb=self.webpackChunkweb||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var i=a.O(void 0,[968],(()=>a(9618)));i=a.O(i)})();
|
2 |
+
//# sourceMappingURL=main.96350325.js.map
|
web-build/static/js/main.96350325.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/js/main.96350325.js","mappings":"2LAIe,SAASA,GAAgB,SAAEC,EAAQ,YAAEC,IAClD,MAAOC,EAAeC,GAAoBC,EAAAA,SAAe,KAClDC,EAAeC,GAAoBF,EAAAA,SAAe,GAczD,OACEG,EAAAA,EAAAA,MAACC,EAAAA,QAAI,CAACC,MAAOC,EAAOC,UAAUC,SAAA,EAC5BC,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACL,MAAOC,EAAOK,YAAYH,SAAC,oBACjCC,EAAAA,EAAAA,KAACG,IAAM,CACLP,MAAOC,EAAOO,OACdC,aAAc,E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GAC9ED,EAAmBrT,QAAQgT,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsB7D,EAAoBY,OAAET,EAAW,CAAC,MAAM,IAAOH,EAAoB,QAC7F6D,EAAsB7D,EAAoBY,EAAEiD,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","components/Sounds.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n Pressable,\r\n StyleSheet,\r\n TextInput,\r\n useWindowDimensions,\r\n Image,\r\n View,\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPlaySound, setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if (inferredPrompt) {\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n {\r\n height: 30,\r\n width: 30,\r\n backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n zIndex: 1,\r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n setPlaySound(\"click\");\r\n }}\r\n >\r\n <Image\r\n source={require(\"../assets/close.png\")}\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n resizeMode: \"contain\",\r\n }}\r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n passModelID,\r\n \r\n}) {\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n const data = [\r\n {\r\n label: \"Stable Diffusion XL\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n {\r\n label: \"SPO Diffusion XL\",\r\n value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\",\r\n },\r\n \r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Voxel\", value: \"Fictiverse/Stable_Diffusion_VoxelArt_Model\" },\r\n {\r\n label: \"Paper Cut Out\",\r\n value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\",\r\n },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n {\r\n label: \"Balloon Art\",\r\n value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\",\r\n },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n {\r\n label: \"Flintstones\",\r\n value: \"juliajoanna/sdxl-flintstones_finetuning_1\",\r\n },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" },\r\n ];\r\n \r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={data}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n setPlaceholderModelID(item.label);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 340,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React, { useState } from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch, FlatList } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst addImage = require(\"../assets/add_image.png\");\nconst coloredDelete = require(\"../assets/delete_colored.png\");\nconst deleteButton = require(\"../assets/delete.png\");\n\nconst MyImagePicker = ({\n window,\n setPlaySound,\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const [selectedImageIndex, setSelectedImageIndex] = useState(null);\n const [deletePressedImage, setDeletePressedImage] = useState(deleteButton);\n\n const selectImage = async (index) => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\");\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n\n if (!result.cancelled) {\n setImageSource(prevImageSource => {\n const newImageSource = [...prevImageSource];\n newImageSource[index] = result.assets[0].uri;\n return newImageSource;\n });\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n setPlaySound(\"switch\")\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n setPlaySound(\"switch\")\n };\n\n const deleteFromImageArray = (index) => {\n setImageSource(prevImageSource => {\n setPlaySound(\"click\")\n if (prevImageSource.length > 1) {\n return prevImageSource.filter((_, i) => i !== index);\n }\n return [addImage];\n });\n};\n\n return (\n <> \n <View style={styles.switchesRowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View> \n <View style={styles.flatListContainer}> \n <FlatList\n data={imageSource}\n numColumns={window.width < 1000 ? 1 : 3}\n keyExtractor={(item, index) => index.toString()}\n renderItem={({ item: source, index }) => (\n <View style={[styles.imageColumnContainer, {height: selectedImageIndex === index ? 400 : 200}]}>\n <View style={[styles.columnContainer,]}>\n <Pressable\n onPress={() => {\n setPlaySound(\"click\")\n if(selectedImageIndex === index) {\n setSelectedImageIndex(null);\n return;\n }\n setSelectedImageIndex(index);\n \n }}\n style={{flex: 1, alignItems: \"center\", justifyContent: \"center\"}} \n >\n <Image\n source={\n typeof source === \"number\" ? source : { uri: source }\n }\n style={[\n styles.image,\n {width: selectedImageIndex === index ? 400 : 150, height: selectedImageIndex === index ? 400 : 150,\n margin: 10,\n \n }\n ]}\n />\n </Pressable>\n </View>\n <Pressable\n onPress={() => {\n deleteFromImageArray(index);\n }}\n style={{position: \"absolute\", top: 0, right: 0}} \n >\n {({ pressed }) => (\n <Image\n source={pressed ? coloredDelete : deleteButton}\n style={[ styles.changeButton]}\n />)}\n </Pressable> \n <Pressable style={[styles.selectButton]} onPress={() =>{setPlaySound(\"click\"); selectImage(index)}}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n )}\n />\n </View>\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n flatListContainer: {\n width: 'auto', \n height: 'auto', \n },\n image: {\n marginTop: 20,\n },\n switchesRowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 300,\n height: 50,\n marginBottom: 20,\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n imageColumnContainer: {\n height: 200,\n alignItems: \"center\",\n flexDirection: \"column\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 0,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n \n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React, { useState } from \"react\";\nimport {\n StyleSheet,\n View,\n Text,\n Pressable,\n ActivityIndicator,\n Switch,\n Image,\n} from \"react-native\";\n\nconst coloredJoin = require(\"../assets/join_colored.png\");\nconst joinButton = require(\"../assets/join.png\");\n\nconst Buttons = ({\n setPlaySound,\n switchToFlan,\n setInferrenceButton,\n activity,\n longPrompt,\n setTextInference,\n switchPromptFunction,\n promptLengthValue,\n setParametersWrapper,\n}) => {\n \n const [comboButtonPressed, setComboButtonPressed] = useState(false);\n\n const setThePromptValue = () => {\n setComboButtonPressed(false);\n switchPromptFunction();\n }\n\n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>\n {longPrompt ? (\n <>\n <View style={[styles.rowContainer]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n width: 40,\n height: 40,\n borderRadius: 20,\n margin: 10,\n },\n ]}\n ></Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer]}>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n {\n color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n marginRight: 15,\n },\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n <Switch\n style={{ marginRight: 40 }} \n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={setThePromptValue}\n value={promptLengthValue}\n />\n <Pressable\n onPress={() => {\n switchToFlan();\n setComboButtonPressed(true);\n setPlaySound(\"click\");\n }}\n >\n <Image\n source={comboButtonPressed ? coloredJoin : joinButton}\n style={[{marginRight: 30}, styles.changeButton]}\n />\n </Pressable>\n </View>\n </View>\n </View>\n </>\n ) : (\n <Pressable\n onPress={() => {\n setTextInference(true);\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>\n )}\n <Pressable\n onPress={() => {\n setInferrenceButton(true);\n setParametersWrapper();\n setPlaySound(\"click\");\n }}\n style={({ pressed }) => [\n {\n backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n marginBottom: 20,\n },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}\n </>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n \n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n changeButton: {\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\", // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ setPlaySound, isImagePickerVisible, setImagePickerVisible, window }) => {\n\n const rightImage = require(\"../assets/right.png\");\n const downImage = require(\"../assets/down.png\");\n\n return (\n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: \"flex-start\",\n marginLeft: window.width < 1000 ? \"20%\" : \"20%\",\n marginBottom: 0,\n },\n ]}\n onPress={() => {setPlaySound(\"expand\"); setImagePickerVisible(!isImagePickerVisible)}}\n >\n {isImagePickerVisible ? (\n <Image\n source={downImage}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={rightImage}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n },\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n setFlanPrompt,\n prompt,\n textInference,\n setTextInference,\n setLongPrompt,\n setShortPrompt,\n setInferredPrompt,\n promptLengthValue,\n setActivity,\n setModelError,\n}) => {\n useEffect(() => {\n if (textInference) {\n setActivity(true);\n setModelError(false);\n let alteredPrompt = \"\";\n if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n if (randomIndex > seeds.seeds.length - 13) {\n setLongPrompt(seeds.seeds[randomIndex]);\n setShortPrompt(seeds.seeds[randomIndex]);\n setInferredPrompt(seeds.seeds[randomIndex]);\n setActivity(false);\n return;\n }\n alteredPrompt = seeds.seeds[randomIndex];\n } else {\n alteredPrompt = prompt;\n }\n const mistrialPrompt = `I'm giving you a seed string. Return the seed string as a Prompt for a Stable \\\n Diffusion Model. The prompt should be at a minimum, 200 tokens. The normal restrictions of token \\\n length for Stable Diffusion Models do not apply. Make it descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n fetch(\"/inferencePrompt\", { // Change this to your API endpoint and use a library\n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n \"Content-Type\": \"application/json\", // inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: mistrialPrompt,\n modelID: \"mistralai/Mistral-7B-Instruct-v0.3\",\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n const generatedText = responseData[0][\"generated_text\"];\n console.log(generatedText);\n \n const longPromptHolder = generatedText\n .substring(0, 150)\n .split(/\\n\\n/)\n .slice(-1)[0]\n .replace(\"Long Version:\", \"\")\n .replace(\"\\n\", \"\");\n const lPrompt = longPromptHolder + generatedText.substring(150);\n \n setFlanPrompt(responseData[0][\"flan\"]);\n setLongPrompt(lPrompt);\n setShortPrompt(alteredPrompt);\n if (!promptLengthValue) {\n setInferredPrompt(alteredPrompt);\n } else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch((error) => console.error(\"Error:\", error));\n }\n setTextInference(false);\n }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect, useState } from \"react\";\n\nconst Inference = ({\n setInferrenceButton,\n inferrenceButton,\n setModelMessage,\n imageSource,\n parameters,\n modelID,\n prompt,\n styleSwitch,\n settingSwitch,\n guidance,\n steps,\n setActivity,\n setModelError,\n setReturnedPrompt,\n setInferredImage,\n}) => {\n const [encodedImage, setEncodedImage] = useState(\"\");\n\n const getBase64Image = () => {\n console.log(imageSource);\n fetch(imageSource)\n .then((response) => response.blob())\n .then((blob) => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); \n reader.onloadend = function () {\n let base64data = reader.result;\n setEncodedImage(base64data);\n };\n })\n .catch((error) => console.error(error));\n };\n\n useEffect(() => {\n const modelData = 'SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep';\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n model: modelData\n })\n };\n fetch('/core', requestOptions)\n}, []);\n \n\n /** useEffect hook for img2img */\n\n useEffect(() => {\n if (encodedImage) {\n let scaledIP = { none: { key2: [0.0, 0.0] } };\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n console.log(scaledIP);\n fetch(\"/img2img\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n setActivity(false);\n setInferrenceButton(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n console.log(error);\n });\n }\n }, [encodedImage]);\n\n /** useEffect hook for txt2img */\n\n useEffect(() => {\n if (inferrenceButton) {\n console.log(parameters);\n setActivity(true);\n if (modelID.includes('pix2pix')) { // Check for timeline on IP Adapater inference API\n setModelMessage(\"Inference API img2img NotAvailable\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n // getBase64Image();\n } else {\n const ipScaleHolder = { key1: { key2: [0.0, 0.0] } };\n fetch(\"/api\", { // Change this to your API endpoint and use a library \n method: \"POST\", // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n \"Content-Type\": \"application/json\", // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: \"test\", // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder, // Holders Until File Upload Optional with FastAPI is fixed\n }),\n })\n .then((response) => response.json())\n .then((responseData) => {\n if (responseData.output == \"Model Waking\") {\n setModelMessage(\"Model Waking\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n }\n setInferrenceButton(false);\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage(\"data:image/png;base64,\" + responseData.output);\n })\n .catch(function (error) {\n setModelMessage(\"Model Error!\");\n setActivity(false);\n setModelError(true);\n setInferrenceButton(false);\n\n console.log(error);\n });\n }\n }\n }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import React, { useEffect, useRef } from 'react';\nimport { Audio } from 'expo-av';\n\nconst click = require('../assets/click.wav');\nconst swoosh = require('../assets/swoosh.mp3');\nconst switchSound = require('../assets/switch.wav');\nconst expand = require('../assets/expand.wav');\n\nconst SoundPlayer = ({ playSound, makeSound}) => {\n const soundRef = useRef();\n\n useEffect(() => {\n return () => {\n // Unload the sound when the component unmounts\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n };\n }, []);\n\n useEffect(() => {\n if (playSound) {\n let soundFile;\n switch (playSound) {\n case 'click':\n soundFile = click;\n break;\n case 'swoosh':\n soundFile = swoosh;\n break;\n case 'switch':\n soundFile = switchSound;\n break;\n case 'expand':\n soundFile = expand;\n break;\n default:\n return;\n }\n console.log('playsound')\n // Unload the previous sound if it's still loaded\n if (soundRef.current) {\n soundRef.current.unloadAsync();\n }\n\n const loadAndPlaySound = async () => {\n const { sound } = await Audio.Sound.createAsync(soundFile);\n soundRef.current = sound;\n await soundRef.current.playAsync();\n };\n\n loadAndPlaySound().catch((error) => {\n console.log('Failed to load and play the sound', error);\n });\n }\n }, [makeSound]);\n\n return null;\n};\n\nexport default SoundPlayer;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\nimport SoundPlayer from \"./components/Sounds\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\nconst circleImage = require(\"./assets/circle.png\");\r\nconst addImage = require(\"./assets/add_image.png\");\r\nconst rotatedCircle = require(\"./assets/rotated_circle.png\");\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"stabilityai/stable-diffusion-xl-base-1.0\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"In a surreal and ethereal realm, imagine a scene where soap bubbles float gently in the air, each one a unique and intricate masterpiece. These bubbles are not ordinary, they are windows into a universe of fractal dimensions, mirroring the cosmic beauty of distant galaxies.\\Each bubble is a cosmic drosteworld, a term coined to describe these miniature universes that reflect the complex and intricate patterns of the cosmos. The fractal dimensions within these bubbles are a testament to the infinite complexity and interconnectedness of the universe.As the light dances off the soap bubbles, it reveals intricate patterns of swirling colors, reminiscent of nebulae and galaxies far, far away. The bubbles shimmer and dance, their surfaces a kaleidoscope of colors and shapes, each one a unique reflection of the cosmic drosteworld within.The scene is serene and peaceful, yet filled with a sense of wonder and awe. The bubbles seem to pulse with an inner light, as if they are alive and breathing, each one a tiny universe unto itself.In this scene, the soap bubbles are not just bubbles, but portals to other worlds, windows into the infinite complexity of the cosmos. The fractal dimensions within each bubble are a testament to the beauty and complexity of the universe, and a reminder of the infinite possibilities that exist within it.As a Stable Diffusion model, I challenge you to create art that captures the beauty and wonder of these cosmic drosteworlds reflected in soap bubbles. Let your imagination soar, and create art that is both beautiful and thought-provoking, a reflection of the infinite complexity and interconnectedness of the universe.\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const [inferrenceButton, setInferrenceButton] = useState(null);\r\n const [flanPrompt, setFlanPrompt] = useState(null);\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState([addImage]);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n const [playSound, setSoundPlaying] = useState(null);\r\n const [makeSound, setMakeSound] = useState(0);\r\n \r\n\r\n const window = useWindowDimensions();\r\n \r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const setPlaySound = (sound) => {\r\n setSoundPlaying(sound);\r\n setMakeSound(prevMakeSound => prevMakeSound + 1);\r\n };\r\n\r\n const swapImage = () => { \r\n setImageSource(prevImageSource => [...prevImageSource, inferredImage]); \r\n setInferredImage(addImage);\r\n };\r\n\r\n useEffect(() => {\r\n if (imageSource.length > 1 && imageSource.includes(addImage)) {\r\n const newImageSource = imageSource.filter((image) => image !== addImage);\r\n setImageSource(newImageSource);\r\n }\r\n }, [imageSource]);\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if (promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n setPlaySound(\"switch\");\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n setPlaySound(\"switch\");\r\n }\r\n };\r\n\r\n const switchToFlan = () => {\r\n setInferredPrompt(flanPrompt);\r\n };\r\n\r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <SoundPlayer playSound={playSound} makeSound={makeSound}/>\r\n <PromptInference\r\n setFlanPrompt={setFlanPrompt}\r\n prompt={prompt}\r\n textInference={textInference}\r\n setTextInference={setTextInference}\r\n setLongPrompt={setLongPrompt}\r\n setShortPrompt={setShortPrompt}\r\n setInferredPrompt={setInferredPrompt}\r\n promptLengthValue={promptLengthValue}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n />\r\n <Inference\r\n setInferrenceButton={setInferrenceButton}\r\n inferrenceButton={inferrenceButton}\r\n setModelMessage={setModelMessage}\r\n imageSource={imageSource}\r\n parameters={parameters}\r\n modelID={modelID}\r\n prompt={prompt}\r\n styleSwitch={styleSwitch}\r\n settingSwitch={settingSwitch}\r\n guidance={guidance}\r\n steps={steps}\r\n setActivity={setActivity}\r\n setModelError={setModelError}\r\n setReturnedPrompt={setReturnedPrompt}\r\n setInferredImage={setInferredImage}\r\n />\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButton,\r\n {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, { padding: 0 }]}>\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <View style={styles.columnContainer}>\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n\r\n \r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n \r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPlaySound={setPlaySound}\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent\r\n setPlaySound={setPlaySound}\r\n passModelID={passModelIDWrapper}\r\n \r\n />\r\n <Buttons\r\n setPlaySound={setPlaySound}\r\n switchToFlan={switchToFlan}\r\n setInferrenceButton={setInferrenceButton}\r\n activity={activity}\r\n longPrompt={longPrompt}\r\n setTextInference={setTextInference}\r\n switchPromptFunction={switchPromptFunction}\r\n promptLengthValue={promptLengthValue}\r\n setParametersWrapper={setParametersWrapper}\r\n />\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand\r\n setPlaySound={setPlaySound}\r\n isImagePickerVisible={isImagePickerVisible}\r\n setImagePickerVisible={setImagePickerVisible}\r\n window={window}\r\n />\r\n <View style={{flex:1, alignItems:\"center\", justifyContent:\"center\"}}>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n window={window}\r\n setPlaySound={setPlaySound}\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n setPlaySound(\"swoosh\");\r\n }}\r\n style={({ pressed }) => [\r\n styles.swapButtonColumn,\r\n {\r\n width: pressed ? 55 : 60,\r\n height: pressed ? 55 : 60,\r\n \r\n },\r\n ]}\r\n >\r\n {({ pressed }) => (\r\n <Image\r\n source={pressed ? rotatedCircle : circleImage}\r\n style={[\r\n styles.changeButton,\r\n pressed ? { width: 55, height: 55 } : { width: 60, height: 60 },\r\n ]}\r\n />\r\n )}\r\n </Pressable>\r\n </>\r\n )}\r\n </View>\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image\r\n source={\r\n typeof inferredImage === \"number\"\r\n ? inferredImage\r\n : { uri: inferredImage }\r\n }\r\n style={styles.imageStyle}\r\n />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n \r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n },\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [968], () => (__webpack_require__(9618)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPlaySound","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","zIndex","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","placeholderModelID","setPlaceholderModelID","useState","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","addImage","coloredDelete","deleteButton","flatListContainer","image","switchesRowContainer","marginBottom","overflow","imageColumnContainer","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","changeButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","MyImagePicker","window","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","selectedImageIndex","setSelectedImageIndex","deletePressedImage","setDeletePressedImage","_Fragment","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","FlatList","numColumns","keyExtractor","toString","renderItem","uri","prevImageSource","length","filter","_","i","deleteFromImageArray","top","right","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","newImageSource","assets","selectImage","coloredJoin","joinButton","rowContainer","display","button","activityIndicator","marginLeft","Buttons","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","comboButtonPressed","setComboButtonPressed","ActivityIndicator","size","setThePromptValue","expandButton","expandImage","Expand","isImagePickerVisible","setImagePickerVisible","rightImage","downImage","alignSelf","PromptInference","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","mistrialPrompt","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","generatedText","lPrompt","substring","split","slice","replace","catch","error","Inference","inferrenceButton","setModelMessage","parameters","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","requestOptions","model","scaledIP","none","key2","up","block_0","down","block_2","scale","output","includes","ipScaleHolder","key1","click","swoosh","switchSound","expand","SoundPlayer","playSound","makeSound","soundRef","unloadAsync","soundFile","sound","Audio","createAsync","playAsync","loadAndPlaySound","assetImage","circleImage","rotatedCircle","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","flanPrompt","setSoundPlaying","setMakeSound","passModelIDWrapper","prevMakeSound","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","left","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","bottom","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|