{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/root/synthetic-data/env/lib/python3.8/site-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.\n", " torch.utils._pytree._register_pytree_node(\n", "/root/synthetic-data/env/lib/python3.8/site-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.\n", " torch.utils._pytree._register_pytree_node(\n", "/root/synthetic-data/env/lib/python3.8/site-packages/diffusers/configuration_utils.py:244: FutureWarning: It is deprecated to pass a pretrained model name or path to `from_config`.If you were trying to load a model, please use .load_config(...) followed by .from_config(...) instead. Otherwise, please make sure to pass a configuration dictionary instead. This functionality will be removed in v1.0.0.\n", " deprecate(\"config-passed-as-path\", \"1.0.0\", deprecation_message, standard_warn=False)\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "fa49c880c1a04975970027a7e0ce7279", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Loading pipeline components...: 0%| | 0/7 [00:00" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pipe(\n", " prompt=\"Rafflesia flower in full bloom surrounded by few huge thick, fleshy lobes with pointed tips, entire flower is a deep red brown speckled with lighter, cream-colored spots, giving it a speckled appearance, set in a lush green rainforest, Vibrant colors, Macro lens, f/4 aperture, ISO 200, natural diffused light\",\n", " negative_prompt=\"out of frame, low-res, text, error, cropped, worst quality, low quality, jpeg artifacts, duplicate, morbid, mutilated, out of frame, poorly drawn, mutation, deformed, blurry, bad anatomy, bad proportions, missing parts, extra limbs, fused parts, too many spots, long stem, username, watermark, signature\",\n", " num_inference_steps=20,\n", " guidance_scale=4\n", ").images[0]" ] }, { "cell_type": "code", "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "5b271de289d94ec3a436c3263acdc130", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/20 [00:00" ] }, "execution_count": 23, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pipe(\n", " prompt=\"Encephalartos Woodii flower, a rare cycad species, bright yellow-orange Cone structure with tightly packed scales, lush green and brown surroundings, Macro lens, f/5.6 aperture, ISO 400, natural diffused sunlight filtering through the forest canopy\",\n", " negative_prompt=\"out of frame, lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, poorly drawn, mutation, deformed, blurry, bad anatomy, bad proportions, missing parts, extra limbs, fused parts, too many scales, long stem, username, watermark, signature\",\n", " num_inference_steps=20,\n", " guidance_scale=4\n", ").images[0]" ] }, { "cell_type": "code", "execution_count": 18, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "293a7f82ec9c440bb24c3fca3e89ca37", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/20 [00:00" ] }, "execution_count": 18, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pipe(\n", " prompt=\"Top View of Amorphophallus Titanum Corpse Flower, towering inflorescence with a deep burgundy spathe and a tall, yellow-green phallic spadix, Set against a lush jungle background, Atmospheric mood with a hint of mist, Wide-angle lens, f/11 aperture, ISO 100, soft diffused natural light\",\n", " negative_prompt=\"out of frame, low-res, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, poorly drawn, mutation, deformed, blurry, bad anatomy, bad proportions, missing parts, extra limbs, fused parts, too many scales, long stem, username, watermark, signature\",\n", " num_inference_steps=20,\n", " guidance_scale=4\n", ").images[0]" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "0ef7fbc7d7324f7eaa8142e416a017c1", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/20 [00:00" ] }, "execution_count": 17, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pipe(\n", " prompt=\"Ghost Orchid flower, delicate and ethereal, Translucent white petals with a hint of green, Suspended in mid-air against a dark, misty forest background, Mysterious and haunting atmosphere, Macro lens, f/2.8 aperture, ISO 800, soft, diffused lighting\",\n", " negative_prompt=\"out of frame, low-res, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, poorly drawn, mutation, deformed, blurry, bad anatomy, bad proportions, missing parts, extra limbs, fused parts, too many scales, long stem, username, watermark, signature\",\n", " num_inference_steps=20,\n", " guidance_scale=4\n", ").images[0]" ] }, { "cell_type": "code", "execution_count": 31, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "de9618e92da84b159febe04812968d98", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/20 [00:00" ] }, "execution_count": 31, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pipe(\n", " prompt=\"Dragon Blood Tree, Dracaena cinnabari, standing majestically on a rocky cliff, Distinctive umbrella-shaped thick and dense canopy with dense, sword-like leaves, Rich green foliage contrasting against a clear blue sky, Rugged, arid landscape in the background, Wide-angle lens, f/8 aperture, ISO 100, bright, natural sunlight\",\n", " negative_prompt=\"out of frame, low-res, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, poorly drawn, mutation, deformed, blurry, bad anatomy, bad proportions, missing parts, extra limbs, fused parts, too many scales, long stem, username, watermark, signature\",\n", " num_inference_steps=20,\n", " guidance_scale=4\n", ").images[0]" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10" } }, "nbformat": 4, "nbformat_minor": 4 }