Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
AI - 故事與圖片產生器
使用 AI 故事與圖像生成器工具,產生引人入勝的故事!
用途
📦 HTML、CSS、JavaScript 和 GEMINI API:建立互動式故事和圖片產生器。
📝 故事產生:使用 Google 的生成式 AI,根據使用者輸入內容產生故事。
🖼️ 圖片產生:從 Unsplash API 擷取相符的圖片。
🖊️ 使用者互動:輸入故事文字,並透過按鈕產生相片。
⏳ 載入指標:在產生故事和擷取相片時顯示旋轉圖示。
⚠️ 錯誤處理:顯示錯誤訊息和記錄錯誤,以便進行偵錯。
🖥️ 內容顯示:以簡潔的版面配置算繪產生的內容和相片。
📱 響應式設計:將 UI 元素調整為各種螢幕尺寸。
🎨 動態樣式變更:在聚焦/模糊時調整文字區域的邊框和高度。
✨ 新式 JavaScript:使用 async/await,以便編寫簡潔、可維護且模組化的程式碼。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],[],[],[]]