Almost every app you will build leans on someone else’s service. You want to show the weather, generate an image, send a message, take a payment: you are not going to build a weather station or train an image model yourself. You call an external service. This lesson, part of Ariel’s no-code course where the class builds a giraffe meme generator, is about how that works, why it has to go through your server, and how to plan it with AI without writing a single line of code.
The weather example
Ariel draws it on the board. There is your application, on a computer or a phone. There is your server (drawn, for your information, like a little can). And there is the external service, drawn as a cloud, because it is a cloud service.
The app asks the user for their location. The user says Petah Tikva. The app reports that to your server, the server asks the weather service, and the service answers: the weather in Petah Tikva is 900 degrees, because in the center it is always very, very hot. The answer goes back to your server and from there to the app.
Why not let the app call the weather service directly? Because to get answers from a service like that, you usually need a username and password, or a token. A token contains extra information about the user and their permissions, but for our purposes, Ariel says, treat it as a password. And you do not want the user to bypass you and contact the service in your place, especially if you are the one paying for it. So they come to you. Your server asks itself: did this user pay me? If not, the process stops there.
You can have many of these. Some information goes to one service, some to another, and your server may call a third service in the background for its own purposes. Same pattern each time.
Two services for the giraffe generator
The giraffe generator really needs only one external service: AI. The user describes their meme (“90 degrees in Petah Tikva, while in the Golan everyone is freezing in coats”), and the app does two things. First it sends the idea to a text model whose job is to turn it into a good prompt for an image model. Then it sends that prompt to an image model, which returns the image.
To show how to handle more than one, Ariel adds a second service on purpose, a fun one for an “inspiration” button. His reasoning: once you do two, you realize that two and infinity are the same thing. And he deliberately makes one paid and one free. He does not want to pay for another service for no reason, and he wants you to know there are plenty of free services out there, and people make real money building apps on top of them.
OpenRouter: one key, many models
For the AI part he uses OpenRouter, a single service that gives you access to many models from many providers. The steps:
- Sign up (he used his Gmail).
- Add credits. He put in $20 half a year ago and still has $8.90 left after all his automations and examples, which tells you how far cheap models go.
- Go to API Keys and create a new key for the project. You can set a spending limit on it, for example $5.
- Copy the key and keep it somewhere safe. In the course, that is a
secrets.txtfile inside the project’s docs folder, with a line likeOpenRouter token = .... Then you tell Claude that this is the OpenRouter token, and it usually knows what to do with well-known services and APIs.
Ariel shows his key on screen for a moment and promises to delete it and make a new one once the video is up. Do the same with any key that was ever visible to anyone.
Picking models like a restaurant owner
You are providing a service and you have costs, so think like a restaurant owner who serves a schnitzel and a cola: you need to know what the schnitzel and the cola cost you before you decide what to charge.
On OpenRouter’s Models page, Ariel recommends the table view. Filter by input modality (text, for the text model) and look at the prices. Input is what you send to the model; output is what it writes back. You will see expensive models and free ones. The free ones come with two catches, and it is your decision: their budget is limited, so you cannot use them at high volume, and they may learn from the data you send them.
For the text model he picks a super cheap Gemini Flash model: 10 cents per million input tokens and 40 cents per million output tokens, which is plenty for something this simple. For the image model he compares Flux, which he usually likes, Kling Pro at 16 cents per image, and Grok at 5 cents, a third of the price. He picks Grok. Each model has a copy button for its exact name, and those names go into the secrets file too: text model = ..., image model = ....
A tip for people who want to go further: OpenRouter has a request builder where you can test a request and it writes the code for you. He skips it on purpose, because this course is no-code. The point is architecture: understanding how a system works, being a good product manager, and getting a great product out of AI with zero code. Which also means the research is your job. If it is hard, open ChatGPT and research the API you want.
The free duck
For the second service, search for “free API” and you will find long lists, like the big one on GitHub. Ariel picks a free animal API that returns a random image of a duck. You do not need to read the developer documentation, but if you want to be nice to your AI, copy the documentation and give it that too. Usually that works better.
Handing it to Claude Code
Now everything goes into a task. Ariel duplicates an existing task file, names it E01 (E for external services), and writes:
- Read the backend schema spec we already planned.
- We now have a
secrets.txtwith an OpenRouter API key, an OpenRouter text model, an OpenRouter image model, and another external API for random duck images. - The backend gets an external services sub-project. Use them there, securely.
- The flow: when the user writes the text for their meme, it goes first to the text model, which optimizes it for the image model; then the app sends it to the image model and returns the image to the user.
- The results must always be based on giraffes, which is the whole point of the product.
- Add a browse button for inspiration.
Then he runs Claude Code on E01 and lets it work. Claude reads the OpenRouter files, comes back with a question (two files for two providers, or split OpenRouter into two?), and recommends option A. They go with the recommendation, as they do throughout the course. When it asks if the code looks right, Ariel writes back: “I am not a programmer. Do what is best.”
The result is a new external services document that describes everything that needs to be done. Claude checks itself along the way, which Ariel likes about the new Claude Code versions, and offers to make an implementation plan. That is the next lesson: read everything in the docs and turn it into one execution plan. We covered that step in From Spec to Implementation Plan.
๐ฅ Roast Corner
Let’s take a moment for the security portion of this security lesson. Ariel explains, carefully, that a token is a password and must be kept secret, and then pastes his live OpenRouter token on screen and zooms in “so you don’t see the whole token”. Then, reassuringly: “It’s not a big deal if you see it; until I upload the video, I’ll replace it.” Every leaked-credentials incident in history started with a man who was going to replace it later.
And look at that wallet. The man who burns Claude tokens like they are kindling, who will never get his own API key on principle, put $20 into OpenRouter half a year ago and still has $8.90. That is not a budget. That is a pension fund. He treats OpenRouter credit the way other people treat the last slice of cake.
My favourite part, though, is when Claude Code, ready to write the backend, politely asks if the code looks right, and a developer with decades of experience types: “I am not a programmer. Do what is best.” It is in the script, it is for the course, I understand. But somewhere, a junior dev who got yelled at in a code review felt a disturbance in the force. Meanwhile it is still 900 degrees in Petah Tikva, and the only one in this story who is not overheating is the duck.
๐ค AI for Humans
In Erbil, the capital of the Kurdistan Region of Iraq, flash floods have shown the city it needs earlier warnings. A local tech company, TimeNet, has deployed an AI-driven flood early warning system: eight TEKTELIC LoRaWAN gateways connect a network of sensors across the city and the surrounding area, including river water level sensors, rain gauges, temperature sensors, lightning detectors, and wind speed and direction sensors.
The data flows to TimeNet’s locally developed smart city platform, where AI combines live and historical readings to spot abnormal conditions and produce flood risk forecasts, so authorities get an earlier heads-up and can prepare. A public mobile app then sends residents flood risk notifications, danger-level updates and location-specific warnings. The write-up is honest that the published case study does not detail forecasting accuracy or warning lead times, so the real test is the next big storm. Source: Connectivity Technology Blog.
It is, almost line for line, the board from this lesson: sensors talk to a server, the server calls the analysis, and the app only shows the result. Except here the weather data is real, the stakes are people’s homes, and nobody is pretending it is 900 degrees.

๐ฌ Comments