संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
App Prototyping agent का इस्तेमाल करके, Gemini API की मदद से अपने-आप नया ऐप्लिकेशन प्रोटोटाइप बनाया जा सकता है. हालांकि, Gemini Developer API का इस्तेमाल करके, एक बटन पर क्लिक करके भी खाली कैनवस लॉन्च किया जा सकता है. अपने ऐप्लिकेशन में Google के जनरेटिव एआई के नए मॉडल का इस्तेमाल शुरू करें. इसके लिए, ऐसे टेंप्लेट का इस्तेमाल करें जिसमें आपको ज़रूरी Gemini API इंफ़्रास्ट्रक्चर शामिल हो. आपको बस अपनी Gemini API कुंजी जोड़नी है और कोडिंग शुरू करनी है!
Gemini API को पहले से लोड करके, एक नया ऐप्लिकेशन बनाएं
टेंप्लेट डैशबोर्ड से Firebase StudioGemini API टेंप्लेट ऐक्सेस करें और एआई की मदद से इसे बनाएं.
अपने एनवायरमेंट के लिए भाषा और फ़्रेमवर्क चुनें. Firebase Studio में मौजूद Gemini API टेंप्लेट, JavaScript (Vite या Genkit के साथ) और Python (नोटबुक या Flask के साथ वेब ऐप्लिकेशन) में उपलब्ध है. जल्द ही, इसे अन्य भाषाओं और फ़्रेमवर्क में भी उपलब्ध कराया जाएगा.
(ज़रूरी नहीं) अगर आपको अपने ऐप्लिकेशन में LangChain फ़्रेमवर्क जोड़ना है, तो LangChain का इस्तेमाल करें विकल्प चुनें.
जब आपका वर्कस्पेस लोड हो जाए, तब main.js या main.py फ़ाइल खोलें. इसके बाद, Google AI Studio से मिले Gemini API पासकोड का इस्तेमाल करके, API_KEY वैरिएबल को अपडेट करें.
वेब प्रीव्यू पैनल में, बेस ऐप्लिकेशन को टेस्ट करें. इससे आपको Gemini API की कार्रवाई देखने में मदद मिलेगी. इसके बाद, अपने नए Gemini API ऐप्लिकेशन में ज़रूरी बदलाव करें.
Gemini API को किसी मौजूदा ऐप्लिकेशन में जोड़ना
Firebase Studio में जाकर, सीधे अपने मौजूदा ऐप्लिकेशन में Gemini API को जोड़ा जा सकता है.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["While you can use [the App Prototyping agent](/docs/studio/get-started-ai)\nto automatically create a new app prototype with the Gemini API, you can\nalso launch a blank canvas with the\n[Gemini Developer API](https://ai.google.dev/) through one click of\na button. Start using the latest generative AI models from Google in your\napp with a template that includes all the Gemini API infrastructure you\nneed. All you need to do is add your\n[Gemini API key](https://ai.google.dev/tutorials/setup) and get coding!\n\nBuild a new app with the Gemini API pre-loaded\n\nAccess the Firebase Studio Gemini API template from the\ntemplates dashboard and build with the power of AI.\n\n1. Open the [Firebase Studio template for the Gemini API](https://studio.firebase.google.com//new/gemini) from the Firebase Studio template dashboard.\n2. Select the language and framework for your environment. The Gemini API template in Firebase Studio is available in JavaScript (with Vite or Genkit) and Python (notebook or web app with Flask), with more languages and frameworks coming soon.\n3. *(Optional)* If you want to add the [LangChain](https://www.langchain.com/) framework to your app, select the **Use LangChain** option.\n4. When your workspace loads, open the `main.js` or `main.py` file and update the `API_KEY` variable with your Gemini API key from [Google AI Studio](https://aistudio.google.com/app/apikey).\n5. Test the base app in the web preview panel to watch the Gemini API in action, and modify your new Gemini API app accordingly.\n\nAdd the Gemini API to an existing app\n\nYou can also add the Gemini API to your existing app directly from\nFirebase Studio.\n\n1. Open [Firebase Studio](https://studio.firebase.google.com/).\n\n2. Click the Firebase Studio icon from the navigation pane to open the\n Firebase Studio panel.\n\n3. Expand the **Google Integrations** section and click **Add Gemini API**.\n\n4. Follow the prompts to authenticate your account and add a Gemini API key\n to your app."]]