Stability AI Image Generation
generate new images from text, or create variations of existing images.
Last updated
Was this helpful?
generate new images from text, or create variations of existing images.
The block wraps Stability AI image generation API and let users generate new images from text, or create variations of existing images.
Use the following identifier in step "type" field: roboflow_core/stability_ai_image_gen@v1 to add the block as a step in your workflow.
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.
requires_internet - air-gapped / offline deployments : This block depends on a service that is not reachable from fully offline / air-gapped deployments.
The available connections depend on its binding kinds. Check what binding kinds Stability AI Image Generation in version v1 has.
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' .
output
image (image): Image in workflows.
Last updated
Was this helpful?
Was this helpful?
{
"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"
}