Skip to content

Commit 8c2e0ed

Browse files
committed
Formatting
1 parent 9bb7ae3 commit 8c2e0ed

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fgoogle-gemini%2Fgenerative-ai-swift%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/google-gemini/generative-ai-swift)
44
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fgoogle-gemini%2Fgenerative-ai-swift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/google-gemini/generative-ai-swift)
55

6-
The Google AI Swift SDK is the easiest way for Swift developers to build with the Gemini API. The Gemini API gives you access to Gemini [models](https://ai.google.dev/models/gemini) created by [Google DeepMind](https://deepmind.google/technologies/gemini/#introduction). Gemini models are built from the ground up to be multimodal, so you can reason seamlessly across text, images, and code.
6+
The Google AI Swift SDK is the easiest way for Swift developers to build with the Gemini API. The Gemini API gives you access to Gemini [models](https://ai.google.dev/models/gemini) created by [Google DeepMind](https://deepmind.google/technologies/gemini/#introduction). Gemini models are built from the ground up to be multimodal, so you can reason seamlessly across text, images, and code.
77

88
> [!CAUTION]
99
> **The Google AI SDK for Swift is recommended for prototyping only.** If you plan to enable
1010
> billing, we strongly recommend that you use a backend SDK to access the Google AI Gemini API. You
1111
> risk potentially exposing your API key to malicious actors if you embed your API key directly in
1212
> your Swift app or fetch it remotely at runtime.
1313
14-
For example, with just a few lines of code, you can access Gemini's multimodal capabilities to
15-
generate text from text-and-image input:
16-
17-
1814
## Get started with the Gemini API
15+
1916
1. Go to [Google AI Studio](https://aistudio.google.com/).
2017
2. Login with your Google account.
2118
3. [Create](https://aistudio.google.com/app/apikey) an API key. Note that in Europe the free tier is not available.
@@ -85,7 +82,6 @@ See the [Gemini API Cookbook](https://github.com/google-gemini/gemini-api-cookbo
8582
See [Contributing](https://github.com/google/generative-ai-swift/blob/main/docs/CONTRIBUTING.md)
8683
for more information on contributing to the Google AI SDK for Swift.
8784

88-
8985
## Developers who use the PaLM SDK for Swift (Deprecated)
9086

9187
> [!IMPORTANT]
@@ -110,4 +106,4 @@ To see the PaLM documentation and code, go to the
110106

111107
## License
112108

113-
The contents of this repository are licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
109+
The contents of this repository are licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).

0 commit comments

Comments
 (0)