Explore Generative AI with the Gemini API in Vertex AI: Challenge Lab Reviews
18467 reviews
Bejoy A. · Reviewed 7 ימים ago
Luis O. · Reviewed 7 ימים ago
Avilash K. · Reviewed 7 ימים ago
abakash r. · Reviewed 7 ימים ago
Kollipara P. · Reviewed 7 ימים ago
Shahyan M. · Reviewed 7 ימים ago
Ravindra Reddy A. · Reviewed 7 ימים ago
Jonathan D. · Reviewed 8 ימים ago
Mohammad N. · Reviewed 8 ימים ago
Hana L. · Reviewed 8 ימים ago
퀵랩 노트북 접속불가...여서크레딧만날리고 다시 재실행함 ㅠㅠ
시너겟 홍. · Reviewed 8 ימים ago
Carlos B. · Reviewed 8 ימים ago
Daniel B. · Reviewed 8 ימים ago
Ranjit N. · Reviewed 8 ימים ago
Ravindra Reddy A. · Reviewed 8 ימים ago
OK
Chakradhar S. · Reviewed 8 ימים ago
tudent_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$ PROJECT_ID=qwiklabs-gcp-03-1bd85bf99d78 LOCATION=us-west1 API_ENDPOINT=${LOCATION}-aiplatform.googleapis.com MODEL_ID="gemini-2.5-flash" student_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$ echo $LOCATION us-west1 student_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$ curl -X POST -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" -d '{ "contents": [ { "role": "USER", "parts": { "text": "Why is the sky blue?" } } ] }' https://${API_ENDPOINT}/v1/projects/${PROJECT_ID}/locations/${LOCATION}/publishers/google/models/gemini-2.5-flash:generateContent { "candidates": [ { "content": { "role": "model", "parts": [ { "text": "The sky is blue due to a phenomenon called **Rayleigh scattering**, which describes how light interacts with particles much smaller than its wavelength. Here's a breakdown:\n\n1. **Sunlight is White Light:** Sunlight appears white to us, but it's actually made up of all the colors of the rainbow (the visible spectrum: red, orange, yellow, green, blue, indigo, violet). Each color has a different **wavelength** – red has the longest wavelength, and violet/blue have the shortest.\n\n2. **Earth's Atmosphere:** Our planet is surrounded by an atmosphere composed mainly of nitrogen (about 78%) and oxygen (about 21%) molecules, along with tiny amounts of other gases and particles. These molecules are much, much smaller than the wavelengths of visible light.\n\n3. **Rayleigh Scattering in Action:**\n * When sunlight enters the Earth's atmosphere, it collides with these tiny air molecules.\n * Instead of reflecting evenly, the light is **scattered** (bounced around) in all directions.\n * Rayleigh scattering dictates that **shorter wavelengths of light (like blue and violet) are scattered much more efficiently and intensely than longer wavelengths (like red and orange).** Blue light, for instance, is scattered about 10 times more than red light.\n\n4. **Why We See Blue:**\n * Because blue and violet light are scattered so much more effectively, they are bounced around the atmosphere and spread out across the sky.\n * This scattered blue light reaches our eyes from all directions, making the entire sky appear blue.\n\n5. **Why Not Violet?**\n * You might wonder why the sky isn't violet, as violet light has an even shorter wavelength than blue and should scatter more. There are two main reasons:\n * The sun actually emits slightly less violet light than blue light.\n * Our eyes are more sensitive to blue light than to violet light. We perceive more blue than violet, so the dominant color we see is blue.\n\n**What about other times?**\n\n* **Sunrises and Sunsets:** When the sun is low on the horizon, its light has to travel through a much thicker layer of the atmosphere. By the time the light reaches our eyes, most of the blue and violet light has been scattered away, leaving primarily the longer wavelengths (red, orange, yellow) to be seen directly.\n* **Space is Black:** In the vacuum of space, there are no air molecules to scatter sunlight, so the \"sky\" appears black, and stars are visible even during the day (if the sun isn't in your direct field of vision).\n* **Clouds are White/Grey:** Clouds are made of much larger water droplets or ice crystals. These larger particles scatter all wavelengths of visible light more or less equally (a phenomenon called Mie scattering), which results in the clouds appearing white or grey.\n\nSo, in essence, the sky is blue because our atmosphere is very good at scattering blue light." } ] }, "finishReason": "STOP", "avgLogprobs": -0.69543831975055892 } ], "usageMetadata": { "promptTokenCount": 6, "candidatesTokenCount": 643, "totalTokenCount": 1940, "trafficType": "ON_DEMAND", "promptTokensDetails": [ { "modality": "TEXT", "tokenCount": 6 } ], "candidatesTokensDetails": [ { "modality": "TEXT", "tokenCount": 643 } ], "thoughtsTokenCount": 1291 }, "modelVersion": "gemini-2.5-flash", "createTime": "2026-05-10T18:16:14.269469Z", "responseId": "bssAap25EJSnk-4PlbTe8As" } student_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$
Embun K. · Reviewed 9 ימים ago
i did hit the api using curl but the web didnt recognize it tudent_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$ PROJECT_ID=qwiklabs-gcp-03-1bd85bf99d78 LOCATION=us-west1 API_ENDPOINT=${LOCATION}-aiplatform.googleapis.com MODEL_ID="gemini-2.5-flash" student_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$ echo $LOCATION us-west1 student_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$ curl -X POST -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" -d '{ "contents": [ { "role": "USER", "parts": { "text": "Why is the sky blue?" } } ] }' https://${API_ENDPOINT}/v1/projects/${PROJECT_ID}/locations/${LOCATION}/publishers/google/models/gemini-2.5-flash:generateContent { "candidates": [ { "content": { "role": "model", "parts": [ { "text": "The sky is blue due to a phenomenon called **Rayleigh scattering**, which describes how light interacts with particles much smaller than its wavelength. Here's a breakdown:\n\n1. **Sunlight is White Light:** Sunlight appears white to us, but it's actually made up of all the colors of the rainbow (the visible spectrum: red, orange, yellow, green, blue, indigo, violet). Each color has a different **wavelength** – red has the longest wavelength, and violet/blue have the shortest.\n\n2. **Earth's Atmosphere:** Our planet is surrounded by an atmosphere composed mainly of nitrogen (about 78%) and oxygen (about 21%) molecules, along with tiny amounts of other gases and particles. These molecules are much, much smaller than the wavelengths of visible light.\n\n3. **Rayleigh Scattering in Action:**\n * When sunlight enters the Earth's atmosphere, it collides with these tiny air molecules.\n * Instead of reflecting evenly, the light is **scattered** (bounced around) in all directions.\n * Rayleigh scattering dictates that **shorter wavelengths of light (like blue and violet) are scattered much more efficiently and intensely than longer wavelengths (like red and orange).** Blue light, for instance, is scattered about 10 times more than red light.\n\n4. **Why We See Blue:**\n * Because blue and violet light are scattered so much more effectively, they are bounced around the atmosphere and spread out across the sky.\n * This scattered blue light reaches our eyes from all directions, making the entire sky appear blue.\n\n5. **Why Not Violet?**\n * You might wonder why the sky isn't violet, as violet light has an even shorter wavelength than blue and should scatter more. There are two main reasons:\n * The sun actually emits slightly less violet light than blue light.\n * Our eyes are more sensitive to blue light than to violet light. We perceive more blue than violet, so the dominant color we see is blue.\n\n**What about other times?**\n\n* **Sunrises and Sunsets:** When the sun is low on the horizon, its light has to travel through a much thicker layer of the atmosphere. By the time the light reaches our eyes, most of the blue and violet light has been scattered away, leaving primarily the longer wavelengths (red, orange, yellow) to be seen directly.\n* **Space is Black:** In the vacuum of space, there are no air molecules to scatter sunlight, so the \"sky\" appears black, and stars are visible even during the day (if the sun isn't in your direct field of vision).\n* **Clouds are White/Grey:** Clouds are made of much larger water droplets or ice crystals. These larger particles scatter all wavelengths of visible light more or less equally (a phenomenon called Mie scattering), which results in the clouds appearing white or grey.\n\nSo, in essence, the sky is blue because our atmosphere is very good at scattering blue light." } ] }, "finishReason": "STOP", "avgLogprobs": -0.69543831975055892 } ], "usageMetadata": { "promptTokenCount": 6, "candidatesTokenCount": 643, "totalTokenCount": 1940, "trafficType": "ON_DEMAND", "promptTokensDetails": [ { "modality": "TEXT", "tokenCount": 6 } ], "candidatesTokensDetails": [ { "modality": "TEXT", "tokenCount": 643 } ], "thoughtsTokenCount": 1291 }, "modelVersion": "gemini-2.5-flash", "createTime": "2026-05-10T18:16:14.269469Z", "responseId": "bssAap25EJSnk-4PlbTe8As" } student_01_6afdebda885d@cloudshell:~ (qwiklabs-gcp-03-1bd85bf99d78)$
Embun K. · Reviewed 9 ימים ago
Seji T. · Reviewed 9 ימים ago
Aegis K. · Reviewed 9 ימים ago
venkatanagasaisri Krishna v. · Reviewed 9 ימים ago
Jayesh P. · Reviewed 9 ימים ago
Indrajit B. · Reviewed 9 ימים ago
서재원 G. · Reviewed 10 ימים ago
David C. · Reviewed 10 ימים ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.