ComfyUI > Nodes > ComfyUI ModelScope API Node > ModelScope-Image 图像编辑节点

ComfyUI Node: ModelScope-Image 图像编辑节点

Class Name

ModelScopeImageEditNode

Category
ModelScopeAPI
Author
hujuying (Account age: 1426days)
Extension
ComfyUI ModelScope API Node
Latest Updated
2025-12-31
Github Stars
0.06K

How to Install ComfyUI ModelScope API Node

Install this extension via the ComfyUI Manager by searching for ComfyUI ModelScope API Node
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI ModelScope API Node 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

ModelScope-Image 图像编辑节点 Description

AI-powered node for editing images via natural language instructions using ModelScope API.

ModelScope-Image 图像编辑节点:

The ModelScopeImageEditNode is designed to facilitate image editing using advanced AI models, allowing you to modify images based on natural language instructions. This node leverages the capabilities of the ModelScope API to interpret and apply complex edits to images, making it a powerful tool for AI artists who wish to enhance or alter images without needing extensive technical knowledge. By providing a simple interface for inputting images and specifying desired edits through text, this node streamlines the process of image manipulation, offering a seamless integration of AI-driven creativity into your workflow. Its primary goal is to enable intuitive and efficient image editing, empowering you to achieve professional-quality results with minimal effort.

ModelScope-Image 图像编辑节点 Input Parameters:

image

This parameter accepts the image you wish to edit. It serves as the primary input for the node, and the quality and content of this image will directly influence the final edited output. Ensure that the image is clear and of high quality to achieve the best results.

edit_instruction

This parameter is a text field where you provide a detailed description of the edits you want to apply to the image. The instructions can be up to 2560 characters long, allowing for comprehensive and nuanced editing requests. The clarity and specificity of your instructions will significantly impact the accuracy and effectiveness of the edits.

model

This parameter allows you to select the model version to use for editing. Different models may offer varying capabilities or styles, so choosing the right model can affect the outcome of your edits. Options include versions like reve-edit@20250915 and reve-edit-fast@20251030, each potentially offering different processing speeds or editing styles.

seed

The seed parameter is an integer that influences the randomness of the editing process. While the results are non-deterministic, setting a specific seed can help control whether the node should re-run, providing some consistency in repeated operations. The default value is 0, with a range from 0 to 2147483647.

ModelScope-Image 图像编辑节点 Output Parameters:

image

The output parameter is the edited image, which reflects the modifications specified in your edit instructions. This image is the final product of the node's processing, showcasing the applied changes and enhancements. The quality and relevance of the output depend on the input image and the clarity of the edit instructions.

ModelScope-Image 图像编辑节点 Usage Tips:

  • Ensure your edit instructions are clear and detailed to achieve the desired outcome. Vague instructions may lead to unexpected results.
  • Experiment with different model versions to find the one that best suits your editing needs, as each model may offer unique capabilities or styles.
  • Use the seed parameter to maintain some consistency in your edits if you plan to re-run the node multiple times.

ModelScope-Image 图像编辑节点 Common Errors and Solutions:

"所有 {len(tokens)} 个API Token都失败了。最后的错误: {str(last_exception)}"

  • Explanation: This error indicates that all API tokens have failed, possibly due to incorrect configuration or network issues.
  • Solution: Verify that your API tokens are correctly configured and active. Check your network connection and ensure that the ModelScope API service is accessible.

"Invalid image input"

  • Explanation: This error occurs when the input image is not in a supported format or is corrupted.
  • Solution: Ensure that the image is in a compatible format (e.g., JPEG, PNG) and is not corrupted. Try re-uploading the image or using a different file.

"Edit instruction exceeds maximum length"

  • Explanation: The edit instruction text exceeds the allowed character limit of 2560 characters.
  • Solution: Shorten your edit instructions to fit within the character limit, focusing on the most critical details for the desired edits.

ModelScope-Image 图像编辑节点 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI ModelScope API Node
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 Models, enabling artists to harness the latest AI tools to create incredible art.

ModelScope-Image 图像编辑节点