Generate images from text prompts using Stability AI's text-to-image models. Use when you need to create images from textual descriptions without a reference image. Supports multiple prompts with weights, configurable dimensions, and various generation parameters.
seedintegerRandom seed for reproducible generation. Use the same seed with same parameters to get identical results. If omitted, a random seed is used.
stepsintegerNumber of diffusion steps. More steps generally improve quality but take longer. Typical range: 30-50. If omitted, engine's default is used.
widthintegerWidth of generated image in pixels. Must be a multiple of 64. Constraints: For 768 engines: 589,824 ≤ height*width ≤ 1,048,576. For other engines: 262,144 ≤ height*width ≤ 1,048,576. If omitted, engine's default width is used.
heightintegerHeight of generated image in pixels. Must be a multiple of 64. Constraints: For 768 engines: 589,824 ≤ height*width ≤ 1,048,576. For other engines: 262,144 ≤ height*width ≤ 1,048,576. If omitted, engine's default height is used.
samplerstringAvailable sampler algorithms for image generation.
samplesintegerNumber of images to generate in a single request. Default is 1. Higher values consume more API credits.
cfg_scalenumberClassifier-Free Guidance scale - how strictly to follow the text prompt. Higher values (7-15) follow prompt more closely, lower values (1-7) allow more creative freedom. If omitted, engine's default is used.
engine_idRequiredstringEngine identifier for generation (e.g., 'stable-diffusion-v1-5', 'stable-diffusion-xl-1024-v1-0'). Use DREAMSTUDIO_LIST_ENGINES to get available engines. Using invalid engine_id will cause the request to fail.
organizationstringOrganization ID to scope the request to. If not provided, uses the user's default organization from their account.
text_promptsRequiredarrayList of text prompts with optional weights. At least one prompt is required.
clip_guidance_presetstringCLIP guidance presets for text-to-image generation.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.