We're sunsetting Firebase Studio on March 22, 2027. To continue building and deploying new versions of your app, migrate your Firebase Studio projects to Google AI Studio or Google Antigravity before that date. Learn how to migrate.
Any apps already deployed to Firebase will continue to run even after the sunset date. Also, all our core Firebase products (like Firestore, Authentication, App Hosting, etc.) are not impacted by the Firebase Studio sunset.
Chọn ngôn ngữ và khung cho môi trường của bạn. Mẫu
Gemini API template
trong Firebase Studio có sẵn bằng JavaScript (với Vite hoặc
Genkit) và Python (notebook hoặc ứng dụng web với Flask).
(Không bắt buộc) Nếu bạn muốn thêm khung
LangChain
vào ứng dụng, hãy chọn tuỳ chọn Use LangChain (Sử dụng LangChain).
Khi không gian làm việc tải, hãy mở tệp main.js hoặc
main.py rồi cập nhật
biến API_KEY bằng khoá Gemini API của bạn từ Google AI Studio.
Kiểm thử ứng dụng cơ sở trong bảng xem trước trên web để xem Gemini API hoạt động và sửa đổi ứng dụng Gemini API mới cho phù hợp.
Thêm Gemini API vào một ứng dụng hiện có
Bạn cũng có thể thêm Gemini API vào ứng dụng hiện có ngay từ
Firebase Studio.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2026-04-18 UTC."],[],[]]