Stability AI Image Generation¶
Class: StabilityAIImageGenBlockV1
The block wraps Stability AI image generation API and let users generate new images from text, or create variations of existing images.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/stability_ai_image_gen@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
strength |
float |
controls how much influence the image parameter has on the generated image. A value of 0 would yield an image that is identical to the input. A value of 1 would be as if you passed in no image at all.. | ✅ |
prompt |
str |
Prompt to generate new images from text (what you wish to see). | ✅ |
negative_prompt |
str |
Negative prompt to image generation model (what you do not wish to see). | ✅ |
model |
str |
choose one of {'core', 'ultra', 'sd3'}. Default 'core' . | ✅ |
api_key |
str |
Your Stability AI API key. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Stability AI Image Generation
in version v1
.
- inputs:
Ellipse Visualization
,Label Visualization
,Llama 3.2 Vision
,Polygon Zone Visualization
,Image Contours
,Background Color Visualization
,Color Visualization
,Image Blur
,Stitch Images
,LMM
,Dynamic Crop
,Pixelate Visualization
,Keypoint Detection Model
,Object Detection Model
,Reference Path Visualization
,VLM as Classifier
,Classification Label Visualization
,Clip Comparison
,Perspective Correction
,OCR Model
,Roboflow Dataset Upload
,Instance Segmentation Model
,Roboflow Dataset Upload
,Image Slicer
,Trace Visualization
,Model Monitoring Inference Aggregator
,Twilio SMS Notification
,Line Counter Visualization
,Google Vision OCR
,VLM as Detector
,Image Convert Grayscale
,Corner Visualization
,Google Gemini
,Blur Visualization
,Polygon Visualization
,Email Notification
,Single-Label Classification Model
,Halo Visualization
,Local File Sink
,CogVLM
,Florence-2 Model
,Grid Visualization
,Florence-2 Model
,LMM For Classification
,Image Slicer
,Detections Consensus
,Anthropic Claude
,Image Threshold
,Camera Focus
,Keypoint Visualization
,Stitch OCR Detections
,Roboflow Custom Metadata
,Crop Visualization
,Absolute Static Crop
,Stability AI Image Generation
,Bounding Box Visualization
,Identify Changes
,Multi-Label Classification Model
,Slack Notification
,OpenAI
,Dot Visualization
,Mask Visualization
,Stability AI Inpainting
,Webhook Sink
,SIFT Comparison
,CSV Formatter
,Model Comparison Visualization
,Identify Outliers
,Circle Visualization
,Image Preprocessing
,SIFT
,Relative Static Crop
,Triangle Visualization
,OpenAI
- outputs:
Ellipse Visualization
,Label Visualization
,Llama 3.2 Vision
,Polygon Zone Visualization
,Detections Stabilizer
,Time in Zone
,Image Contours
,Background Color Visualization
,Color Visualization
,Image Blur
,Stitch Images
,LMM
,Clip Comparison
,Segment Anything 2 Model
,Dynamic Crop
,Pixelate Visualization
,Template Matching
,Instance Segmentation Model
,Keypoint Detection Model
,VLM as Detector
,QR Code Detection
,Object Detection Model
,Reference Path Visualization
,VLM as Classifier
,Classification Label Visualization
,Clip Comparison
,Perspective Correction
,OCR Model
,Byte Tracker
,Roboflow Dataset Upload
,Instance Segmentation Model
,Roboflow Dataset Upload
,Single-Label Classification Model
,Image Slicer
,Trace Visualization
,YOLO-World Model
,Line Counter Visualization
,Google Vision OCR
,VLM as Detector
,Image Convert Grayscale
,Google Gemini
,Corner Visualization
,Detections Stitch
,Blur Visualization
,Polygon Visualization
,Single-Label Classification Model
,Halo Visualization
,CogVLM
,Florence-2 Model
,Gaze Detection
,Florence-2 Model
,LMM For Classification
,Image Slicer
,Barcode Detection
,Multi-Label Classification Model
,Dominant Color
,CLIP Embedding Model
,Anthropic Claude
,Image Threshold
,Camera Focus
,Keypoint Visualization
,Pixel Color Count
,Keypoint Detection Model
,Absolute Static Crop
,Qwen2.5-VL
,Crop Visualization
,Stability AI Image Generation
,Multi-Label Classification Model
,Bounding Box Visualization
,Buffer
,OpenAI
,Mask Visualization
,Dot Visualization
,Stability AI Inpainting
,SIFT Comparison
,Model Comparison Visualization
,Circle Visualization
,Image Preprocessing
,SIFT
,VLM as Classifier
,Object Detection Model
,Relative Static Crop
,Triangle Visualization
,OpenAI
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Stability AI Image Generation
in version v1
has.
Bindings
-
input
image
(image
): The image to use as the starting point for the generation..strength
(float_zero_to_one
): controls how much influence the image parameter has on the generated image. A value of 0 would yield an image that is identical to the input. A value of 1 would be as if you passed in no image at all..prompt
(string
): Prompt to generate new images from text (what you wish to see).negative_prompt
(string
): Negative prompt to image generation model (what you do not wish to see).model
(string
): choose one of {'core', 'ultra', 'sd3'}. Default 'core' .api_key
(Union[secret
,string
]): Your Stability AI API key.
-
output
image
(image
): Image in workflows.
Example JSON definition of step Stability AI Image Generation
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/stability_ai_image_gen@v1",
"image": "$inputs.image",
"strength": 0.3,
"prompt": "my prompt",
"negative_prompt": "my prompt",
"model": "my prompt",
"api_key": "xxx-xxx"
}