ip adapter is gone
Browse files- App/Generate/database/Vercel.py +21 -23
App/Generate/database/Vercel.py
CHANGED
@@ -42,26 +42,26 @@ class AsyncImageGenerator:
|
|
42 |
# },
|
43 |
"input": {
|
44 |
"cfg": 2.5,
|
45 |
-
"seed": 42,
|
46 |
"image": "https://image.lexica.art/full_webp/e41b87fb-4cc3-43cd-a6e6-f3dbb08c2399",
|
47 |
"steps": 30,
|
48 |
"width": 1024,
|
49 |
"height": 1536,
|
50 |
"prompt": payload,
|
51 |
-
"sampler": "dpmpp_2m_sde_gpu",
|
52 |
-
"scheduler": "karras",
|
53 |
-
"output_format": "png",
|
54 |
"output_quality": 95,
|
55 |
# "negative_prompt": "clouds, people, buildings",
|
56 |
-
"number_of_images": 1,
|
57 |
-
"ip_adapter_weight": 1,
|
58 |
-
"ip_adapter_weight_type": "style transfer precise",
|
59 |
},
|
60 |
-
"path": "models/fofr/kolors-with-ipadapter/versions/5a1a92b2c0f81813225d48ed8e411813da41aa84e7582fb705d1af46eea36eed",
|
61 |
# "path": "models/playgroundai/playground-v2.5-1024px-aesthetic/versions/a45f82a1382bed5c7aeb861dac7c7d191b0fdf74d8d57c4a0e6ed7d4d0bf7d24",
|
62 |
# "path": "models/fofr/any-comfyui-workflow/versions/cd385285ba75685a040afbded7b79814a971f3febf46c5eab7c716e200c784e1",
|
63 |
# "path": "models/fofr/sd3-explorer/versions/a9f4aebd943ad7db13de8e34debea359d5578d08f128e968f9a36c3e9b0148d4",
|
64 |
-
|
65 |
# "path": "models/lucataco/proteus-v0.4/versions/34a427535a3c45552b94369280b823fcd0e5c9710e97af020bf445c033d4569e",
|
66 |
# "path": "models/lucataco/juggernaut-xl-v9/versions/bea09cf018e513cef0841719559ea86d2299e05448633ac8fe270b5d5cd6777e",
|
67 |
}
|
@@ -136,21 +136,19 @@ async def process_images(payloads):
|
|
136 |
return results
|
137 |
|
138 |
|
139 |
-
# #
|
140 |
-
|
141 |
-
|
142 |
-
|
|
|
|
|
|
|
143 |
|
144 |
-
# The artwork pays homage to the legendary Frank Frazetta, showcasing the distinctive styles of Loish van Baarle and the dynamic brushwork of Boris Vallejo. This masterpiece, a tribute to the talents of renowned artists Ross Tran, Greg Tocchini, Tom Bagshaw, and Steve Henderson, creates a captivating and enchanting scene.
|
145 |
|
146 |
-
#
|
147 |
-
|
|
|
|
|
148 |
|
149 |
|
150 |
-
|
151 |
-
# async def main():
|
152 |
-
# results = await process_images(payloads)
|
153 |
-
# pprint.pprint(results)
|
154 |
-
|
155 |
-
|
156 |
-
# asyncio.run(main())
|
|
|
42 |
# },
|
43 |
"input": {
|
44 |
"cfg": 2.5,
|
45 |
+
# "seed": 42,
|
46 |
"image": "https://image.lexica.art/full_webp/e41b87fb-4cc3-43cd-a6e6-f3dbb08c2399",
|
47 |
"steps": 30,
|
48 |
"width": 1024,
|
49 |
"height": 1536,
|
50 |
"prompt": payload,
|
51 |
+
# "sampler": "dpmpp_2m_sde_gpu",
|
52 |
+
# "scheduler": "karras",
|
53 |
+
# "output_format": "png",
|
54 |
"output_quality": 95,
|
55 |
# "negative_prompt": "clouds, people, buildings",
|
56 |
+
# "number_of_images": 1,
|
57 |
+
# "ip_adapter_weight": 1,
|
58 |
+
# "ip_adapter_weight_type": "style transfer precise",
|
59 |
},
|
60 |
+
# "path": "models/fofr/kolors-with-ipadapter/versions/5a1a92b2c0f81813225d48ed8e411813da41aa84e7582fb705d1af46eea36eed",
|
61 |
# "path": "models/playgroundai/playground-v2.5-1024px-aesthetic/versions/a45f82a1382bed5c7aeb861dac7c7d191b0fdf74d8d57c4a0e6ed7d4d0bf7d24",
|
62 |
# "path": "models/fofr/any-comfyui-workflow/versions/cd385285ba75685a040afbded7b79814a971f3febf46c5eab7c716e200c784e1",
|
63 |
# "path": "models/fofr/sd3-explorer/versions/a9f4aebd943ad7db13de8e34debea359d5578d08f128e968f9a36c3e9b0148d4",
|
64 |
+
"path": "models/stability-ai/stable-diffusion-3",
|
65 |
# "path": "models/lucataco/proteus-v0.4/versions/34a427535a3c45552b94369280b823fcd0e5c9710e97af020bf445c033d4569e",
|
66 |
# "path": "models/lucataco/juggernaut-xl-v9/versions/bea09cf018e513cef0841719559ea86d2299e05448633ac8fe270b5d5cd6777e",
|
67 |
}
|
|
|
136 |
return results
|
137 |
|
138 |
|
139 |
+
# # Example payloads
|
140 |
+
payloads = [
|
141 |
+
"""
|
142 |
+
女人,红色连衣裙,皱眉(愤怒),愤怒的表情,大张的嘴巴,特写,高角度
|
143 |
+
这幅艺术作品致敬了传奇的弗兰克·弗拉泽塔,展示了Loish van Baarle的独特风格和Boris Vallejo的动态笔触。这幅杰作向著名艺术家Ross Tran、Greg Tocchini、Tom Bagshaw和Steve Henderson的才华致敬,创造了一个引人入胜且迷人的场景。
|
144 |
+
"""
|
145 |
+
]
|
146 |
|
|
|
147 |
|
148 |
+
# # Run the asyncio event loop
|
149 |
+
async def main():
|
150 |
+
results = await process_images(payloads)
|
151 |
+
pprint.pprint(results)
|
152 |
|
153 |
|
154 |
+
asyncio.run(main())
|
|
|
|
|
|
|
|
|
|
|
|