這是用戶在 2024-5-3 9:19 為 https://github.com/google-gemini/cookbook 保存的雙語快照頁面,由 沉浸式翻譯 提供雙語支持。了解如何保存?
Skip to content

google-gemini/cookbook

Repository files navigation

Welcome to the Gemini API Cookbook

This is a collection of guides and examples for the Gemini API, including quickstart tutorials for writing prompts and using different features of the API, and examples of things you can build.

Get started with the Gemini API

The Gemini API gives you access to Gemini models created by Google DeepMind. Gemini models are built from the ground up to be multimodal, so you can reason seamlessly across text, images, code, and audio. You can use these to develop a range of applications.

Start developing

  1. Go to Google AI Studio.
  2. Login with your Google account.
  3. Create an API key.
  4. Use a quickstart for Python, or call the REST API using curl.

Capabilities

Learn about the capabilities of the Gemini API by checking out the quickstarts for safety, embeddings, function calling, audio, and more.

Official SDKs

The Gemini API is a REST API. You can call the API using a command line tool like curl , or by using one of our official SDKs:

Get help 得到幫助

Ask a question on the new Build with Google AI Forum, or open an issue on GitHub.
在新的 Build with Google AI 論壇上提問,或在 GitHub 上提出問題。

Contributing 貢獻

Contributions are welcome. See contributing to learn more.
歡迎貢獻。請參閱貢獻以了解更多資訊。

Thank you for developing with the Gemini API! We’re excited to see what you create.
感謝您使用 Gemini API 進行開發!我們很高興看到您創造的東西。

About

A collection of guides and examples for the Gemini API.
Gemini API 指南和範例的集合。

Topics

Resources

License

Stars

Watchers

Forks

Languages