Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pollinations/pollinations
/ functions
Functions
5,304 in github.com/pollinations/pollinations
⨍
Functions
5,304
◇
Types & classes
961
↳
Endpoints
20
↓ 1 callers
Function
throwTextError
(error: ServiceError, c: TextContext)
gen.pollinations.ai/src/text/handler.ts:286
↓ 1 callers
Function
tierPlugin
* Plugin to initialize tier balance for new users in D1.
enter.pollinations.ai/src/auth.ts:105
↓ 1 callers
Function
toAssemblyAiLanguageCode
(language: string)
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:350
↓ 1 callers
Function
toEndpointPayload
(form: EndpointFormState)
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:153
↓ 1 callers
Function
toFixedPoint
* Format a number to fixed-point string, avoiding scientific notation (e.g. 1.65e-7 → "0.000000165"). * Strips trailing zeros for cleaner output.
shared/registry/model-info.ts:72
↓ 1 callers
Method
toJSON
()
enter.pollinations.ai/worker-runtime.d.ts:2013
↓ 1 callers
Function
toNdjson
Convert D1 result rows to NDJSON string with synced_at timestamp.
enter.pollinations.ai/src/services/d1-tinybird-sync.ts:125
↓ 1 callers
Function
toNormalizedDiarizedSegments
( utterances: AssemblyAiUtterance[] | null | undefined, )
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:407
↓ 1 callers
Function
toNormalizedWords
( words: AssemblyAiWord[] | null | undefined, )
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:395
↓ 1 callers
Function
toOpenAiDiarizedSegments
(segments: NormalizedDiarizedSegment[])
gen.pollinations.ai/src/routes/transcription-response.ts:34
↓ 1 callers
Function
toSubtitles
(segments: WhisperSegment[], kind: "srt" | "vtt")
gen.pollinations.ai/src/routes/audio.ts:2352
↓ 1 callers
Function
toTinybirdErrorEvent
( envelope: ServerErrorEnvelope, )
shared/error.ts:465
↓ 1 callers
Function
toggleCategory
(categoryModels: ModelCategoryModel[])
enter.pollinations.ai/frontend/src/components/keys/account-permissions-input.tsx:139
↓ 1 callers
Method
toggleFavorite
(chainId: string, versionId: string)
apps/reimagine/src/services/TransformationService.ts:183
↓ 1 callers
Function
toggleItem
(itemId: string)
packages/ui/src/compositions/MultiSelect.tsx:45
↓ 1 callers
Function
toggleModel
(modelId: string)
enter.pollinations.ai/frontend/src/components/keys/account-permissions-input.tsx:123
↓ 1 callers
Function
toggleQuestion
(index: number)
enter.pollinations.ai/frontend/src/components/news-faq/faq.tsx:70
↓ 1 callers
Method
tool
Add a tool result message
packages/sdk/src/extras.ts:204
↓ 1 callers
Function
tooltipContent
()
enter.pollinations.ai/frontend/src/components/keys/models-badge.tsx:11
↓ 1 callers
Function
totalDeveloperEarnings
( rows: DeveloperEarningsRow[], )
enter.pollinations.ai/src/routes/account.ts:619
↓ 1 callers
Function
trackRequest
( modelInfo: ModelVariables["model"], request: HonoRequest, )
gen.pollinations.ai/src/middleware/track.ts:393
↓ 1 callers
Function
trackResponse
( eventType: EventType, requestTracking: RequestTrackingData, response: Response, )
gen.pollinations.ai/src/middleware/track.ts:443
↓ 1 callers
Function
transform
(chunk, controller)
gen.pollinations.ai/src/text/genericOpenAIClient.ts:51
↓ 1 callers
Function
transformEnterSchema
(schema: OpenApiSchema)
gen.pollinations.ai/src/routes/docs.ts:642
↓ 1 callers
Function
transformGenerationSchema
(schema: OpenApiSchema)
gen.pollinations.ai/src/routes/docs.ts:576
↓ 1 callers
Method
transformImages
(params: TransformationParams)
apps/reimagine/src/services/PollinationsService.ts:330
↓ 1 callers
Function
triggerAutoTopUp
( env: CloudflareBindings, userId: string, log: ReturnType<typeof getLogger>, )
gen.pollinations.ai/src/middleware/track.ts:358
↓ 1 callers
Function
trimFixed
(value: number, decimals: number)
enter.pollinations.ai/frontend/src/components/activity/format-activity-pollen.ts:6
↓ 1 callers
Function
trimTrailingSlashes
(value: string)
packages/sdk/src/models.ts:153
↓ 1 callers
Function
truncateLabel
(label: string, maxLen = 28)
enter.pollinations.ai/frontend/src/components/activity/chart.tsx:367
↓ 1 callers
Function
truncate_long_decimals
(text: str)
apps/polly/src/services/media_handlers.py:647
↓ 1 callers
Function
tv
()
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
tw
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
tx
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
ua
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
ub
(e)
apps/operation/quest-dashboard/assets/bundle.js:8
↓ 1 callers
Method
unassign_issue
Remove assignees from an issue.
apps/polly/src/services/github.py:693
↓ 1 callers
Method
unresolve_thread
Unresolve a review thread using GraphQL.
apps/polly/src/services/github_pr.py:1063
↓ 1 callers
Function
update
()
enter.pollinations.ai/frontend/src/components/activity/chart.tsx:61
↓ 1 callers
Function
update
(index: number, value: string)
enter.pollinations.ai/frontend/src/components/keys/publishable-key-settings.tsx:26
↓ 1 callers
Function
updateAuthUI
({ skipModelPick = false } = {})
apps/catgpt/script.js:485
↓ 1 callers
Function
updateAutoTopUpSettings
( env: CloudflareBindings, userId: string, input: AutoTopUpInput, )
enter.pollinations.ai/src/utils/stripe-billing.ts:319
↓ 1 callers
Method
updateBannedImagesSet
* set BannedId in memory
apps/reimagine/src/services/BannedImagesService.ts:83
↓ 1 callers
Function
updateD1Tier
* Update tier directly in D1 database. * Does NOT set tier_balance — the cron refill handles that (hourly for all tiers).
enter.pollinations.ai/src/tier-progression/shared/tier-update-user.ts:100
↓ 1 callers
Function
updateKeyMetadata
* Update metadata on an API key row, merging with existing metadata.
enter.pollinations.ai/src/routes/api-keys.ts:94
↓ 1 callers
Method
updatePortalContainers
()
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Method
updateRateLimit
()
apps/reimagine/src/services/PollinationsService.ts:183
↓ 1 callers
Method
update_branch
Update a PR branch with the latest from base branch.
apps/polly/src/services/github_pr.py:778
↓ 1 callers
Method
update_issue_state
Update the tracked state for all subscriptions of an issue.
apps/polly/src/services/subscriptions.py:201
↓ 1 callers
Function
update_readme_local
Read highlights.md and README.md from disk, update README in place. Returns True if README was modified, False otherwise.
social/scripts/update_readme.py:50
↓ 1 callers
Function
update_readme_news_section
Update the '## 🆕 Latest News' section in README with new entries
social/scripts/update_readme.py:25
↓ 1 callers
Function
uploadAssemblyAiFile
( file: File, apiKey: string, )
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:162
↓ 1 callers
Function
uploadReferenceImages
( client: Pollinations, files: File[], )
apps/playground/src/Playground.tsx:289
↓ 1 callers
Function
uploadToPollinations
(file)
apps/virtual-makeup/src/App.jsx:120
↓ 1 callers
Function
uploadToPollinationsMedia
(file: File)
apps/product-packaging-designer/src/App.tsx:239
↓ 1 callers
Function
upscale_with_span
Upscale image using SPAN 2x model.
image.pollinations.ai/z-image/server.py:176
↓ 1 callers
Function
upsertCname
(zoneId, headers, name, target)
apps/_scripts/deploy-app.js:222
↓ 1 callers
Function
upstreamErrorResponse
(upstream)
apps/websim/worker.js:322
↓ 1 callers
Function
usageFromEvent
(event: BillingEvent)
enter.pollinations.ai/test/helpers/billing-assertions.ts:41
↓ 1 callers
Function
usageMinDate
()
enter.pollinations.ai/src/routes/account.ts:233
↓ 1 callers
Function
useAccountBalance
(options: { enabled?: boolean } = {})
packages/sdk/src/react/hooks.ts:251
↓ 1 callers
Function
useAccountKeyUsage
( options: UseAccountKeyUsageOptions = {}, )
packages/sdk/src/react/hooks.ts:277
↓ 1 callers
Function
useAppView
()
apps/react/src/App.tsx:56
↓ 1 callers
Function
useApps
(filePath: string)
pollinations.ai/src/hooks/useApps.ts:136
↓ 1 callers
Function
useAuth
()
apps/slidepainter/src/hooks/useAuth.ts:33
↓ 1 callers
Function
useAuth
()
apps/ai-dungeon-master/src/hooks/useAuth.ts:23
↓ 1 callers
Function
useAuthActions
()
pollinations.ai/src/hooks/useAuth.tsx:216
↓ 1 callers
Function
useAuthProfile
()
pollinations.ai/src/hooks/useAuth.tsx:208
↓ 1 callers
Function
useAutonomousConversation
( gameState: GameState, messages: Message[], addMessage: (message: Message) => void, )
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:186
↓ 1 callers
Function
useBYOP
()
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:66
↓ 1 callers
Function
useChat
()
apps/chat/src/hooks/useChat.js:10
↓ 1 callers
Function
useContribCount
()
apps/gsoc/src/api/githubContribCount.ts:3
↓ 1 callers
Function
useDashboardShellBodyClass
()
enter.pollinations.ai/frontend/src/components/layout/dashboard-shell.tsx:341
↓ 1 callers
Function
useDiaryData
()
pollinations.ai/src/hooks/useDiaryData.ts:449
↓ 1 callers
Function
useEarningsData
( filters: EarningsFilterState, )
enter.pollinations.ai/frontend/src/components/activity/use-earnings-data.ts:85
↓ 1 callers
Function
useEasterEgg
()
apps/gsoc/src/hooks/useEasterEgg.js:3
↓ 1 callers
Function
useFooterVisibility
(threshold = 100)
pollinations.ai/src/hooks/useFooterVisibility.ts:3
↓ 1 callers
Function
useGameState
(messages: Message[])
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:150
↓ 1 callers
Function
useGitHubStars
()
apps/gsoc/src/api/githubStars.ts:3
↓ 1 callers
Function
useGuideMessages
( gameState: GameState, messages: Message[], addMessage: (message: Message) => void, )
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:155
↓ 1 callers
Function
useHeaderVisibility
(threshold = 10)
pollinations.ai/src/hooks/useHeaderVisibility.ts:3
↓ 1 callers
Function
useHighlights
()
pollinations.ai/src/hooks/useHighlights.ts:45
↓ 1 callers
Function
useInput
(isLoading: boolean)
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:181
↓ 1 callers
Function
useMessageHandlers
( gameState: GameState, messages: Message[], addMessage: (message: Message) => void, )
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:216
↓ 1 callers
Function
useMessageScroll
(messages: Message[])
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:172
↓ 1 callers
Function
useMessages
()
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:18
↓ 1 callers
Function
useModelCatalog
( options: { baseUrl?: string; enabled?: boolean } = {}, )
packages/sdk/src/react/hooks.ts:192
↓ 1 callers
Function
useModelList
(apiKey: string | null)
pollinations.ai/src/hooks/useModelList.ts:208
↓ 1 callers
Function
useModelMonitor
(aggregationWindow = "60m")
apps/model-monitor/src/hooks/useModelMonitor.js:58
↓ 1 callers
Function
useModelSelector
()
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:159
↓ 1 callers
Function
useNews
(filePath: string)
pollinations.ai/src/hooks/useNews.ts:22
↓ 1 callers
Function
usePlaygroundCatalog
(apiKey: string | null)
apps/playground/src/Playground.tsx:72
↓ 1 callers
Function
usePollenImagePool
(options?: UsePollenImagePoolOptions)
apps/slidepainter/src/hooks/usePollenImagePool.ts:29
↓ 1 callers
Function
useSpeech
()
apps/chat/src/hooks/useSpeech.js:3
↓ 1 callers
Function
useTopContributors
()
apps/gsoc/src/api/githubContri.ts:11
↓ 1 callers
Function
useTranslateAndPrettify
( items: T[], field: K, nameField?: keyof T, emojiField?: keyof T, )
pollinations.ai/src/hooks/useTranslateAndPrettify.ts:168
↓ 1 callers
Function
useTutorial
(isOpen, onClose, customSteps = null)
apps/chat/src/hooks/useTutorial.js:75
↓ 1 callers
Function
useTypewriter
( content, isStreaming, baseSpeed = 10, onComplete, )
apps/chat/src/hooks/useTypewriter.js:3
↓ 1 callers
Function
useUsageData
(filters: FilterState)
enter.pollinations.ai/frontend/src/components/activity/use-usage-data.ts:71
↓ 1 callers
Method
userInfo
* Get the authenticated user's identity via GET /api/device/userinfo. * Uses the API key on this client instance. * * @example * `
packages/sdk/src/client.ts:1590
← previous
next →
3,401–3,500 of 5,304, ranked by callers