ComfyUI > Nodes > Comfyui_Comfly_v2 > Comfly_upload

ComfyUI Node: Comfly_upload

Class Name

Comfly_upload

Category
Comfly-v2/Midjourney
Author
ainewsto (Account age: 1002days)
Extension
Comfyui_Comfly_v2
Latest Updated
2025-06-06
Github Stars
0.04K

How to Install Comfyui_Comfly_v2

Install this extension via the ComfyUI Manager by searching for Comfyui_Comfly_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui_Comfly_v2 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Comfly_upload Description

Automate image uploads to Midjourney platform, receive direct URL link, ideal for AI artists.

Comfly_upload:

The Comfly_upload node is designed to facilitate the seamless uploading of images to the Midjourney platform, providing you with a direct URL link to the uploaded image. This node is particularly beneficial for AI artists who wish to share their creations or integrate them into other workflows without the hassle of manual uploads. By automating the upload process, it saves time and ensures that your images are readily accessible online. The node's primary function is to handle the image upload process efficiently, leveraging an API key for authentication, and returning a URL that can be used to access the image on Midjourney. This capability is essential for artists looking to streamline their digital art processes and enhance their productivity.

Comfly_upload Input Parameters:

image

The image parameter is the core input for the Comfly_upload node, representing the image you wish to upload to Midjourney. This parameter is crucial as it directly affects the node's execution, determining what content will be uploaded and subsequently shared via the generated URL. The image should be in a compatible format, typically a standard image file like PNG or JPEG, and it is required for the node to function. There are no specific minimum or maximum values for this parameter, but the image should be of a reasonable size to ensure successful upload and processing.

api_key

The api_key parameter is an optional string input that serves as the authentication credential for accessing the Midjourney API. This key is essential for verifying your identity and granting permission to upload images to the platform. If provided, it will override any existing API key stored in the configuration, ensuring that the upload process uses the most current credentials. The default value for this parameter is an empty string, indicating that the node will attempt to use a previously saved API key if one is not explicitly provided. It is important to ensure that the API key is valid and correctly formatted to avoid authentication errors.

Comfly_upload Output Parameters:

url

The url output parameter is a string that provides the direct link to the uploaded image on Midjourney. This URL is the primary result of the node's operation, allowing you to access and share the image online. The significance of this output lies in its ability to facilitate easy distribution and integration of your artwork into various digital platforms or projects. By providing a reliable and accessible link, the url parameter ensures that your uploaded images are readily available for viewing or further processing.

Comfly_upload Usage Tips:

  • Ensure that your image is in a compatible format and of a reasonable size to avoid upload issues and ensure smooth processing.
  • Keep your API key secure and up-to-date to prevent authentication errors and ensure uninterrupted access to the Midjourney platform.

Comfly_upload Common Errors and Solutions:

API key not found. Please provide an API key in the node or in Comflyapi.json

  • Explanation: This error occurs when the node is unable to locate a valid API key for authentication with the Midjourney platform.
  • Solution: Provide a valid API key either directly in the node's api_key parameter or ensure that it is correctly stored in the Comflyapi.json configuration file.

Error uploading image: <error_message>

  • Explanation: This error indicates that there was an issue during the image upload process, which could be due to network problems, incorrect image format, or server-side issues.
  • Solution: Check your network connection, ensure the image is in a supported format, and verify that the Midjourney service is operational. If the problem persists, review the error message for specific details and adjust your inputs accordingly.

Comfly_upload Related Nodes

Go back to the extension to check out more related nodes.
Comfyui_Comfly_v2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.