Skip to content

neilghosh/birding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI and API for Bird ID using Gemini

Repo: https://github.com/neilghosh/birding

This is a simple API and UI for identifying bird names and their names in Indian languages using Google Gemini API

UI

alt text

API

It assumes the following contract

Request

curl -v -X POST \
  -F "img=@test.jpeg" \
https://bird-id-api-458006837722.us-central1.run.app/api/identify

Response

{
  "birdData": {
    "bird_name": "Indian Roller",
    "indian_languages": [
      {
        "language": "Bengali",
        "value": "নীলকণ্ঠ (Nilkantha)"
      },
      {
        "language": "Odia",
        "value": "ଭଦଭଦଳିଆ (Bhadabhadalia)"
      },
      {
        "language": "Hindi",
        "value": "नीलकंठ (Nilkanth)"
      },
      {
        "language": "Telugu",
        "value": "పాలపిట్ట (Palapitta)"
      },
      ...
    ],
    "scientific_name": "Coracias benghalensis"
  },
  "message": "models/gemini-3-flash-preview Says...",
  "imgBuffer": "/9j/4AAQSkZJRgABAQAAAQABAAD..."
}

Getting Started

Previews should run automatically when starting a workspace. Run the Show Web Preview IDX command to see the preview.

Releases

No releases published

Packages

 
 
 

Contributors