Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


How To Build Stable Diffusion Text To Image Prompts

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

As developers, we are always looking for new and interesting ways to challenge ourselves and create something new. In this blog post, we will explore how to create AI text-to-image prompts using a cross-platform application built using Delphi 11 FireMonkey. These prompts will be used to generate images using Stable Diffusion. Stay tuned as we walk you through the process of creating these prompts and show you some examples!

What is Stable Diffusion?

StableDiffusion is an open source software development platform that enables generative AI. It allows developers to create and train neural networks without the need for extensive coding knowledge. The platform also provides a library of pre-trained models that can be used to generate new data sets or improve the accuracy of existing ones. In addition, StableDiffusion offers a number of tools for visualizing and debugging neural networks. As a result, it is an essential tool for anyone interested in developing generative AI applications.

What is a generative AI prompt generator?

A prompt generator is a type of AI that is designed to generate creative prompts for writers, artists, and others. The goal of a prompt generator is to help spark the creative process by providing ideas and inspiration. Prompt generators can be used for a wide range of purposes, from generating ideas for new stories and characters to helping artists come up with new painting or sculpture concepts. There are many different types of prompt generators, but they all share the same basic goal: to help you tap into your creativity and come up with new ideas. Whether you’re a writer who is struggling to find new story ideas, an artist who wants to explore new mediums, or simply someone who is looking for a fun way to spark their creativity, a prompt generator can be a helpful tool.

What is the Stable Diffusion Text To Image Prompts generator?

The Prompts generator is a tool that allows you to select from a number of different image art formats, perspectives, styles, variations, and more to build the ultimate prompt for generative AI text to images using Stable Diffusion, MidJourney, or DALL-E. The Prompts generator comes with a built in Generate Image feature which uses the REST API to use the prompt you’ve built to generate an image.

What are some sample fan art for Delphi prompts created with the app?

  • Glass Paint of Greek Temple, Tilted Frame, in the style of Gothic, Metallic, Trending On Artstation
  • Action Photography of Greek Temple, Shallow Depth Of Field, in the style of Cyberpunk, Ethereal, 70Mm
  • Architectural Photography From Magazine of Greek Temple, 1/1000 Sec Shutter, in the style of Art Deco, Utopian, Unreal Engine
  • Glitter of Greek Temple, Aerial View, in the style of The Movie Matrix, Muted, Well Preserved
  • Stained Glass Window of Greek Temple, Long Shot, in the style of Fauvism, Broken, Vivid

What does a Stable Diffusion generated image of a Greek Temple look like?

Greek temple with Stable Diffusion generative AI | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

What does the Stable Diffusion Text To Image Prompts generator look like?

Here is a screenshot from the Prompts generator running on Windows. It is cross-platform so it also runs on Android, iOS, macOS, and Linux with a single codebase and single UI.

Stable Diffusion Prompts generator | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Ready to download the Prompts generator?

The full source code for the Stable Diffusion Text To Speed Prompts generator is available over on Github. You need Delphi 11.1 or higher to be able to compile it and you will also need an API key from to generate images from within the app. There is also a prompt generator available for the Delphi VCL framework.

Head over to Github to download the full source code for the Stable Diffusion Text To Speed Prompts generator.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

Sign up for our Newsletter and
stay informed

Leave a Reply