Skip to content

一刻工坊 (YiKe) - Complete LLM Context Document

Purpose: This document provides comprehensive context for Large Language Models to understand, analyze, and assist with the YiKe platform. Version: 1.0 | Updated: 2025-12-22


1. Product Overview

1.1 What is YiKe (一刻工坊)?

One-sentence definition: YiKe is an AI-native full-process content creation platform that helps creators achieve intelligent efficiency gains from inspiration collection to video publishing.

Core Value Proposition:

  • End-to-end Workflow: Inspiration → Script → Asset Generation → Video Production → Publishing
  • Multi-modal Fusion: Integrates text, image, audio (Suno/Fish Audio), and video (ComfyUI/Jianying) generation
  • Low-barrier Creation: Provides guided paths for beginner content creators

1.2 Brand Hierarchy

LayerNameDefinitionUsage Context
Product Brand一刻工坊 (YiKe)User-facing SaaS platformUI, marketing, sales
Business Entity趣美丽 (QuMeiLi)MCN operations & commercial entityContracts, billing
Tech Core刻流星 (KeLiuXing)AI scheduling engine codenameArchitecture docs, APIs

1.3 Target Users

  1. Beginner Creators: Have ideas but lack editing/scripting skills, need "step-by-step" guidance
  2. Batch Content Operators: Manage multiple accounts, require assembly-line content production
  3. Enterprise Marketing Teams: Need scalable video content for campaigns

2. System Architecture

2.1 Technology Stack

┌─────────────────────────────────────────────────────────────┐
│                     CLIENT LAYER                             │
├─────────────────┬─────────────────┬────────────────────────┤
│   Web Browser   │  Electron App   │    Mini Program        │
│   (Vue 3)       │  (Desktop)      │    (UniApp/WeChat)     │
└────────┬────────┴────────┬────────┴───────────┬────────────┘
         │                 │                    │
         ▼                 ▼                    ▼
┌─────────────────────────────────────────────────────────────┐
│                    API GATEWAY LAYER                         │
│         Node.js + Express + JWT Authentication               │
└────────────────────────────┬────────────────────────────────┘

         ┌───────────────────┼───────────────────┐
         ▼                   ▼                   ▼
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────────┐
│ Business Logic  │ │  AI Agent Layer │ │  External Adapters  │
│ (Task Manager,  │ │  (LangGraph     │ │  (Suno, Fish Audio, │
│  Asset Manager) │ │   Python)       │ │   ComfyUI, Jianying)│
└────────┬────────┘ └────────┬────────┘ └──────────┬──────────┘
         │                   │                     │
         ▼                   ▼                     ▼
┌─────────────────────────────────────────────────────────────┐
│                   INFRASTRUCTURE LAYER                       │
│   PostgreSQL │ Redis │ Object Storage (MinIO/S3) │ MQ       │
└─────────────────────────────────────────────────────────────┘

2.2 Core Components

ComponentTechnologyResponsibility
FrontendVue 3 + Vite + Element PlusUser interface, real-time updates
Backend APINode.js + Express + SequelizeBusiness logic, data management
AI AgentsPython + LangGraphComplex AI workflows (Strategy, Music, Video)
Workflow EnginesFlowise, N8NVisual workflow orchestration
Media ProcessingFFmpeg, ComfyUIAudio/video transformation

3. Core Modules (User-Facing)

3.1 Content Pool (灵感广场)

Purpose: Unified entry point for all content assets

Sub-modules:

  • All Content: Aggregated view of all resources
  • Inspiration Notes (灵感笔记):
    • Entity: UserCorpus
    • Sources: External links (Douyin, Xiaohongshu, Bilibili), manual input
    • Features: AI tagging, transcript extraction, script analysis
  • Media Materials (媒体素材):
    • Entity: UnifiedAsset
    • Types: Video, image, audio files
    • Sources: Local upload, link extraction, mobile sync

Key API Endpoints:

POST /api/inspiration/parse-link  # Parse external video URL
GET  /api/corpus                  # List inspiration notes
GET  /api/materials               # List media materials
POST /api/materials/upload        # Upload local files

3.2 Strategy Console (策划控制台)

Purpose: The "central kitchen" for content production planning

Three-Step Workflow:

  1. View Inspiration: Preview collected video/images with metadata
  2. Script Rewriting: AI-assisted script generation with "Original vs AI" comparison
  3. Dispatch Production: Convert script to shooting task or AI auto-generation

Key Features:

  • Style presets: Professional, Friendly, Viral
  • AI rewrite with knowledge base context (RAG)
  • One-click task dispatch to mobile app or AI engine

3.3 Project Console (项目控制台)

Purpose: Visual task and workflow management center

Features:

  • Kanban view: Todo → In Progress → Completed
  • Task entity links to Project and Assets
  • Real-time status sync via WebSocket
  • Version history and rollback

Key Entities:

Project: { id, name, status, workflow_preset_id }
Task: { id, project_id, type, status, input_params, output_data }

3.4 Knowledge Center (知识库)

Purpose: Private knowledge base for RAG-enhanced AI generation

Features:

  • Document upload: PDF, Word, Markdown
  • Automatic chunking and vectorization
  • Search Lab: Test retrieval before production use
  • AI Q&A with forced citation

Key Entities:

KnowledgeDocument: { id, filename, status, chunk_count }
KnowledgeChunk: { id, document_id, content, embedding }

3.5 Workflow Marketplace (工作流市场)

Purpose: Template library for AI automation workflows

Supported Engines:

  • Flowise (visual LLM chains)
  • N8N (automation workflows)
  • LangGraph (complex agent orchestration)
  • ComfyUI (image/video generation)

4. Data Models

4.1 Core Entities

EntityTableKey FieldsRelationships
Userusersid, email, role1:N Projects, Assets
Projectprojectsid, name, status, workflow_preset_id1:N Tasks
Tasktasksid, project_id, type, status, input_paramsN:1 Project, 1:N Assets
UserCorpususer_corporaid, content, source_url, tagsN:N Assets
UnifiedAssetunified_assetsid, file_path, file_type, metadataN:1 Task
KnowledgeDocumentknowledge_documentsid, filename, status1:N Chunks

4.2 Task Status Machine

[PENDING] → [QUEUED] → [RUNNING] → [SUCCESS]
                ↓           ↓
            [CANCELLED]  [FAILED]
                         ↓ (retry)
                      [QUEUED]

5. External Integrations

5.1 AI Services

ServicePurposeIntegration Method
OpenAI/LLMText generation, analysisAPI Key
SunoMusic generationCookie-based auth
Fish AudioText-to-SpeechAPI Token
ComfyUIImage/video generationWebSocket + REST

5.2 Local Tools

ToolPurposeIntegration Method
Jianying (剪映)Video editing draft exportFile system (draft_content.json)
FFmpegMedia transcodingCLI subprocess

6. API Reference (Key Endpoints)

Content Operations

# Inspiration
POST /api/inspiration/parse-link    # Parse external URL
GET  /api/corpus                    # List inspirations
POST /api/corpus                    # Create inspiration

# Materials
GET  /api/materials                 # List materials
POST /api/materials/upload          # Upload file
POST /api/materials/batch-delete    # Batch delete

# Strategy
POST /api/strategy/rewrite          # AI script rewriting
POST /api/strategy/dispatch         # Create task from script

Project & Task

GET  /api/projects                  # List projects
POST /api/projects                  # Create project
GET  /api/projects/:id/tasks        # Get project tasks
POST /api/project/dispatch-task     # Dispatch new task

Knowledge

POST /api/knowledge/upload          # Upload document
GET  /api/knowledge/search          # RAG search
POST /api/knowledge/ask             # AI Q&A with citations

7. Glossary

Term (CN)Term (EN)Definition
一刻工坊YiKeProduct brand name
灵感广场Content PoolAsset management module
灵感笔记Inspiration NotesText/link-based content (UserCorpus)
媒体素材Media MaterialsFile-based assets (UnifiedAsset)
策划控制台Strategy ConsoleContent planning interface
二创脚本Derivative ScriptAI-rewritten script
项目ProjectTop-level work container
任务TaskExecutable work unit
知识库Knowledge BaseRAG document store
工作流WorkflowAutomated pipeline
智能体AgentAI module with specific function
刻流星KeLiuXingAI engine codename

DocumentPathPurpose
Product Book/product_book/Full product documentation
Tech Whitepaper/tech_whitepaper/Architecture deep dive
User Manual/user_manual/End-user guide
Deployment Guide/deployment_guide/Production setup
Business Deck/business_deck/Commercial proposal
SSOT/_source_of_truth/Single source of truth

9. Quick Reference for LLM Assistance

When asked about:

  • Product features → Reference Section 3 (Core Modules)
  • Technical architecture → Reference Section 2 (System Architecture)
  • Data models → Reference Section 4 (Data Models)
  • API usage → Reference Section 6 (API Reference)
  • Terminology → Reference Section 7 (Glossary)

Common Tasks:

  1. Generate content script: Use Strategy Console workflow
  2. Batch process materials: Use Content Pool + Workflow Marketplace
  3. Deploy to production: Follow Deployment Guide
  4. Integrate new AI service: Add adapter in Engine Adapter Layer

End of LLM Context Document

© 2024-2025 趣美丽 QuMeiLi · Powered by 刻流星引擎 KeLiuXing