Lovable + Ertas
使用 Lovable 快速建構連接到 Ertas 訓練模型的全端 AI 應用程式,在生產應用中實現領域特定智慧。
Overview
Lovable 是一個 AI 驅動的應用程式建構器,根據自然語言描述生成全端網頁應用程式。使用者描述他們想要的應用程式——儀表板、聊天介面、資料處理工具——Lovable 生成包含前端元件、後端 API 路由、資料庫架構和驗證流程的完整程式碼庫。生成的程式碼是生產品質的 React 和 TypeScript,部署到即時 URL,使用者可以立即互動並透過自然語言描述變更進行迭代。
Lovable 對 AI 應用程式開發之所以相關,在於其能夠圍繞 AI 模型生成完整的應用層。建構聊天機器人、文件分析工具或資料擷取介面需要大量通常是樣板的前端和後端工程。Lovable 自動處理這些樣板,讓團隊專注於其應用程式的差異化之處:驅動智慧的微調模型。透過結合 Lovable 的快速應用程式生成和 Ertas 的模型微調,團隊可以在幾小時內而非幾週內從原始訓練資料到已部署的面向使用者的 AI 應用程式。
How Ertas Integrates
Ertas 和 Lovable 之間的整合很簡單:您在 Ertas Studio 中微調模型,部署到 API 端點,然後向 Lovable 描述您的應用程式,指示其連接到您模型的 API。Lovable 生成完整的應用程式——包括 API 整合程式碼、串流回應處理、對話狀態管理和精緻的 UI——設定為使用您的 Ertas 模型作為後端。生成的程式碼使用標準 OpenAI SDK 模式,因此整合乾淨且可維護。
此工作流程對非技術創辦人、代理商和業務團隊具有變革性意義。法律科技新創公司可以在 Ertas Studio 中微調合約分析模型,然後向 Lovable 描述文件上傳和分析介面,一個下午就能部署可運作的產品原型。原型包含真正的 AI 智慧——不是模擬資料——因為它連接到實際的微調模型。需要擴展時,生成的程式碼可以匯出到標準開發環境進行進一步自訂。Ertas-Lovable 的組合移除了 ML 工程障礙(Ertas 處理訓練)和軟體工程障礙(Lovable 處理應用程式),讓領域專家僅憑其專業知識即可實現 AI 產品。
Getting Started
- 1
在 Ertas Studio 中微調您的模型
在您的資料上訓練領域特定模型。將完成的模型部署到 Ertas Cloud 或任何可公開存取的具有 OpenAI 相容 API 的推理端點。
- 2
向 Lovable 描述您的應用程式
開啟 Lovable 並用自然語言描述您想要的應用程式。包含關於 UI、功能以及它應連接到您 AI 模型 API 的詳細資訊。
- 3
設定 API 認證
將您的 Ertas Cloud 端點 URL 和 API 金鑰新增到 Lovable 專案的環境變數中。生成的程式碼將安全地引用這些變數。
- 4
迭代應用程式
測試已部署的應用程式並用自然語言向 Lovable 描述變更。根據需要改進 UI、新增功能或調整模型整合。
- 5
匯出和自訂
當應用程式準備好用於生產時,匯出生成的程式碼庫進行進一步自訂,或繼續直接在 Lovable 中迭代。
# Example Lovable prompt for building an AI app with Ertas
"Build a contract analysis tool with these features:
- A document upload area that accepts PDF files
- Extract key terms, obligations, and dates from contracts
- Display results in a structured table with categories
- Include a chat interface for follow-up questions about the document
- Connect to my AI model API at the endpoint in ERTAS_API_URL env var
- Use the OpenAI SDK with model name 'ertas-legal-7b'
- Add a clean, professional UI with a sidebar for document history"
# Lovable generates the complete application:
# - React frontend with file upload and chat components
# - Backend API routes for document processing
# - OpenAI SDK integration pointing to your Ertas model
# - Deployed to a live URL in under 2 minutesBenefits
- 從自然語言描述生成全端 AI 應用程式
- 生產品質的 React 和 TypeScript 程式碼,可維護且可匯出
- 從訓練資料到已部署應用程式只需數小時而非數週
- 應用程式開發無需軟體工程專業知識
- 即時部署並提供可分享的 URL 用於立即使用者測試
- 透過自然語言描述變更來迭代應用程式
Related Resources
Fine-Tuning
GGUF
Inference
Fine-Tune AI Models Without Writing Code
Getting Started with Ertas: Fine-Tune and Deploy Custom AI Models
Self-Hosted AI for Indie Apps: Replace GPT-4 with Your Own Model
How to Fine-Tune an LLM: The Complete 2026 Guide
Bolt.new
Cursor
OpenRouter
Replit
vLLM
Ertas for SaaS Product Teams
Ertas for Customer Support
Ertas for AI Automation Agencies
Ertas for Indie Developers & Vibe-Coded Apps
Ship AI that runs on your users' devices.
Early bird pricing starts at $14.50/mo — locked in for life. Plans for builders and agencies.