File size: 1,512 Bytes
60faa09
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
const config = {
  appName: "Hugging-c-ai",
  tagline: "Multi-provider AI persona chat — powered by HuggingFace",
  theme: "slate-indigo",

  auth: {
    huggingface: {
      clientId: process.env.HF_CLIENT_ID,
      clientSecret: process.env.HF_CLIENT_SECRET,
    },
    secret: process.env.NEXTAUTH_SECRET,
    url: process.env.NEXTAUTH_URL || "http://localhost:3000",
  },

  ai: {
    providers: {
      openai: { envKey: "OPENAI_API_KEY" },
      anthropic: { envKey: "ANTHROPIC_API_KEY" },
      huggingface: { envKey: "HF_TOKEN" },
      groq: { envKey: "GROQ_API_KEY" },
      muapi: { envKey: "MU_API_KEY" },
      gradio: { envKey: null },
    },
    generationCost: 2,
  },

  storage: {
    hf: {
      token: process.env.HF_TOKEN,
      defaultRepo: process.env.HF_DATASET_REPO,
    },
  },

  stripe: {
    publishableKey: process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,
    secretKey: process.env.STRIPE_SECRET_KEY,
    webhookSecret: process.env.STRIPE_WEBHOOK_SECRET,
    plans: {
      basic: { id: "basic", name: "Basic Pack", credits: 100, price: 500 },
      standard: { id: "standard", name: "Standard Pack", credits: 250, price: 1000 },
      pro: { id: "pro", name: "Professional Pack", credits: 600, price: 2000 },
      business: { id: "business", name: "Business Pack", credits: 2000, price: 5000 },
    },
  },

  features: {
    streaming: true,
    characterMarketplace: true,
    hfBucketStorage: true,
    gradioServer: true,
    voiceIO: false,
  },
};

export default config;