You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"cinematic film still of a cat basking in the sun on a roof in Turkey, highly detailed, high budget hollywood movie, cinemascope, moody, epic, gorgeous, film grain",
193
+
"pixel-art a cozy coffee shop interior, low-res, blocky, pixel art style, 8-bit graphics"
194
+
]
195
+
196
+
images = pipeline(
197
+
prompt=prompts,
198
+
image=input_images,
199
+
num_images_per_prompt=2,
200
+
).images
201
+
202
+
fig, axes = plt.subplots(2, 2, figsize=(12, 12))
203
+
axes = axes.flatten()
204
+
80
205
for i, image inenumerate(images):
81
-
image.save(f"batch_image_{i}.png")
82
-
print(f"Generated image {i+1} for prompt: {prompts[i]}")
206
+
axes[i].imshow(image)
207
+
axes[i].set_title(f"Image {i+1}")
208
+
axes[i].axis('off')
209
+
210
+
plt.tight_layout()
211
+
plt.show()
83
212
```
84
213
85
214
</hfoption>
@@ -120,9 +249,16 @@ images = pipeline(
120
249
generator=generator
121
250
).images
122
251
252
+
fig, axes = plt.subplots(2, 2, figsize=(12, 12))
253
+
axes = axes.flatten()
254
+
123
255
for i, image inenumerate(images):
124
-
image.save(f"batch_image_{i}.png")
125
-
print(f"Generated image {i+1} for prompt: {prompts[i]}")
256
+
axes[i].imshow(image)
257
+
axes[i].set_title(f"Image {i+1}")
258
+
axes[i].axis('off')
259
+
260
+
plt.tight_layout()
261
+
plt.show()
126
262
```
127
263
128
264
You can use this to iteratively select an image associated with a seed and then improve on it by crafting a more detailed prompt.
0 commit comments