ComfyUI Node

CustomScript-NumPy

A ComfyUI node in FunctionAsTexture with 9 inputs and 1 output.

By CoiiChan·Created about a year ago·Updated about a year ago· 2
CustomScript-NumPy
  • imga
  • imgb
  • imgc
  • IMAGE
formula#Default already import numpy as np imga_r = (imga_r + imga_g) * 0.5 imga = make_rgb(imga_r, imga_g, imga_b) result = imga #Node Introduction:https://github.com/CoiiChan/Comfyui-FuncAsTexture-CoiiNode
pfloat10.00
pfloat20.00
pfloat30.00
pint10
pint20
CategoryFunctionAsTexture

Inputs (9)

NameTypeDefaultDescription
formulaSTRING#Default already import numpy as np imga_r = (imga_r + imga_g) * 0.5 imga = make_rgb(imga_r, imga_g, imga_b) result = imga #Node Introduction:https://github.com/CoiiChan/Comfyui-FuncAsTexture-CoiiNode
imgaoptIMAGEOptional ,Reference size ,Default =(1,512,512,3)
imgboptIMAGEOptional
imgcoptIMAGEOptional
pfloat1optFLOAT0.00Optional,Floating-point parameter passed to the script.
pfloat2optFLOAT0.00Optional,Floating-point parameter passed to the script.
pfloat3optFLOAT0.00Optional,Floating-point parameter passed to the script.
pint1optINT0Optional(INT),Integer parameter passed to the script.
pint2optINT0Optional(INT),Integer parameter passed to the script.

Outputs (1)

NameTypeDescription
IMAGEIMAGE