Note - A pdf of the following intructions are in this repository.
If you download the Lumina Instructions.pdf file, the hyperlinks will be active in that document.
On March 26, 2024, OpenAI updated its billing system to require the pre-purchase of credits in order to use the API for most users. If you do not pre-purchase credits, you will get an API error.
Feb. 23, 2024 Update - Lumina can now also save your generated images by voice command. If you want to save the generated image shown on your TV, say “Lumina” and when the screen displays “Listening”, say “Save it” or “Keep it”.
Lumina will then save your current image in the /home/pi/Lumina folder as a PNG file labeled with the phrase you used to generate it (thank you to azwirko for that idea) and the date. Lumina will display the name of the file for 3 seconds and then revert to displaying the image.
![1](https://private-user-images.githubusercontent.com/22980908/297437987-a8f69dec-720c-4969-98b2-64f045d0d037.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzkzMjAsIm5iZiI6MTcyNDI3OTAyMCwicGF0aCI6Ii8yMjk4MDkwOC8yOTc0Mzc5ODctYThmNjlkZWMtNzIwYy00OTY5LTk4YjItNjRmMDQ1ZDBkMDM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDIyMjM0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRjNzc3NjBhY2MwMTQwZDBkODc4NzZiN2M2MzgzNjczMjNmNmE3YTJkMGI5NmZhYTI2ZGNlZjJkM2UyMmVkOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Uiv7MULQOONUnf4lASDTOoXdFEK209zUhY1VR0D3vK4)
![2](https://private-user-images.githubusercontent.com/22980908/297438030-e5faf9c6-ddf2-4122-999c-d2859ebcaff5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzkzMjAsIm5iZiI6MTcyNDI3OTAyMCwicGF0aCI6Ii8yMjk4MDkwOC8yOTc0MzgwMzAtZTVmYWY5YzYtZGRmMi00MTIyLTk5OWMtZDI4NTllYmNhZmY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDIyMjM0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlhNmQ4MTIzNTQ4ZmMxNmJmYjZiYjA0YjhjODJiYjMzODg2MmIwOTExZGU0NjNjOTU2MTJjNDVjNzRlZTNmODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QLylcYH1tGEcAWoZ8piTffVz0wnX9eH2HtVOMI6pTOI)
![3](https://private-user-images.githubusercontent.com/22980908/297438066-3dda3635-0873-4d2f-ace5-9dfd76d000b5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzkzMjAsIm5iZiI6MTcyNDI3OTAyMCwicGF0aCI6Ii8yMjk4MDkwOC8yOTc0MzgwNjYtM2RkYTM2MzUtMDg3My00ZDJmLWF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2Mzk5Y2JhZDgxZmU1MzkzMjkyMTIzZGQyYzRmNWE0NTI2YmFiNTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ThA72ejJRhyp9bl3Hs4rmhqZmzlLMy7eegdWQVaULko)
![5](https://private-user-images.githubusercontent.com/22980908/297438159-8eca89f0-535e-4e17-b075-30a2695ac9ba.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzkzMjAsIm5iZiI6MTcyNDI3OTAyMCwicGF0aCI6Ii8yMjk4MDkwOC8yOTc0MzgxNTktOGVjYTg5ZjAtNTM1ZS00ZTE3LWIwNzUtMzBhMjY5NWFjOWJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDIyMjM0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1ZmJlOTJhOTE1MmVjZjg2M2YwY2RhZGFmYTU2NjM2YTg3OWUxYWZkNzgyNWYzMTI3YmNiZDE4YTkwNmFiMzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.w5p2die-hVLxClS_2SUDrBZv8QXrBYhWaMwfXf5MHhU)
![6](https://private-user-images.githubusercontent.com/22980908/297933904-dbc59757-c85b-474a-8858-0210db53b74e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29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19pZD0wIn0.msuF0pSHeS7nhAzEL8DDXOLhYdhOhyqjzSfgubAi-yc)
![9](https://private-user-images.githubusercontent.com/22980908/297438333-b20d8171-df46-4297-b868-980cbe3b5887.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzkzMjAsIm5iZiI6MTcyNDI3OTAyMCwicGF0aCI6Ii8yMjk4MDkwOC8yOTc0MzgzMzMtYjIwZDgxNzEtZGY0Ni00Mjk3LWI4NjgtOTgwY2JlM2I1ODg3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDIyMjM0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhNDVmZjM1Yjk5OTY5ODA1MzMwZjU2NGI2OWEwMTljNTdjMWVjMDA4OWVlOTRhYWVlYTJkZTMxMDM1ZWFkZDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Cj-vBijnE1MzWtvwqOAb80TNn4WqBrSq1FMMhS0DPgI)
![10](https://private-user-images.githubusercontent.com/22980908/307490777-80a1bfed-27e5-4811-a6e9-ae2d1723a9eb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzkzMjAsIm5iZiI6MTcyNDI3OTAyMCwicGF0aC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