Stable Diffusion 3.5 Large Turbo Node icon

Stable Diffusion 3.5 Large Turbo Node

Generate images using Stable Diffusion

Overview

This node generates images using the Stable Diffusion 3.5 Large Turbo model via an external API endpoint. It is designed for scenarios where users want to create AI-generated images based on textual prompts, such as digital art creation, concept visualization, or creative content generation.

Typical use cases include:

  • Generating artwork or illustrations from descriptive text.
  • Creating variations of images by adjusting parameters like seed and guidance scale.
  • Experimenting with different image sizes and styles by modifying inference steps and prompt details.

Properties

Name Meaning
Prompt Text prompt describing what the generated image should depict.
Negative Prompt Text prompt specifying elements or features to avoid in the generated image.
Seed Numeric seed value for random number generation to produce reproducible results.
Randomize Seed Boolean flag indicating whether to randomize the seed (true) or use the specified seed.
Width Width of the generated image in pixels (between 512 and 1024).
Height Height of the generated image in pixels (between 512 and 1024).
Guidance Scale Controls how strongly the image generation follows the prompt (range 0 to 7.5).
Number of Inference Steps Number of steps the model takes during image generation (1 to 50), affecting quality and speed.

Output

The node outputs a single item containing:

  • json field:

    • success: Boolean indicating if the image generation was successful.
    • eventId: A unique identifier string for the generation event.
  • binary field:

    • data: The generated image file encoded in base64 format.
    • fileName: "image.webp" — the name assigned to the image file.
    • fileType: "image" — type of the binary data.
    • fileSize: Approximate size of the image file in kilobytes.
    • fileExtension: "webp" — file extension of the image.
    • mimeType: "image/webp" — MIME type of the image.

This output allows downstream nodes to access the generated image either as binary data or save it directly.

Dependencies

  • The node depends on an external HTTP API hosted at https://stabilityai-stable-diffusion-3-5-large-turbo.hf.space.
  • Requires internet connectivity to send requests and receive generated images.
  • No internal credential or authentication mechanism is visible in the code; however, usage may require appropriate API access permissions or tokens configured externally.
  • Uses the axios library for HTTP requests.

Troubleshooting

  • Image generation failure: If the API returns an error or the process does not complete successfully, the node throws an error with the message returned by the API. Check the prompt inputs and network connectivity.
  • Timeouts or slow responses: Since image generation can be resource-intensive, delays might occur. Ensure stable internet connection and consider increasing timeout settings if applicable.
  • Invalid parameter values: Parameters like width, height, guidance scale, and inference steps have defined ranges. Providing values outside these ranges may cause errors or unexpected behavior.
  • Empty or invalid prompt: Supplying an empty prompt may result in failed generation or meaningless images.
  • Seed handling: If "Randomize Seed" is false but the seed is zero or invalid, results may be unpredictable.

Links and References

Discussion