Del via


Stability.ai (Independent Publisher) (Preview)

Stability.ai is the world’s leading open source generative AI company. We strongly believe that our open source ethos provides the definitive path for the creation and access of cutting-edge research. Stability AI-backed research communities are currently developing breakthrough AI models applied to imaging, language, code, audio, video, 3D content, design, biotech and other scientific research.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor
Website https://stability.ai/
Privacy policy https://stability.ai/privacy-policy
Categories AI

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Generate image from image

Modify an image based on a text prompt.

Generate image from text

Generate images from text, existing images, or both.

Get account

Retrieve your Stability.ai account, and view account/organization access.

Get balance

Retrieve the credit balance of your account/organization,

Get engines

Retrieve a list of engines available to your organization.

Get image with Stable Diffusion 3.0

Retrieve an image using the Stable Diffusion 3.0 text-to-image generation.

Get image with Stable Image Core

Retrieve an image using the Stable Image Core text-to-image generation.

Mask an image

Selectively modify portions of an image using a mask.

Upscale image

Create a higher resolution version of an input image. This operation outputs an image with a maximum pixel count of 4,194,304. This is equivalent to dimensions such as 2048x2048 and 4096x1024. By default, the input image will be upscaled by a factor of 2.

Generate image from image

Modify an image based on a text prompt.

Parameters

Name Key Required Type Description
Engine ID
engine_id True string

The engine identifier.

Organization
Organization string

Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.

Text
text True string

The text.

Weight
weight integer

The weight.

Initial Image
init_image True string

The initial image.

Initial Image Mode
init_image_mode string

The initial image mode.

Image Strength
image_strength float

The image strength.

Height
height integer

The height.

Width
width integer

The width.

CFG Scale
cfg_scale integer

The CFG scale.

Clip Guidance Preset
clip_guidance_preset string

The clip guidance preset.

Sampler
sampler string

The sampler.

Samples
samples integer

The number of samples.

Seed
seed integer

The seed.

Steps
steps integer

The steps.

Returns

Name Path Type Description
Artifacts
artifacts array of object
Base64
artifacts.base64 string

The Base64 value.

Seed
artifacts.seed integer

The seed.

Finish Reason
artifacts.finishReason string

The finish reason.

Generate image from text

Generate images from text, existing images, or both.

Parameters

Name Key Required Type Description
Engine ID
engine_id True string

The engine identifier.

Organization
Organization string

Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.

Height
height integer

The height.

Width
width integer

The width.

Text
text True string

The text.

Weight
weight integer

The weight.

CFG Scale
cfg_scale integer

The CFG scale.

Clip Guidance Preset
clip_guidance_preset string

The clip guidance preset.

Sampler
sampler string

The sampler.

Samples
samples integer

The number of samples.

Seed
seed integer

The seed.

Steps
steps integer

The steps.

Returns

Name Path Type Description
Artifacts
artifacts array of object
Base64
artifacts.base64 string

The Base64 value.

Seed
artifacts.seed integer

The seed.

Finish Reason
artifacts.finishReason string

The finish reason.

Get account

Retrieve your Stability.ai account, and view account/organization access.

Returns

Name Path Type Description
Email
email string

The email address.

ID
id string

The identifier.

Organizations
organizations array of object
ID
organizations.id string

The identifier.

Name
organizations.name string

The name.

Role
organizations.role string

The role.

Is Default
organizations.is_default boolean

Whether is default.

Profile Picture
profile_picture string

The profile picture.

Get balance

Retrieve the credit balance of your account/organization,

Returns

Name Path Type Description
Credits
credits float

The credits.

Get engines

Retrieve a list of engines available to your organization.

Parameters

Name Key Required Type Description
Organization
Organization string

Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.

Returns

Name Path Type Description
array of object
Description
description string

The description.

ID
id string

The identifier.

Name
name string

The name.

Type
type string

The type.

Get image with Stable Diffusion 3.0

Retrieve an image using the Stable Diffusion 3.0 text-to-image generation.

Parameters

Name Key Required Type Description
Prompt
prompt True string

What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.

Aspect Ratio
aspect_ratio string

The aspect ratio of the generated image.

Negative Prompt
negative_prompt string

A blurb of text describing what you do not wish to see in the output image.

Model
model string

The model to use for generation.

Seed
seed integer

A specific value that is used to guide the 'randomness' of the generation.

Style Preset
style_preset string

Guides the image model towards a particular style.

Returns

Name Path Type Description
Image
image string

The generated image, encoded to base64.

Finish Reason
finish_reason string

The reason the generation finished.

Seed
seed integer

The seed used as random noise for this generation.

Get image with Stable Image Core

Retrieve an image using the Stable Image Core text-to-image generation.

Parameters

Name Key Required Type Description
Prompt
prompt True string

What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.

Aspect Ratio
aspect_ratio string

The aspect ratio of the generated image.

Negative Prompt
negative_prompt string

A blurb of text describing what you do not wish to see in the output image.

Seed
seed integer

A specific value that is used to guide the 'randomness' of the generation.

Style Preset
style_preset string

Guides the image model towards a particular style.

Returns

Name Path Type Description
Image
image string

The generated image, encoded to base64.

Finish Reason
finish_reason string

The reason the generation finished.

Seed
seed integer

The seed used as random noise for this generation.

Mask an image

Selectively modify portions of an image using a mask.

Parameters

Name Key Required Type Description
Engine ID
engine_id True string

The engine identifier.

Organization
Organization string

Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.

Text
text True string

The text.

Weight
weight integer

The weight.

Initial Image
init_image True string

The initial image.

Mask Source
mask_source True string

The mask source.

Mask Image
mask_image True string

The mask image.

Height
height integer

The height.

Width
width integer

The width.

CFG Scale
cfg_scale integer

The CFG scale.

Clip Guidance Preset
clip_guidance_preset string

The clip guidance preset.

Sampler
sampler string

The sampler.

Samples
samples integer

The number of samples.

Seed
seed integer

The seed.

Steps
steps integer

The steps.

Returns

Name Path Type Description
Artifacts
artifacts array of object
Base64
artifacts.base64 string

The Base64 value.

Seed
artifacts.seed integer

The seed.

Finish Reason
artifacts.finishReason string

The finish reason.

Upscale image

Create a higher resolution version of an input image. This operation outputs an image with a maximum pixel count of 4,194,304. This is equivalent to dimensions such as 2048x2048 and 4096x1024. By default, the input image will be upscaled by a factor of 2.

Parameters

Name Key Required Type Description
Engine ID
engine_id True string

The engine identifier.

Organization
Organization string

Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.

Image
image True string

The image.

Height
height integer

The height.

Width
width integer

The width.

Returns

Name Path Type Description
Artifacts
artifacts array of object
Base64
artifacts.base64 string

The Base64 value.

Seed
artifacts.seed integer

The seed.

Finish Reason
artifacts.finishReason string

The finish reason.