Zukijourney icon

Zukijourney

Zukijourney AI - Chat, Image Generation, Text-to-Speech, Image Upscaling, Translation

Actions5

Overview

This node enables AI-powered image generation using a specified model. It takes a text prompt and generates one or more images based on that prompt, with configurable size and quality settings. This is useful for creative projects, marketing materials, concept art, or any scenario where automated image creation from textual descriptions is desired.

For example, you can input a prompt like "a futuristic cityscape at sunset" and receive generated images matching that description. You can specify the number of images to generate, their resolution, and quality level.

Properties

Name Meaning
Model The AI model used for generating the image (e.g., "dall-e-3").
Prompt Text description guiding the content of the generated image.
Size Resolution of the generated image. Options: 256x256, 512x512, 1024x1024, 1024x1792, 1792x1024.
Number of Images How many images to generate in one request (1 to 4).
Quality Image quality setting. Options: Standard, HD.

Output

The output contains a JSON object with metadata about the generated image(s) and a binary field holding the actual image data:

  • json:

    • message: Confirmation message ("Image generated successfully").
    • fileName: The generated image file name (e.g., "generated_image_1680000000000.png").
    • model: The model used for generation.
    • prompt: The original text prompt.
  • binary:

    • image: The generated image file encoded as PNG binary data, ready for further use or saving.

If multiple images are requested, only the first image's data is returned per execution cycle (based on the provided code).

Dependencies

  • Requires an API key credential for authenticating requests to the external AI image generation service.
  • Uses HTTPS requests to communicate with the AI provider's API endpoint.
  • Node helpers are used to prepare binary data for output.

Troubleshooting

  • Invalid or missing API key: Ensure the API key credential is correctly configured and valid.
  • Prompt too vague or unsupported: The AI may return no images or errors if the prompt is unclear or unsupported.
  • Size or number out of range: The node restricts image sizes and number of images; exceeding these limits will cause errors.
  • Timeouts or network issues: Network problems can cause request timeouts; verify connectivity and retry.
  • Binary data preparation errors: If the image data cannot be processed into binary format, check the response integrity.

Links and References

Discussion