{"id":19774683,"url":"https://github.com/yeukfei02/generative-ai-google-cloud","last_synced_at":"2026-05-08T06:03:55.051Z","repository":{"id":226248492,"uuid":"768153140","full_name":"yeukfei02/generative-ai-google-cloud","owner":"yeukfei02","description":"generative-ai-google-cloud","archived":false,"fork":false,"pushed_at":"2024-04-02T04:05:41.000Z","size":99,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T01:27:42.209Z","etag":null,"topics":["gemini","google-cloud","google-cloud-functions","python","serverless","streamlit","text-to-image","text-to-text","vertex-ai"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yeukfei02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-06T15:08:59.000Z","updated_at":"2024-04-06T05:19:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"c472a6ff-61ff-4901-b98a-c03b2fc8714f","html_url":"https://github.com/yeukfei02/generative-ai-google-cloud","commit_stats":null,"previous_names":["yeukfei02/generative-ai-google-cloud"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fgenerative-ai-google-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fgenerative-ai-google-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fgenerative-ai-google-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fgenerative-ai-google-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeukfei02","download_url":"https://codeload.github.com/yeukfei02/generative-ai-google-cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241105544,"owners_count":19910653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gemini","google-cloud","google-cloud-functions","python","serverless","streamlit","text-to-image","text-to-text","vertex-ai"],"created_at":"2024-11-12T05:13:37.314Z","updated_at":"2026-05-08T06:03:54.992Z","avatar_url":"https://github.com/yeukfei02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generative-ai-google-cloud\n\nThis project intends to use google cloud function with vertex ai gemini to make API with generative ai, there are two API for `text-to-text` and `text-to-image`\n\nThe model uses `gemini 1.0` and `imagen 005`\n\ndocumentation: \u003chttps://documenter.getpostman.com/view/3827865/2sA2xe6FP5\u003e\n\ngetItinerary api url: \u003chttps://asia-southeast1-strange-vortex-416210.cloudfunctions.net/generative-ai-gcloud-prod\u003e\n\ngenerate wallpaper api url: \u003chttps://asia-southeast1-strange-vortex-416210.cloudfunctions.net/generative-ai-gcloud-prod\u003e\n\ntravel planner web url: \u003chttps://travel-planner-gen-ai.streamlit.app/\u003e\n\ngenerate wallpaper web url: \u003chttps://generate-wallpaper.streamlit.app/\u003e\n\n## Requirement\n\n- install yarn\n- install node (v18)\n- install python (v3.9)\n- install serverless\n- install gcloud cli\n\n## Testing and run\n\n```zsh\n// get bearer token\n$ gcloud auth print-identity-token\n\n// deploy to serverless\n$ yarn run deploy\n\n// generate .serverless folder\n$ yarn run package\n\n// remove serverless services in google cloud\n$ yarn run remove\n\n// check serverless.yml\n$ yarn run doctor\n```\n\n```zsh\n// install dependencies\n$ cd web\n$ pip install -r requirements.txt\n\n// open web\n$ streamlit run travel_planner.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeukfei02%2Fgenerative-ai-google-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeukfei02%2Fgenerative-ai-google-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeukfei02%2Fgenerative-ai-google-cloud/lists"}