Generate dreambooth image
generate dreambooth image is a command that generates an image based on a text prompt using the Stability API and saves it to a file.
This command is intended to take a human-readable text prompt and process it using a specified Dreambooth engine, resulting in an artificial image which is then saved to a local file.
Parameters
File Name: The name of the file to which the generated image will be saved. Include the extension in the file name (For example, "output.png").
Text Prompt: The prompt text is used to generate the image. This should be a concise, human-readable statement or description.
Engine Name: (Optional) This specifies the name of the Dreambooth engine that will process the text prompt. Default is "Stable Diffusion XL Beta v2.2.2".
Height: (Optional) The height of the generated image in pixels. Default value is 512.
Width: (Optional) The width of the generated image in pixels. Default value is 512.
Example
connect to dreambooth("your dreambooth api key") generate dreambooth image("dream.png", "A futuristic city skyline at sunset", "Stable Diffusion XL Beta v2.2.2", 1024, 1024)
Remember to replace "your dreambooth api key" with your actual Dreambooth API key. This script will generate an image of a "futuristic city skyline at sunset" using the "Stable Diffusion XL Beta v2.2.2" engine and save it as a 1024x1024 pixel image named "dream.png".