-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (40 loc) · 1.71 KB
/
.env.example
File metadata and controls
53 lines (40 loc) · 1.71 KB
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
# Environment Variables Example
# Copy this file to .env.local and fill in your values
# Cloudflare Account ID (find in Cloudflare Dashboard)
CLOUDFLARE_ACCOUNT_ID=your_account_id_here
# D1 Database ID (from: wrangler d1 create llm-comic-db)
D1_DATABASE_ID=your_database_id_here
# R2 Bucket Name
R2_BUCKET_NAME=llm-comics
# KV Namespace ID (from: wrangler kv:namespace create CACHE)
KV_NAMESPACE_ID=your_kv_namespace_id_here
# VAPID Keys for Web Push
# Generate with: bun run generate:vapid
# DO NOT COMMIT THESE TO GIT!
ENABLE_PUSH_NOTIFICATIONS=0
VAPID_PUBLIC_KEY=your_vapid_public_key_here
VAPID_PRIVATE_KEY={"alg":"ES256","kty":"EC","crv":"P-256","x":"...","y":"...","d":"..."}
VAPID_SUBJECT=mailto:hello@example.com
# Optional: Custom domain
CUSTOM_DOMAIN=promptexecution.com
# Optional: Analytics
ANALYTICS_DATASET_ID=your_analytics_dataset_here
# Workers AI model overrides (optional)
# Must use Cloudflare Workers AI hosted models.
SCRIPT_MODEL_A=@cf/deepseek-ai/deepseek-r1-distill-qwen-32b
SCRIPT_MODEL_B=@cf/meta/llama-3.3-70b-instruct-fp8-fast
TOPIC_MODEL=@cf/qwen/qwen3-30b-a3b-fp8
# === Image Generation Pipeline (A→B→C) ===
# A: Comic script generation (Gemma4 vs Qwen3)
IMAGE_PROVIDER_A=@cf/google/gemma-4-26b-a4b-it
IMAGE_PROVIDER_B=@cf/qwen/qwen3-30b-a3b-fp8
# B: SVG abstract syntax generation (vision models understand script structure)
# (same models as above process the script → SVG prompt)
# C: Image rendering (FLUX or Stable Diffusion)
IMAGE_RENDERER_MODEL=@cf/black-forest-labs/flux-2-klein-4b
# IMAGE_RENDERER_MODEL=@cf/stabilityai/stable-diffusion-xl-base-1.0
# Feature flags
ENABLE_IMAGE_GENERATION=1
ENABLE_LEDGRRR_PIPELINE=0
# Test endpoint auth secret
TEST_SECRET=replace_with_a_long_random_value