-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I belive the reason for this is that gemini 2.0 is no longer available in AI Studio.
Instead they introduced Nano Banana (gemini 2.5).
`(base) digioso@My-bad-world:~/tools/gemini_picturebook_generator$ uv run gemini-picturebook
π Starting Modern AI Story Generator UI v2.1
β¨ Features: UNLIMITED scenes, modern design, real-time progress
π Open your browser to: http://localhost:8080
π± Mobile-friendly responsive design
π― No scene limitations - create epic 1000+ scene sagas!
- Serving Flask app 'gemini_picturebook_generator.flask_ui'
- Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - Running on all addresses (0.0.0.0)
- Running on http://127.0.0.1:8080
- Running on http://192.168.33.215:8080
Press CTRL+C to quit
127.0.0.1 - - [02/Sep/2025 12:48:45] "POST /generate HTTP/1.1" 200 -
β Successfully connected to Google Gemini API
β API connection test successful!
π€ Response: Hello! Yes, I'm working. How can I help you today?
...
β Successfully connected to Google Gemini API
π¨ Generating custom story: 'A story about Ione: All output in german. Ione enters the magical fantasy game Avalorianda together with her online friend Kaleon. They fight against enemies. The story takes place in enchanted forest. Create this in realistic art style.'
π Scenes to generate: 6
β³ This may take several minutes due to rate limiting...
β±οΈ Rate limit:6 seconds between requests (10/minute limit)/tools/gemini_picturebook_generator$`
π Making API request...
β Error generating story: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'models/gemini-2.0-flash-preview-image-generation is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.', 'status': 'NOT_FOUND'}}
π Error type: ClientError
π‘ This might be due to rate limiting. Try again later or reduce the number of scenes.
127.0.0.1 - - [02/Sep/2025 12:48:47] "GET /status/story_20250902_124845_526964 HTTP/1.1" 200 -
^C(base) digioso@My-bad-world:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels