Nodes/comfyui-byokey/BYOKey Stability AI Image
ComfyUI Node

BYOKey Stability AI Image

Stability AI image generation (Stable Image Ultra / Stable Diffusion 3.5), bring-your-own-key.

By MeteorAndy·Created 3 months ago·Updated 2 months ago· 0
BYOKey Stability AI Image
  • image
  • IMAGE
api_key
base_urlhttps://api.stability.ai/v2beta
modelstable-image-ultra
prompt
aspect_ratio1:1
seed0
style_presetNone
cfg_scale4.0
negative_prompt
image_denoise0.50
Categoryapi/byokey/image

Inputs (11)

NameTypeDefaultDescription
api_keySTRINGStability AI API key (sent as 'Authorization: Bearer ...').
base_urlSTRINGhttps://api.stability.ai/v2betaStability v2beta API base URL. Override only for relays/proxies.
modelCOMBOstable-image-ultra'stable-image-ultra' uses Stable Image Ultra; 'sd3.5-*' uses Stable Diffusion 3.5.
promptSTRINGWhat you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results. To control the weight of a given word use the format `(word:weight)`, where `word` is the word you'd like to control the weight of and `weight` is a value between 0 and 1.
aspect_ratioCOMBO1:1Aspect ratio of generated image. Ignored in image-to-image mode.
seedINT00–4294967294The random seed used for creating the noise.
style_presetoptCOMBONoneOptional desired style of generated image. 'None' applies no preset.
cfg_scaleoptFLOAT4.01–10Stable Diffusion 3.5 only: how strictly the diffusion process adheres to the prompt.
imageoptIMAGEOptional input image for image-to-image generation.
negative_promptoptSTRINGA blurb of text describing what you do not wish to see in the output image.
image_denoiseoptFLOAT0.500–1Denoise of input image; 0.0 yields an image identical to input, 1.0 is as if no image was provided. Only used when an image is provided.

Outputs (1)

NameTypeDescription
IMAGEIMAGE