FeatureAPISetup
api params
id: src/type/template.ts templates key
input: a map, key is templates json file(input_type name), value is user input
api step
-
check user
-
check balance and reduce
-
add task to DB
-
call other api
-
get other api id and add runpodtask to db
call comfyonline API
go to https://www.comfyonline.app/account/api_token (opens in a new tab)
generate token
set key
COMFYONLINE_KEY