FastStarter
  • Introduction
  • Guide
    • CodeSetup
    • DataBaseSetup
    • AuthSetup
    • StorageSetup
    • FeaturePageSetup
    • FeatureAPISetup
    • PaymentSetup
    • PricingPageSetup
    • HeaderSetup
    • HomePageSetup
    • PrivacyPageSetup
    • DeploySetup
    • DNSSetup
    • AnalyticsSetup
    • MultipleLanguages
  • Introduction
  • Guide
    • CodeSetup
    • DataBaseSetup
    • AuthSetup
    • StorageSetup
    • FeaturePageSetup
    • FeatureAPISetup
      • call comfyonline API
    • PaymentSetup
    • PricingPageSetup
    • HeaderSetup
    • HomePageSetup
    • PrivacyPageSetup
    • DeploySetup
    • DNSSetup
    • AnalyticsSetup
    • MultipleLanguages

On This Page

  • api params
  • api step
  • call comfyonline API
Guide
FeatureAPISetup

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

  1. check user

  2. check balance and reduce

  3. add task to DB

  4. call other api

  5. 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
FeaturePageSetupPaymentSetup

FastStarter Docs