You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/api/cron/ingest/route.ts
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -337,7 +337,7 @@ CRITICAL: This video will be a visual infographic explainer. There will be NO te
337
337
338
338
For EACH scene, generate an "imagePrompts" array with 2-5 image generation prompts. Each prompt should follow this exact template:
339
339
340
-
"Infographic 2D architecture style, black background. [SPECIFIC VISUAL FOR THIS SCENE]. Highlighted elements filled with #15b27b. White lines connecting components and white text annotations."
340
+
"Infographic 2D architecture style, pure black background. [SPECIFIC VISUAL FOR THIS SCENE]. Highlighted elements filled with bright emerald green (#15b27b). White lines connecting components and white text annotations. Color palette: ONLY black, emerald green, and white — no purple, no blue, no gradients."
341
341
342
342
Replace [SPECIFIC VISUAL FOR THIS SCENE] with a detailed description of what the infographic should show for that particular scene. Be specific — reference the actual technical concepts, comparisons, or workflows being discussed.
343
343
@@ -349,6 +349,7 @@ Guidelines for image prompts:
349
349
- For comparison scenes: show side-by-side comparison charts or feature matrices
350
350
- For list scenes: show each item as a distinct visual element in the infographic
351
351
- Make prompts visually varied — don't repeat the same layout
352
+
- STRICT color palette: pure black background (#000000), bright emerald green (#15b27b) for highlighted elements, white for lines and text annotations. Do NOT use purple, blue, orange, red, or gradient backgrounds
352
353
353
354
## JSON Schema
354
355
@@ -369,7 +370,7 @@ Return ONLY a JSON object matching this exact schema:
369
370
"visualDescription": "string - what to show on screen (fallback for all types)",
370
371
"bRollKeywords": ["keyword1", "keyword2"],
371
372
"durationEstimate": 15,
372
-
"imagePrompts": ["Infographic 2D architecture style, black background. [specific visual]. Highlighted elements filled with #15b27b. White lines connecting components and white text annotations."],
373
+
"imagePrompts": ["Infographic 2D architecture style, pure black background. [specific visual]. Highlighted elements filled with bright emerald green (#15b27b). White lines and text annotations. ONLY black, green, white colors."],
373
374
"code": {
374
375
"snippet": "string - actual code to display (only for sceneType: code)",
- For "code" scenes, provide real, syntactically correct code
406
407
- The qualityScore should be your honest self-assessment (0-100)
407
408
- Each scene MUST include an "imagePrompts" array with 2-5 image generation prompts
408
-
- Image prompts must follow the template: "Infographic 2D architecture style, black background. [specific]. Highlighted elements filled with #15b27b. White lines connecting components and white text annotations."
409
+
- Image prompts must follow the template: "Infographic 2D architecture style, pure black background. [specific]. Highlighted elements filled with bright emerald green (#15b27b). White lines connecting components and white text annotations. Color palette: ONLY black, emerald green, and white."
409
410
- Do NOT include any text overlays, titles, or script words in the video — narration audio carries all words
410
411
- Calculate prompt count per scene: Math.ceil(durationEstimate / 4)
411
412
- Return ONLY the JSON object, no markdown or extra text`;
0 commit comments