Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!

ComfyUI Node: mochi

Class Name

CivitaiVideoGenMochi

Category
Civitai/Video/mochi
Author
civitai (Account age: 1322days)
Extension
civitai-comfy-nodes
Latest Updated
2026-06-18
Github Stars
0.02K

How to Install civitai-comfy-nodes

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

mochi Description

Specialized node for generating videos using AI engine "mochi" in Civitai suite, transforming textual prompts into dynamic video outputs.

mochi:

CivitaiVideoGenMochi is a specialized node designed for generating videos through the Civitai Orchestration platform, utilizing the "mochi" engine. This node is part of the Civitai suite, which focuses on leveraging AI to create and manipulate video content. The primary goal of CivitaiVideoGenMochi is to transform textual prompts into dynamic video outputs, offering a seamless integration of AI-driven creativity into video production. By using this node, you can harness the power of AI to generate videos based on specific prompts, with the added flexibility of enhancing prompts and customizing the generation process through various input parameters. This makes it an invaluable tool for AI artists looking to explore new creative possibilities in video content creation.

mochi Input Parameters:

prompt

The prompt parameter is a string input that serves as the foundational text from which the video content is generated. It allows you to describe the scene, action, or theme you wish to see in the resulting video. This parameter supports multiline input, enabling you to provide detailed and complex descriptions. The default value is an empty string, meaning you need to provide a specific prompt to guide the video generation process.

seed

The seed parameter is an integer that influences the randomness of the video generation process. By setting a specific seed value, you can ensure reproducibility of the generated video, meaning the same input will yield the same output each time. The seed value ranges from -1 to 2147483647, with a default of -1, which indicates that a random seed will be used. This parameter is particularly useful when you want to experiment with different variations of the same prompt or ensure consistency across multiple runs.

enable_prompt_enhancer

The enable_prompt_enhancer is a boolean parameter that, when enabled, applies additional AI-driven enhancements to the provided prompt. This can help in refining and expanding the prompt to potentially yield more creative and nuanced video outputs. The default value is True, meaning the enhancer is active unless explicitly disabled. This feature is beneficial for users who wish to explore enhanced interpretations of their prompts without manually adjusting the text.

api_config

The api_config parameter is an optional configuration that allows you to specify authentication details for connecting to the Civitai API. This can be set to use a stored OAuth login or a specific API token, with the default being the CIVITAI_API_TOKEN. This parameter is crucial for users who need to authenticate their requests to access premium features or higher usage limits on the Civitai platform.

mochi Output Parameters:

video

The video output is the primary result of the node, representing the generated video content based on the provided prompt and other input parameters. This output is crucial as it embodies the creative transformation of text into visual media, allowing you to see the tangible results of your input.

workflow_id

The workflow_id is a string output that provides a unique identifier for the specific video generation workflow executed by the node. This ID can be used for tracking, referencing, or reproducing the workflow in future sessions, ensuring that you can manage and organize your video generation projects effectively.

raw_json

The raw_json output is a string that contains the raw JSON data associated with the video generation process. This data can include metadata, configuration details, and other relevant information about the execution of the node. It is useful for debugging, auditing, or further analysis of the video generation process.

mochi Usage Tips:

  • Experiment with different prompt descriptions to explore a wide range of creative video outputs. Be as detailed as possible to guide the AI effectively.
  • Use the seed parameter to maintain consistency across multiple video generations, especially when fine-tuning or comparing different prompt variations.
  • Enable the enable_prompt_enhancer to automatically refine and expand your prompts, potentially leading to more sophisticated video results.
  • Ensure your api_config is correctly set up to access all available features and avoid any authentication issues during video generation.

mochi Common Errors and Solutions:

Invalid API Token

  • Explanation: This error occurs when the provided API token is invalid or expired, preventing authentication with the Civitai platform.
  • Solution: Verify that your api_config is correctly set with a valid CIVITAI_API_TOKEN or ensure your OAuth login is active and properly configured.

Prompt Too Short

  • Explanation: The prompt provided is too brief, leading to insufficient information for generating a meaningful video.
  • Solution: Expand your prompt with more detailed descriptions to give the AI enough context to generate a comprehensive video.

Seed Value Out of Range

  • Explanation: The seed value provided is outside the acceptable range of -1 to 2147483647.
  • Solution: Adjust the seed parameter to fall within the specified range to ensure proper execution of the video generation process.

mochi Related Nodes

Go back to the extension to check out more related nodes.
civitai-comfy-nodes
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.

mochi