ComfyUI > Nodes > ComfyUI-PersianText

ComfyUI Extension: ComfyUI-PersianText

Repo Name

ComfyUI-PersianText

Author
shahkoorosh (Account age: 851 days)
Nodes
View all nodes(1)
Latest Updated
2025-05-23
Github Stars
0.03K

How to Install ComfyUI-PersianText

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

ComfyUI-PersianText Description

ComfyUI-PersianText is a robust ComfyUI node designed for rendering text with advanced styling, offering comprehensive support for Persian/Farsi and Arabic scripts.

ComfyUI-PersianText Introduction

ComfyUI-PersianText is a versatile extension designed to enhance your creative projects by allowing you to create beautifully styled text in Persian (Farsi), Arabic, and English (Latin) scripts. This tool is particularly useful for AI artists who are working on multilingual designs, such as posters or digital art, where the integration of different scripts is essential. The extension provides flexible typography features, enabling you to customize fonts, colors, alignments, and more, ensuring that your text is not only visually appealing but also accurately represents the intended language and style.

How ComfyUI-PersianText Works

At its core, ComfyUI-PersianText functions as a node within the ComfyUI framework, which is a user interface designed for creating and managing complex workflows. This extension specifically focuses on text rendering, allowing you to input text in multiple languages and customize its appearance. The extension handles the complexities of right-to-left (RTL) and left-to-right (LTR) text alignment, ensuring that scripts like Persian and Arabic are displayed correctly. By using custom fonts and styling options, you can create text that seamlessly integrates into your artistic projects.

ComfyUI-PersianText Features

  • Multilingual Support: Effortlessly render text in Persian, Arabic, and English with proper RTL/LTR alignment and glyph shaping.
  • Custom Fonts: Add your own .ttf or .otf fonts to the Fonts folder, allowing for personalized typography.
  • Styling Options:
  • Dynamic Colors: Choose from a palette or use custom hex codes for text, background, and shadow colors.
  • Alignment: Align text horizontally and vertically to fit your design needs.
  • Offset and Rotation: Adjust text position with X and Y offsets and rotate text around its center for precise placement.
  • Transparent Background: Optionally render text with a transparent background for more flexible design integration.
  • Canvas Customization: Define canvas sizes up to 4096x4096 pixels to accommodate various design requirements.
  • Shadow Effects: Enhance text with customizable shadow distance, blur intensity, and color.

ComfyUI-PersianText Models

Currently, ComfyUI-PersianText does not include different models. The extension focuses on providing a robust set of features for text rendering and styling within a single framework.

What's New with ComfyUI-PersianText

Version 2.0.0 Updates

  • Dual-Language Support: Now you can mix Farsi/Arabic and English text, selecting separate fonts for each language.
  • Improved HEX Input: HEX color inputs are now more flexible, accepting values with or without the # prefix.
  • Transparent Background: Added the ability to generate text with a transparent background, enhancing design flexibility.
  • Bug Fixes: Various minor issues have been resolved to improve overall stability and performance.

Troubleshooting ComfyUI-PersianText

Common Issues and Solutions

  • Installation Errors: Ensure that all dependencies, such as python-bidi, are correctly installed. Follow the detailed installation guide provided in the documentation.
  • Text Rendering Issues: If text does not display correctly, check that the appropriate fonts are installed and selected for each language.
  • Python Version Mismatch: Verify that your Python version is compatible with the extension requirements.

Frequently Asked Questions

  • How do I add custom fonts? Place your .ttf or .otf font files in the Fonts folder within the extension directory.
  • Can I use this extension for other languages? While primarily designed for Persian, Arabic, and English, the extension may support other languages using similar scripts.

Learn More about ComfyUI-PersianText

For further assistance and to explore more about ComfyUI-PersianText, consider visiting the following resources:

  • GitHub Repository: Access the source code, report issues, and contribute to the project.
  • YouTube Channel: Watch tutorials and demonstrations to better understand how to use the extension.
  • Community Forums: Engage with other AI artists and developers to share tips and get support. By leveraging these resources, you can maximize the potential of ComfyUI-PersianText in your creative projects.

ComfyUI-PersianText Related 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.

ComfyUI-PersianText detailed guide | ComfyUI