Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aigem/aice_ps
/ functions
Functions
144 in github.com/aigem/aice_ps
⨍
Functions
144
◇
Types & classes
16
↓ 13 callers
Function
callImageEditingModel
(parts: any[], action: string)
services/geminiService.ts:187
↓ 9 callers
Function
fileToGenerativePart
(file: File)
services/geminiService.ts:171
↓ 7 callers
Function
runGenerativeTask
(task: () => Promise<string>)
App.tsx:343
↓ 4 callers
Function
handleApiError
(error: any, action: string)
services/geminiService.ts:71
↓ 3 callers
Function
generateAdjustedImage
(imageFile: File, prompt: string)
services/geminiService.ts:295
↓ 3 callers
Function
generateCreativeSuggestions
(imageFile: File, type: 'filter' | 'adjustment' | 'texture')
services/geminiService.ts:357
↓ 3 callers
Function
generateSingleDecade
(decade: string)
components/PastForwardPage.tsx:96
↓ 3 callers
Function
getGoogleAI
()
services/geminiService.ts:42
↓ 2 callers
Function
cardContent
()
components/PolaroidCard.tsx:61
↓ 2 callers
Function
dataURLtoFile
(dataurl: string, filename: string)
App.tsx:29
↓ 2 callers
Function
extractDecade
(prompt: string)
services/geminiService.ts:399
↓ 2 callers
Function
generateEditedImage
(imageFile: File, prompt: string, hotspot: { x: number; y: number })
services/geminiService.ts:259
↓ 2 callers
Function
generateFilteredImage
(imageFile: File, prompt: string)
services/geminiService.ts:265
↓ 2 callers
Function
generateFusedImage
(mainImage: File, sourceImages: File[], prompt: string)
services/geminiService.ts:331
↓ 2 callers
Function
generateTexturedImage
(imageFile: File, prompt: string)
services/geminiService.ts:310
↓ 2 callers
Function
handleFileSelect
(files: FileList | null)
components/FusionPanel.tsx:55
↓ 2 callers
Function
handleMusicPreview
(url: string)
components/BeatSyncPage.tsx:486
↓ 2 callers
Function
handlePageChange
(newPage: number)
components/TemplateLibraryPage.tsx:116
↓ 2 callers
Function
handlePresetClick
(prompt: string)
components/FilterPanel.tsx:36
↓ 2 callers
Function
handlePresetClick
(prompt: string)
components/AdjustmentPanel.tsx:44
↓ 2 callers
Function
handlePresetClick
(prompt: string)
components/TexturePanel.tsx:36
↓ 2 callers
Function
removeBackgroundImage
(imageFile: File)
services/geminiService.ts:325
↓ 2 callers
Function
updateHistory
(newFile: File)
App.tsx:238
↓ 1 callers
Function
createAlbumPage
( generatedImages: Record<string, { url?: string }>, decades: string[] )
lib/albumUtils.ts:22
↓ 1 callers
Function
easeOut
(t: number)
components/BeatSyncPage.tsx:372
↓ 1 callers
Function
fetchImage
()
components/StartScreen.tsx:22
↓ 1 callers
Function
fetchImage
()
components/TemplateLibraryPage.tsx:21
↓ 1 callers
Function
fetchTemplates
()
components/StartScreen.tsx:80
↓ 1 callers
Function
fetchTemplates
()
components/TemplateLibraryPage.tsx:83
↓ 1 callers
Function
generateDecadeImage
(imageDataUrl: string, prompt: string)
services/geminiService.ts:404
↓ 1 callers
Function
generateImageFromText
(prompt: string, aspectRatio: string)
services/geminiService.ts:236
↓ 1 callers
Function
generateStyledImage
(imageFile: File, prompt: string)
services/geminiService.ts:280
↓ 1 callers
Function
generateWithRetry
(file: File, prompt: string, retries = 1)
components/BeatSyncPage.tsx:58
↓ 1 callers
Function
getApiKey
()
services/geminiService.ts:13
↓ 1 callers
Function
getBaseUrl
()
services/geminiService.ts:28
↓ 1 callers
Function
getConstrainedAspectRatio
(ratio: number)
components/PolaroidCard.tsx:107
↓ 1 callers
Function
getCroppedImg
( image: HTMLImageElement, pixelCrop: PixelCrop, fileName: string, )
App.tsx:46
↓ 1 callers
Function
getFallbackPrompt
(decade: string)
services/geminiService.ts:397
↓ 1 callers
Function
handleAspectChange
(aspect: AspectRatio, value: number | undefined)
components/CropPanel.tsx:20
↓ 1 callers
Function
handleFileChange
(files: FileList | null)
components/BeatSyncPage.tsx:137
↓ 1 callers
Function
handleImageUpload
(file: File)
components/PastForwardPage.tsx:46
↓ 1 callers
Function
handleMusicFileChange
(files: FileList | null)
components/BeatSyncPage.tsx:152
↓ 1 callers
Function
loadImage
(src: string)
lib/albumUtils.ts:7
↓ 1 callers
Function
loadImages
()
components/TemplateDisplayPage.tsx:62
↓ 1 callers
Function
processInitialState
()
App.tsx:180
↓ 1 callers
Function
processQueue
()
components/PastForwardPage.tsx:137
↓ 1 callers
Function
processQueue
()
components/BeatSyncPage.tsx:193
↓ 1 callers
Function
rand
(min: number, max: number)
components/BeatSyncPage.tsx:72
↓ 1 callers
Function
rand
(min: number, max: number)
lib/albumUtils.ts:18
↓ 1 callers
Function
resizeImageForApi
(file: File)
services/geminiService.ts:96
Function
ActionButtons
()
App.tsx:462
Function
AdjustmentPanel
({ onApplyAdjustment, isLoading, currentImage, onError, initialPrompt })
components/AdjustmentPanel.tsx:21
Function
App
()
App.tsx:680
Function
BeatSyncPage
()
components/BeatSyncPage.tsx:74
Function
BullseyeIcon
({ className })
components/icons.tsx:58
Function
CheckIcon
({ className })
components/icons.tsx:169
Function
ChevronDownIcon
({ className })
components/icons.tsx:77
Function
ClockIcon
({ className })
components/icons.tsx:119
Function
CogIcon
({ className })
components/icons.tsx:101
Function
CopyIcon
({ className })
components/icons.tsx:163
Function
CropPanel
({ onApplyCrop, onSetAspect, isLoading, isCropping })
components/CropPanel.tsx:17
Function
DownloadIcon
({ className })
components/icons.tsx:33
Function
EditorView
({ onFileSelect, onImageGenerated, initialState, onTemplateLoaded, onTemplateSelect, onShowTemplateLibrary })
App.tsx:129
Function
ErasePanel
({ onRemoveBackground, isLoading })
components/ErasePanel.tsx:14
Function
EyeIcon
({ className })
components/icons.tsx:26
Function
FilmIcon
({ className })
components/icons.tsx:125
Function
FilterPanel
({ onApplyFilter, isLoading, currentImage, onError })
components/FilterPanel.tsx:20
Function
FusionPanel
({ onApplyFusion, isLoading, onError })
components/FusionPanel.tsx:18
Function
GitHubIcon
({ className })
components/icons.tsx:113
Function
Header
({ activeView, onViewChange, onOpenSettings, onOpenHelp })
components/Header.tsx:16
Function
HelpModal
({ isOpen, onClose })
components/HelpModal.tsx:14
Function
ImageLightbox
({ imageUrl, onClose })
components/ImageLightbox.tsx:15
Function
ImagePanel
({ title, imageUrl, isLoading, error })
components/TemplateDisplayPage.tsx:20
Function
ImageUploader
({ id, file, setFile, fileInputRef })
components/FusionPanel.tsx:40
Function
LayersIcon
({ className })
components/icons.tsx:65
Function
MagicWandIcon
({ className })
components/icons.tsx:39
Function
MainContent
()
App.tsx:720
Function
NewFileIcon
({ className })
components/icons.tsx:95
Function
PaintBrushIcon
({ className })
components/icons.tsx:83
Function
PaletteIcon
({ className })
components/icons.tsx:45
Function
PastForwardPage
()
components/PastForwardPage.tsx:33
Function
PauseIcon
({ className })
components/icons.tsx:139
Function
PlayIcon
({ className })
components/icons.tsx:133
Function
PolaroidCard
({ decade, imageState, onRegenerate, targetAspectRatio, dragConstraints, initialPositi
components/PolaroidCard.tsx:27
Function
QuestionMarkCircleIcon
({ className })
components/icons.tsx:145
Function
RedoIcon
({ className })
components/icons.tsx:20
Function
RefreshIcon
({ className })
components/icons.tsx:89
Function
SearchIcon
({ className })
components/icons.tsx:157
Function
SettingsModal
({ isOpen, onClose, onSave })
components/SettingsModal.tsx:15
Function
SparkleIcon
({ className })
components/icons.tsx:71
Function
Spinner
({ className = "h-16 w-16 text-zinc-800" })
components/Spinner.tsx:11
Function
StartScreen
({ onFileSelect, onImageGenerated, onTemplateSelect, onShowTemplateLibrary })
components/StartScreen.tsx:70
Function
SunIcon
({ className })
components/icons.tsx:52
Function
TemplateButton
({ template, onSelect })
components/StartScreen.tsx:17
Function
TemplateCard
({ template, onSelect })
components/TemplateLibraryPage.tsx:16
Function
TemplateDisplayPage
({ template, onBack, onUseInEditor })
components/TemplateDisplayPage.tsx:47
Function
TemplateLibraryIcon
({ className })
components/icons.tsx:151
Function
TemplateLibraryPage
({ onTemplateSelect })
components/TemplateLibraryPage.tsx:75
Function
TexturePanel
({ onApplyTexture, isLoading, currentImage, onError })
components/TexturePanel.tsx:20
Function
UndoIcon
({ className })
components/icons.tsx:14
next →
1–100 of 144, ranked by callers