Free course · read lesson 1 without signing upफ़्री कोर्स · बिना साइन अप पाठ 1 पढ़ो
Build with AI: APIs & AgentsAI से बनाओ: API और एजेंट
Call your first AI API, use India’s Sarvam & BHASHINI, run Gemini Nano in the browser, and ship a real project.पहली AI API कॉल करो, भारत के Sarvam और BHASHINI चलाओ, ब्राउज़र में Gemini Nano चलाओ, और असली प्रोजेक्ट बनाओ।
What you will learnआप क्या सीखेंगे
- ~12 minWhat is an API? Your first AI callAPI क्या है? आपकी पहली AI कॉल
- ~12 minIndia-built AI: Sarvam & BHASHINI APIsभारत में बना AI: Sarvam और BHASHINI API
- ~12 minOn-device AI: Gemini Nano in your browserऑन-डिवाइस AI: ब्राउज़र में Gemini Nano
- ~14 minBuild an AI agent, step by stepAI एजेंट बनाओ, कदम-दर-कदम
- ~12 minVibe-coding: build apps by chattingवाइब-कोडिंग: बातचीत से ऐप बनाओ
- ~12 minShip it: host your project for freeलॉन्च करो: प्रोजेक्ट मुफ़्त में होस्ट करो
Lesson 1 — read it free, no signupपाठ 1 — मुफ़्त पढ़ो, साइन अप ज़रूरी नहीं
This is the real first lesson, not a sample.यह असली पहला पाठ है, कोई नमूना नहीं।
The waiter who never sleeps 🍽️
You sit in a restaurant, tell the waiter your order, and food arrives. You never enter the kitchen. An API works exactly like that waiter. Your app speaks to the AI through the API: you send a request ("here's my question"), the API carries it to the model, and brings back the answer. You don't need to know how the giant model runs inside — you just place an order in a fixed, agreed format. That's why APIs let small apps use world-class AI.
वो waiter जो कभी नहीं सोता 🍽️
आप restaurant में बैठते हैं, waiter को order बताते हैं, और खाना आ जाता है। आप कभी रसोई में नहीं जाते। API बिल्कुल उसी waiter जैसा काम करता है। आपका app AI से API के ज़रिए बात करता है: आप एक request भेजते हैं ("ये रहा मेरा सवाल"), API उसे model तक ले जाता है, और जवाब वापस लाता है। आपको जानने की ज़रूरत नहीं कि विशाल model अंदर कैसे चलता है — आप बस एक तय, सहमत format में order देते हैं। इसीलिए API से छोटे apps भी world-class AI इस्तेमाल कर पाते हैं।
The key stays in the back office 🔑
To use an AI API you get an API key — a secret password that proves the request is yours and tracks usage for billing. The golden rule: never put your key in a webpage, app screen, or public code where users can see it. Anyone who steals it can spend your money. Keep keys on your own server, where the public never reaches. Your app talks to your server; your server holds the key and talks to the AI. Treat the key like your bank PIN.
चाबी पिछले दफ़्तर में रहती है 🔑
AI API इस्तेमाल करने के लिए आपको एक API key मिलती है — एक गुप्त password जो साबित करता है कि request आपकी है और billing के लिए इस्तेमाल गिनता है। सुनहरा नियम: अपनी key कभी webpage, app screen, या सार्वजनिक code में मत डालिए जहाँ users देख सकें। जो चुरा ले वो आपके पैसे खर्च कर सकता है। keys अपने server पर रखिए, जहाँ जनता नहीं पहुँचती। आपका app आपके server से बात करता है; आपका server key रखता है और AI से बात करता है। key को अपने bank PIN जैसा मानिए।
+ 4 practice questions in this lesson, inside the app+ इस पाठ में 4 अभ्यास सवाल, ऐप के अंदर
Signup is free and only saves your progress, exam and certificate.साइन अप फ़्री है — यह सिर्फ़ आपकी प्रगति, परीक्षा और सर्टिफ़िकेट सहेजता है।
Free AI & job skills, in English & हिंदी.फ़्री AI और नौकरी के हुनर, English और हिंदी में।