Skip to content

Commit 63b7f0e

Browse files
committed
Updating the pricing banner
1 parent 1339f15 commit 63b7f0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

quickstarts-js/Image_out.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ Following this guide, you'll learn how to do all those things and even more.
3838
</td>
3939
<!-- Text Content Cell -->
4040
<td bgcolor="#f5949e">
41-
<h3><font color=black>Image generation is a paid-only feature and won't work if you are on the free tier. Check the <a href="https://ai.google.dev/pricing#gemini-2.5-flash-image-preview"><font color='#217bfe'>pricing</font></a> page for more details.</font></h3>
41+
<h3><font color=black>After a few free tried, you will need <a href="https://ai.google.dev/gemini-api/docs/billing#enable-cloud-billing" taget="_blank">billing</a> enabled to use image generation. Click on the
42+
<img src="https://i.postimg.cc/pX6FQwjz/key-off-24dp-E3-E3-E3-FILL0-wght400-GRAD0-opsz24.png" style="margin:0px 0px;" height="18px" width="18px" />
43+
button in the top right corner to select a cloud project with billing.</font></h3>
4244
</td>
4345
</tr>
4446
</table>
@@ -52,9 +54,7 @@ Check the [documentation](https://ai.google.dev/gemini-api/docs/image-generation
5254

5355
/* Markdown (render)
5456
## Setup
55-
### Install SDK and set-up the client
56-
57-
### API Key Configuration
57+
### Install SDK and set-up the client with the API key
5858
5959
To ensure security, avoid hardcoding the API key in frontend code. Instead, set it as an environment variable on the server or local machine.
6060

0 commit comments

Comments
 (0)