ComfyUI  >  Nodes  >  KJNodes for ComfyUI >  Stability API SD3

ComfyUI Node: Stability API SD3

Class Name

StabilityAPI_SD3

Category
KJNodes/experimental
Author
kijai (Account age: 2192 days)
Extension
KJNodes for ComfyUI
Latest Updated
6/25/2024
Github Stars
0.3K

How to Install KJNodes for ComfyUI

Install this extension via the ComfyUI Manager by searching for  KJNodes for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter KJNodes for ComfyUI in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Stability API SD3 Description

Interface with StabilityAI API for image generation using sd3 and sd3-turbo models, with text-to-image mode option.

Stability API SD3:

The StabilityAPI_SD3 node is designed to interface with the StabilityAI API, enabling you to generate images using StabilityAI's powerful models. This node allows you to leverage the capabilities of StabilityAI's sd3 and sd3-turbo models, which require 6.5 and 4 credits per generation, respectively. The node can operate in text-to-image mode if no image is provided, making it versatile for various creative workflows. It is recommended to set your API key in the config.json file within the node pack's folder to avoid the risk of the key being saved in image metadata, especially when using save nodes separately from this node. This node is particularly useful for AI artists looking to integrate advanced image generation capabilities into their projects seamlessly.

Stability API SD3 Input Parameters:

positive

This parameter accepts conditioning data that positively influences the image generation process. It helps guide the model towards desired features and characteristics in the output image.

negative

This parameter accepts conditioning data that negatively influences the image generation process. It helps guide the model away from undesired features and characteristics in the output image.

control_net

This parameter accepts a control network that can be used to further refine and control the image generation process. It allows for more precise adjustments and enhancements.

vae

This parameter accepts a Variational Autoencoder (VAE) model, which is used to encode and decode images during the generation process. The VAE helps in producing high-quality images by learning efficient representations.

image

This parameter accepts an input image that can be used as a base for the generation process. If no image is provided, the node will default to text-to-image mode.

strength

This parameter controls the strength of the conditioning applied to the image generation process. It ranges from 0.0 to 10.0, with a default value of 1.0. Higher values result in stronger conditioning effects.

start_percent

This parameter defines the starting point of the conditioning effect as a percentage of the total generation process. It ranges from 0.0 to 1.0, with a default value of 0.0. It allows for gradual application of conditioning.

end_percent

This parameter defines the ending point of the conditioning effect as a percentage of the total generation process. It ranges from 0.0 to 1.0, with a default value of 1.0. It allows for gradual cessation of conditioning.

Stability API SD3 Output Parameters:

generated_image

The primary output of this node is the generated image, which is produced based on the provided input parameters and conditioning data. This image can be used in various creative projects and further processed as needed.

Stability API SD3 Usage Tips:

  • Ensure your API key is set in the config.json file to avoid it being saved in image metadata.
  • Experiment with different values for the strength parameter to achieve the desired level of conditioning in your generated images.
  • Use the start_percent and end_percent parameters to control the timing of the conditioning effect, allowing for more dynamic and nuanced image generation.

Stability API SD3 Common Errors and Solutions:

"Invalid API Key"

  • Explanation: The provided API key is incorrect or has expired.
  • Solution: Verify your API key on the StabilityAI platform and update it in the config.json file.

"Insufficient Credits"

  • Explanation: Your StabilityAI account does not have enough credits to perform the generation.
  • Solution: Purchase additional credits on the StabilityAI platform or reduce the number of generations requested.

"Image Metadata Error"

  • Explanation: The API key may be saved in the image metadata if not properly configured.
  • Solution: Ensure the API key is set in the config.json file and avoid using save nodes separately from this node.

"Connection Timeout"

  • Explanation: The connection to the StabilityAI API timed out.
  • Solution: Check your internet connection and try again. If the issue persists, contact StabilityAI support for assistance.

Stability API SD3 Related Nodes

Go back to the extension to check out more related nodes.
KJNodes for ComfyUI
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.