MCPcopy Create free account

hub / github.com/pollinations/pollinations / functions

Functions5,304 in github.com/pollinations/pollinations

↓ 1 callersFunctionthrowTextError
(error: ServiceError, c: TextContext)
gen.pollinations.ai/src/text/handler.ts:286
↓ 1 callersFunctiontierPlugin
* Plugin to initialize tier balance for new users in D1.
enter.pollinations.ai/src/auth.ts:105
↓ 1 callersFunctiontoAssemblyAiLanguageCode
(language: string)
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:350
↓ 1 callersFunctiontoEndpointPayload
(form: EndpointFormState)
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:153
↓ 1 callersFunctiontoFixedPoint
* 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 callersMethodtoJSON
()
enter.pollinations.ai/worker-runtime.d.ts:2013
↓ 1 callersFunctiontoNdjson
Convert D1 result rows to NDJSON string with synced_at timestamp.
enter.pollinations.ai/src/services/d1-tinybird-sync.ts:125
↓ 1 callersFunctiontoNormalizedDiarizedSegments
( utterances: AssemblyAiUtterance[] | null | undefined, )
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:407
↓ 1 callersFunctiontoNormalizedWords
( words: AssemblyAiWord[] | null | undefined, )
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:395
↓ 1 callersFunctiontoOpenAiDiarizedSegments
(segments: NormalizedDiarizedSegment[])
gen.pollinations.ai/src/routes/transcription-response.ts:34
↓ 1 callersFunctiontoSubtitles
(segments: WhisperSegment[], kind: "srt" | "vtt")
gen.pollinations.ai/src/routes/audio.ts:2352
↓ 1 callersFunctiontoTinybirdErrorEvent
( envelope: ServerErrorEnvelope, )
shared/error.ts:465
↓ 1 callersFunctiontoggleCategory
(categoryModels: ModelCategoryModel[])
enter.pollinations.ai/frontend/src/components/keys/account-permissions-input.tsx:139
↓ 1 callersMethodtoggleFavorite
(chainId: string, versionId: string)
apps/reimagine/src/services/TransformationService.ts:183
↓ 1 callersFunctiontoggleItem
(itemId: string)
packages/ui/src/compositions/MultiSelect.tsx:45
↓ 1 callersFunctiontoggleModel
(modelId: string)
enter.pollinations.ai/frontend/src/components/keys/account-permissions-input.tsx:123
↓ 1 callersFunctiontoggleQuestion
(index: number)
enter.pollinations.ai/frontend/src/components/news-faq/faq.tsx:70
↓ 1 callersMethodtool
Add a tool result message
packages/sdk/src/extras.ts:204
↓ 1 callersFunctiontooltipContent
()
enter.pollinations.ai/frontend/src/components/keys/models-badge.tsx:11
↓ 1 callersFunctiontotalDeveloperEarnings
( rows: DeveloperEarningsRow[], )
enter.pollinations.ai/src/routes/account.ts:619
↓ 1 callersFunctiontrackRequest
( modelInfo: ModelVariables["model"], request: HonoRequest, )
gen.pollinations.ai/src/middleware/track.ts:393
↓ 1 callersFunctiontrackResponse
( eventType: EventType, requestTracking: RequestTrackingData, response: Response, )
gen.pollinations.ai/src/middleware/track.ts:443
↓ 1 callersFunctiontransform
(chunk, controller)
gen.pollinations.ai/src/text/genericOpenAIClient.ts:51
↓ 1 callersFunctiontransformEnterSchema
(schema: OpenApiSchema)
gen.pollinations.ai/src/routes/docs.ts:642
↓ 1 callersFunctiontransformGenerationSchema
(schema: OpenApiSchema)
gen.pollinations.ai/src/routes/docs.ts:576
↓ 1 callersMethodtransformImages
(params: TransformationParams)
apps/reimagine/src/services/PollinationsService.ts:330
↓ 1 callersFunctiontriggerAutoTopUp
( env: CloudflareBindings, userId: string, log: ReturnType<typeof getLogger>, )
gen.pollinations.ai/src/middleware/track.ts:358
↓ 1 callersFunctiontrimFixed
(value: number, decimals: number)
enter.pollinations.ai/frontend/src/components/activity/format-activity-pollen.ts:6
↓ 1 callersFunctiontrimTrailingSlashes
(value: string)
packages/sdk/src/models.ts:153
↓ 1 callersFunctiontruncateLabel
(label: string, maxLen = 28)
enter.pollinations.ai/frontend/src/components/activity/chart.tsx:367
↓ 1 callersFunctiontruncate_long_decimals
(text: str)
apps/polly/src/services/media_handlers.py:647
↓ 1 callersFunctiontv
()
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctiontw
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctiontx
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callersFunctionua
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctionub
(e)
apps/operation/quest-dashboard/assets/bundle.js:8
↓ 1 callersMethodunassign_issue
Remove assignees from an issue.
apps/polly/src/services/github.py:693
↓ 1 callersMethodunresolve_thread
Unresolve a review thread using GraphQL.
apps/polly/src/services/github_pr.py:1063
↓ 1 callersFunctionupdate
()
enter.pollinations.ai/frontend/src/components/activity/chart.tsx:61
↓ 1 callersFunctionupdate
(index: number, value: string)
enter.pollinations.ai/frontend/src/components/keys/publishable-key-settings.tsx:26
↓ 1 callersFunctionupdateAuthUI
({ skipModelPick = false } = {})
apps/catgpt/script.js:485
↓ 1 callersFunctionupdateAutoTopUpSettings
( env: CloudflareBindings, userId: string, input: AutoTopUpInput, )
enter.pollinations.ai/src/utils/stripe-billing.ts:319
↓ 1 callersMethodupdateBannedImagesSet
* set BannedId in memory
apps/reimagine/src/services/BannedImagesService.ts:83
↓ 1 callersFunctionupdateD1Tier
* 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 callersFunctionupdateKeyMetadata
* Update metadata on an API key row, merging with existing metadata.
enter.pollinations.ai/src/routes/api-keys.ts:94
↓ 1 callersMethodupdatePortalContainers
()
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersMethodupdateRateLimit
()
apps/reimagine/src/services/PollinationsService.ts:183
↓ 1 callersMethodupdate_branch
Update a PR branch with the latest from base branch.
apps/polly/src/services/github_pr.py:778
↓ 1 callersMethodupdate_issue_state
Update the tracked state for all subscriptions of an issue.
apps/polly/src/services/subscriptions.py:201
↓ 1 callersFunctionupdate_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 callersFunctionupdate_readme_news_section
Update the '## 🆕 Latest News' section in README with new entries
social/scripts/update_readme.py:25
↓ 1 callersFunctionuploadAssemblyAiFile
( file: File, apiKey: string, )
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:162
↓ 1 callersFunctionuploadReferenceImages
( client: Pollinations, files: File[], )
apps/playground/src/Playground.tsx:289
↓ 1 callersFunctionuploadToPollinations
(file)
apps/virtual-makeup/src/App.jsx:120
↓ 1 callersFunctionuploadToPollinationsMedia
(file: File)
apps/product-packaging-designer/src/App.tsx:239
↓ 1 callersFunctionupscale_with_span
Upscale image using SPAN 2x model.
image.pollinations.ai/z-image/server.py:176
↓ 1 callersFunctionupsertCname
(zoneId, headers, name, target)
apps/_scripts/deploy-app.js:222
↓ 1 callersFunctionupstreamErrorResponse
(upstream)
apps/websim/worker.js:322
↓ 1 callersFunctionusageFromEvent
(event: BillingEvent)
enter.pollinations.ai/test/helpers/billing-assertions.ts:41
↓ 1 callersFunctionusageMinDate
()
enter.pollinations.ai/src/routes/account.ts:233
↓ 1 callersFunctionuseAccountBalance
(options: { enabled?: boolean } = {})
packages/sdk/src/react/hooks.ts:251
↓ 1 callersFunctionuseAccountKeyUsage
( options: UseAccountKeyUsageOptions = {}, )
packages/sdk/src/react/hooks.ts:277
↓ 1 callersFunctionuseAppView
()
apps/react/src/App.tsx:56
↓ 1 callersFunctionuseApps
(filePath: string)
pollinations.ai/src/hooks/useApps.ts:136
↓ 1 callersFunctionuseAuth
()
apps/slidepainter/src/hooks/useAuth.ts:33
↓ 1 callersFunctionuseAuth
()
apps/ai-dungeon-master/src/hooks/useAuth.ts:23
↓ 1 callersFunctionuseAuthActions
()
pollinations.ai/src/hooks/useAuth.tsx:216
↓ 1 callersFunctionuseAuthProfile
()
pollinations.ai/src/hooks/useAuth.tsx:208
↓ 1 callersFunctionuseAutonomousConversation
( gameState: GameState, messages: Message[], addMessage: (message: Message) => void, )
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:186
↓ 1 callersFunctionuseBYOP
()
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:66
↓ 1 callersFunctionuseChat
()
apps/chat/src/hooks/useChat.js:10
↓ 1 callersFunctionuseContribCount
()
apps/gsoc/src/api/githubContribCount.ts:3
↓ 1 callersFunctionuseDashboardShellBodyClass
()
enter.pollinations.ai/frontend/src/components/layout/dashboard-shell.tsx:341
↓ 1 callersFunctionuseDiaryData
()
pollinations.ai/src/hooks/useDiaryData.ts:449
↓ 1 callersFunctionuseEarningsData
( filters: EarningsFilterState, )
enter.pollinations.ai/frontend/src/components/activity/use-earnings-data.ts:85
↓ 1 callersFunctionuseEasterEgg
()
apps/gsoc/src/hooks/useEasterEgg.js:3
↓ 1 callersFunctionuseFooterVisibility
(threshold = 100)
pollinations.ai/src/hooks/useFooterVisibility.ts:3
↓ 1 callersFunctionuseGameState
(messages: Message[])
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:150
↓ 1 callersFunctionuseGitHubStars
()
apps/gsoc/src/api/githubStars.ts:3
↓ 1 callersFunctionuseGuideMessages
( gameState: GameState, messages: Message[], addMessage: (message: Message) => void, )
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:155
↓ 1 callersFunctionuseHeaderVisibility
(threshold = 10)
pollinations.ai/src/hooks/useHeaderVisibility.ts:3
↓ 1 callersFunctionuseHighlights
()
pollinations.ai/src/hooks/useHighlights.ts:45
↓ 1 callersFunctionuseInput
(isLoading: boolean)
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:181
↓ 1 callersFunctionuseMessageHandlers
( gameState: GameState, messages: Message[], addMessage: (message: Message) => void, )
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:216
↓ 1 callersFunctionuseMessageScroll
(messages: Message[])
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:172
↓ 1 callersFunctionuseMessages
()
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:18
↓ 1 callersFunctionuseModelCatalog
( options: { baseUrl?: string; enabled?: boolean } = {}, )
packages/sdk/src/react/hooks.ts:192
↓ 1 callersFunctionuseModelList
(apiKey: string | null)
pollinations.ai/src/hooks/useModelList.ts:208
↓ 1 callersFunctionuseModelMonitor
(aggregationWindow = "60m")
apps/model-monitor/src/hooks/useModelMonitor.js:58
↓ 1 callersFunctionuseModelSelector
()
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:159
↓ 1 callersFunctionuseNews
(filePath: string)
pollinations.ai/src/hooks/useNews.ts:22
↓ 1 callersFunctionusePlaygroundCatalog
(apiKey: string | null)
apps/playground/src/Playground.tsx:72
↓ 1 callersFunctionusePollenImagePool
(options?: UsePollenImagePoolOptions)
apps/slidepainter/src/hooks/usePollenImagePool.ts:29
↓ 1 callersFunctionuseSpeech
()
apps/chat/src/hooks/useSpeech.js:3
↓ 1 callersFunctionuseTopContributors
()
apps/gsoc/src/api/githubContri.ts:11
↓ 1 callersFunctionuseTranslateAndPrettify
( items: T[], field: K, nameField?: keyof T, emojiField?: keyof T, )
pollinations.ai/src/hooks/useTranslateAndPrettify.ts:168
↓ 1 callersFunctionuseTutorial
(isOpen, onClose, customSteps = null)
apps/chat/src/hooks/useTutorial.js:75
↓ 1 callersFunctionuseTypewriter
( content, isStreaming, baseSpeed = 10, onComplete, )
apps/chat/src/hooks/useTypewriter.js:3
↓ 1 callersFunctionuseUsageData
(filters: FilterState)
enter.pollinations.ai/frontend/src/components/activity/use-usage-data.ts:71
↓ 1 callersMethoduserInfo
* 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
← previousnext →3,401–3,500 of 5,304, ranked by callers