Skip to content

turbo0212/ComfyUI_Anytext

 
 

Repository files navigation

Look at the node tooltip for instruction.

1、AnyText: Unofficial custom_node for AnyText: Multilingual Visual Text Generation And Editing

Font files in ComfyUI\models\fonts.

Improved custom_node from my older custom_node (repo deleted for too much bugs).

AnyText Checkpoint: select Auto_Download from huggingface or manual download from huggingface or modelscope.

Huggingface:

Modelscope:

Clip model: select Auto_Download from huggingface or manual download or git clone from huggingface or modelscope into ComfyUI\models\text_encoders.

Huggingface:

Modelscope:

Font: select Auto_Download from huggingface or manual download from huggingface or modelscope or use any other fonts.

Huggingface:

Modelscope:

Zh to En Translators:

T5: Auto_Download from huggingface or manual download or git clone from huggingface into ComfyUI\models\prompt_generator\models--utrobinmv--t5_translate_en_ru_zh_base_200.

nlp_csanmt_translation_zh2en: Auto_Download from modelscope or manual download or git clone from modelscope into ComfyUI\models\prompt_generator\modelscope--damo--nlp_csanmt_translation_zh2en.

Workflow in workflow dir:

Limitations: background result worse than original SDXL checkpoint, image resolution locked at 1024x1024, input mask and image aspect ratio must be 1:1.

Place Glyph-ByT5 checkpoints in ComfyUI\custom_nodes\ComfyUI_Anytext\Image_Generation\Glyph_SDXL\checkpoints

Place google/byt5-small text_encoder into ComfyUI\models\text_encoders or select Auto_Download from huggingface.

For sdxl checkpoints, download original_config_yaml and inpaint_original_config_yaml into ComfyUI\models\configs.

Workflow in workflow dir:

It's a typical canny controlnet implementation by diffusers library.

Comfy sample workflow recommended, sd1.5、sd2.1、sdxl canny works.

For JoyType controlnet, download from https://huggingface.co/jdh-algo/JoyType-v1-1M into ComfyUI\models\controlnet. It's a diffusers format canny controlnet, compitable with comfy sampler.

Workflow in workflow dir:

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%