diff --git a/site/en/gemini-api/docs/prompting_with_media.ipynb b/site/en/gemini-api/docs/prompting_with_media.ipynb index b1f15fa25..f53493392 100644 --- a/site/en/gemini-api/docs/prompting_with_media.ipynb +++ b/site/en/gemini-api/docs/prompting_with_media.ipynb @@ -522,7 +522,8 @@ " - video/wmv\n", " - video/3gpp\n", "\n", - "- The File API service currently samples videos into images at 1 frame per second (FPS) and may be subject to change to provide the best inference quality. Individual images take up 258 tokens **regardless** of resolution and quality.\n", + "- The File API service currently samples videos into images at 1 frame per second (FPS) and may be subject to change to provide the best inference quality.\n", + "- Video limits depend on the context size limit of the model used for inference. For example, `gemini-1.5-pro` has a maximum video length of ~60 minutes.\n", "\n", "### Plain text formats\n", "\n", @@ -572,8 +573,8 @@ }, "outputs": [], "source": [ - "my_filename = \"gemini_logo.png\" # @param {type:\"string\"}\n", - "my_file_display_name = \"Gemini Logo\" # @param {type:\"string\"}\n", + "my_filename = \"image.jpg\" # @param {type:\"string\"}\n", + "my_file_display_name = \"Sample Image\" # @param {type:\"string\"}\n", "\n", "my_file = genai.upload_file(path=my_filename,\n", " display_name=my_file_display_name)\n",