For the complete documentation index, see llms.txt. This page is also available as Markdown.

Stability AI Image Generation

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.

Type identifier

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.

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.

Runtime compatibility

requires_internet - air-gapped / offline deployments : This block depends on a service that is not reachable from fully offline / air-gapped deployments.

Input and Output Bindings

The available connections depend on its binding kinds. Check what binding kinds Stability AI Image Generation in version v1 has.

Input and output 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

Last updated

Was this helpful?