-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API KEY #2
Comments
so to tell you I even installed the keys in all the folders or figured out the term Key API and I always had the same problem over and over again can you please make an animated gif to show with exatitude or the installed which frankly I don't understand, no matter how much I do, undo, redo it never works |
@sdbds : ok I will reinstall all the code tomorrow and I will keep you informed, many thanks for your analysis and feedback with all my respect |
I have updated the video demonstration, and I think the entire process is very simple, only two steps... |
@sdbds : Format Video : MP4, 24FPS, 480x320 |
@sdbds : Is there a maximum duration? 4 seconds? 3 seconds? 5? |
Pay attention to the audio format of the video, as Gemini will use the audio from the video. Common formats are mp3, pcm(wav), and aac. |
There is no limit, as tested, Gemini supports up to 6 minutes, and this project has automatic segmentation; if the video exceeds 5 minutes, it will automatically be split into multiple 5-minute short videos By the way, it supports using 1080P video. However, since your APIKEY shows 429, you may need to wait for a while before trying again |
I guess your video source might be some older media? I had a similar issue with the audio source when I tested Tom and Jerry before. It is encapsulated using the MP2 container, which causes Gemini to fail to recognize it. Other review reasons may also exist, but generally, block:other is due to incorrect formatting |
@sdbds : It's still quite weird because the video is not supposed to have sound or music, it's a generated video |
@sdbds : it's weird, I converted the videos and passed the audio even if there is no audio in MP3 format, I still have the same problem, same in mov or avi format. |
Perhaps it's a review issue, if convenient, you can upload your media via a link for me to test |
@sdbds : With pleasure I provide you with a link |
After my test, there is no problem, maybe your Google Gemini hasn't added a payment method and is restricted? |
@sdbds : I'm going to go look at this because it's really strange. |
Good morning @sdbds
I would like to report an anomaly in the code, I can integrate the API key: https://aistudio.google.com/apikey
deleted it, reinstall it as many times as I want in the code, this one is not taken into consideration by the program.
I tried everything, nothing worked:
However, I integrate the key in the API_Handler.py file which is found in module in this section of line of code:
if (
mime.startswith("video")
or mime.startswith("audio")
or args.pixtral_api_key == "AIzaSyB6DPD0Hsgd-y3t2rSbOm-4GlJQNpPKv8k"
):
thank you for your feedback
Additional information, whether Via Mistral or AI Studio it is exactly the same problem, the API key is not taken into consideration by the code.
The text was updated successfully, but these errors were encountered: