MCPcopy Create free account

hub / github.com/pollinations/pollinations / functions

Functions5,304 in github.com/pollinations/pollinations

↓ 1 callersFunctionget_week_dates
Return (week_start, week_end, publish_date) as YYYY-MM-DD strings. Coverage stays Sun→Sat, but weekly artifacts are keyed by the Sunday publish da
social/scripts/generate_weekly.py:61
↓ 1 callersFunctionget_weekly_date
Get the Sunday publish date from env vars or current UTC date. If WEEK_START_DATE is provided, weekly artifacts live under start + 7 days. Ot
social/scripts/publish_weekly.py:44
↓ 1 callersFunctiongithubAppCredentialsFromEnv
(env: { GITHUB_APP_ID?: string; GITHUB_APP_PRIVATE_KEY?: string; })
shared/github/app-auth.ts:240
↓ 1 callersFunctiongm
(e)
apps/operation/quest-dashboard/assets/bundle.js:18
↓ 1 callersFunctiongroupByTag
Group operations by tag, then re-key the map to follow TAG_ORDER.
gen.pollinations.ai/scripts/generate-apidocs.ts:1011
↓ 1 callersFunctiongroupPriceBadges
(prices: ModelPriceLine[])
enter.pollinations.ai/frontend/src/components/models/price-badge.tsx:33
↓ 1 callersFunctiongroupScribeUtterances
( words: | { text: string; start: number; end: number;
gen.pollinations.ai/src/routes/audio.ts:445
↓ 1 callersFunctiongroupVendorsByCategory
(vendors)
apps/operation/finance/lib/layout.mjs:57
↓ 1 callersFunctionguessFileExtension
(fieldName: string, mediaType: string)
gen.pollinations.ai/scripts/generate-apidocs.ts:502
↓ 1 callersFunctionguideHtml
(c: Context<Env>, guide: Guide)
gen.pollinations.ai/src/routes/docs.ts:930
↓ 1 callersFunctionguidesIndexHtml
(c: Context<Env>)
gen.pollinations.ai/src/routes/docs.ts:917
↓ 1 callersFunctiongx
(e,t={})
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callersFunctionh0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctionhandle3dPrompt
( c: Model3dContext, prompt: string, )
gen.pollinations.ai/src/model3d/handler.ts:37
↓ 1 callersFunctionhandleAuthRedirect
()
apps/catgpt/script.js:473
↓ 1 callersFunctionhandleCallback
(res, query)
apps/oauth-client-demo/server.js:103
↓ 1 callersFunctionhandleClientReady
* Handle client ready event
apps/discord-bot-family/src-functional/bot-loop.ts:195
↓ 1 callersFunctionhandleCombat
()
apps/ai-dungeon-master/src/App.tsx:864
↓ 1 callersFunctionhandleCorsPreflightRequest
()
apps/websim/worker.js:152
↓ 1 callersFunctionhandleCustomSubmit
()
apps/ai-dungeon-master/src/components/ChoicesSection.tsx:32
↓ 1 callersFunctionhandleDelete
()
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoints.tsx:77
↓ 1 callersFunctionhandleDeleteVersion
(versionId: string)
apps/reimagine/src/screens/TransformationDetailScreen.tsx:198
↓ 1 callersMethodhandleError
* Handle API errors consistently
apps/reimagine/src/services/CivitaiService.ts:86
↓ 1 callersFunctionhandleExpandClick
(index)
apps/gsoc/src/pages/Mentors.jsx:56
↓ 1 callersFunctionhandleFaqClick
(question)
apps/gsoc/src/pages/socBot.jsx:549
↓ 1 callersFunctionhandleFatalError
(error: any)
apps/discord-bot-family/src-functional/errors.ts:70
↓ 1 callersFunctionhandleFetchModels
()
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-dialog.tsx:103
↓ 1 callersFunctionhandleGenerate
(res, session)
apps/oauth-client-demo/server.js:170
↓ 1 callersFunctionhandleGenerateApi
(request)
apps/websim/worker.js:100
↓ 1 callersFunctionhandleHashChange
()
enter.pollinations.ai/frontend/src/components/news-faq/faq.tsx:84
↓ 1 callersFunctionhandleHome
(res, session)
apps/oauth-client-demo/server.js:206
↓ 1 callersFunctionhandleImagePrompt
( c: ImageContext, prompt: string, )
gen.pollinations.ai/src/image/handler.ts:422
↓ 1 callersFunctionhandleImageUpload
(file, notify)
apps/catgpt/ai.js:149
↓ 1 callersFunctionhandleImageUpload
(file)
apps/map-to-isometric/src/App.jsx:23
↓ 1 callersFunctionhandleListRegisteredServers
( c: ImageContext, )
gen.pollinations.ai/src/image/handler.ts:525
↓ 1 callersFunctionhandleLogin
(res)
apps/oauth-client-demo/server.js:79
↓ 1 callersFunctionhandleMessage
(msg: Message, client: Client)
apps/opposite-prompt-bot/bot.ts:90
↓ 1 callersFunctionhandleMessage
(msg: Message, client: Client)
apps/catgpt-bot/bot.ts:108
↓ 1 callersFunctionhandleMessageError
* Handle message processing errors without crashing the bot
apps/discord-bot-family/src-functional/bot-loop.ts:147
↓ 1 callersFunctionhandleModeChange
(newMode)
apps/chat/src/components/ChatInput.jsx:111
↓ 1 callersFunctionhandleNext
()
apps/operation/kpi/src/components/WeekSelector.jsx:11
↓ 1 callersFunctionhandlePrev
()
apps/operation/kpi/src/components/WeekSelector.jsx:7
↓ 1 callersFunctionhandleRequest
(request, env)
apps/websim/worker.js:51
↓ 1 callersFunctionhandleScroll
()
pollinations.ai/src/hooks/useFooterVisibility.ts:7
↓ 1 callersFunctionhandleSend
()
apps/chat/src/components/ChatInput.jsx:125
↓ 1 callersFunctionhandleSimpleTextLocal
( c: TextContext, prompt: string, model: string, body: Record<string, unknown> = {}, )
gen.pollinations.ai/src/text/handler.ts:386
↓ 1 callersFunctionhandleTest
()
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-dialog.tsx:133
↓ 1 callersFunctionhandleTextContentLocal
( c: TextContext, body: Record<string, unknown>, )
gen.pollinations.ai/src/text/handler.ts:374
↓ 1 callersFunctionhandleToggleFavorite
(versionId: string)
apps/reimagine/src/screens/TransformationDetailScreen.tsx:77
↓ 1 callersFunctionhandleVersionSelect
(versionId: string)
apps/reimagine/src/screens/TransformationDetailScreen.tsx:72
↓ 1 callersFunctionhandle_dm_message
Handle DM messages - only subscription commands are allowed. Supported commands: - subscribe #123 or subscribe to 123 - unsubscribe
apps/polly/src/bot.py:902
↓ 1 callersFunctionhandle_inline_polly_mention
Handle casual "polly" mention - inline, focused, human-like reply. Key differences from @polly: - Has channel history for CONTEXT (like
apps/polly/src/bot.py:1042
↓ 1 callersMethodhandle_issue_comment
Handle issue_comment event - someone commented on an issue/PR.
apps/polly/src/services/webhook_server.py:117
↓ 1 callersMethodhandle_issue_event
Handle issues event - issue opened/edited with @mention.
apps/polly/src/services/webhook_server.py:152
↓ 1 callersMethodhandle_pr_event
Handle pull_request event - PR opened/edited with @mention.
apps/polly/src/services/webhook_server.py:183
↓ 1 callersMethodhandle_pr_review
Handle PR review submission with @mention.
apps/polly/src/services/webhook_server.py:251
↓ 1 callersMethodhandle_pr_review_comment
Handle PR review comment (inline code comment).
apps/polly/src/services/webhook_server.py:216
↓ 1 callersFunctionhandle_thread_message
Handle a message in an existing thread.
apps/polly/src/bot.py:1171
↓ 1 callersFunctionhasApiKeyBudget
( balance: number | null | undefined, )
shared/billing/track-helpers.ts:303
↓ 1 callersFunctionhasJsonContentType
(contentType: string)
gen.pollinations.ai/src/middleware/model.ts:38
↓ 1 callersFunctionhasMergedPr
(token: string, user: QuestUser)
enter.pollinations.ai/src/services/quests/groups/github-contributions.ts:251
↓ 1 callersFunctionhasObservedUsagePath
( usage: CommunityEndpointUsage | undefined, path: string, )
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:119
↓ 1 callersFunctionhasPositivePriceInput
( form: EndpointFormState, field: PriceField, )
enter.pollinations.ai/frontend/src/components/community-endpoints/price-table.tsx:332
↓ 1 callersFunctionhasQuestLabel
(labels: { name: string }[])
enter.pollinations.ai/src/services/quests/groups/github-contributions.ts:164
↓ 1 callersFunctionhasTrustedProxyHeaders
(c: Context)
shared/public-origin.ts:21
↓ 1 callersFunctionhasValidVisibleFormPrices
( form: EndpointFormState, visiblePriceKeys: Set<PriceFieldKey>, )
enter.pollinations.ai/frontend/src/components/community-endpoints/price-table.tsx:340
↓ 1 callersFunctionhashKey
(key)
gen.pollinations.ai/scripts/seed-local-key.mjs:55
↓ 1 callersFunctionhealthIntent
(status)
apps/model-monitor/src/App.jsx:118
↓ 1 callersFunctionhexToRgb
(hex)
apps/chat/src/components/ChartRenderer.jsx:37
↓ 1 callersFunctionhide
()
packages/ui/src/primitives/ScrollArea.tsx:70
↓ 1 callersFunctionhm
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:18
↓ 1 callersFunctionhumanizePricingKey
Humanize a camelCase pricing key, e.g. "promptTextTokens" -> "prompt text tokens".
packages/sdk/src/models.ts:48
↓ 1 callersFunctionhx
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callersFunctioni3
(e,t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersMethodimageGenerate
* Generate image(s) via the OpenAI-compatible POST endpoint. * Supports multi-image requests (`n > 1`) and both `url` / `b64_json` * respons
packages/sdk/src/client.ts:537
↓ 1 callersMethodimageModels
* Get available image models * * @example * ```ts * const models = await pollinations.imageModels(); * console.log(models.map
packages/sdk/src/client.ts:1245
↓ 1 callersMethodimageUrl
* Generate an image URL from a text prompt. * Hits the API first to authenticate, then returns a keyless URL that can be shared. * * @e
packages/sdk/src/client.ts:387
↓ 1 callersFunctionimageUrlToBase64Transform
( messages, options, )
gen.pollinations.ai/src/text/transforms/imageUrlToBase64Transform.ts:321
↓ 1 callersFunctionimageUrlToInlineData
(url: string)
gen.pollinations.ai/src/embeddings/input.ts:73
↓ 1 callersFunctionimportSigningKey
(privateKey: string)
shared/github/app-auth.ts:121
↓ 1 callersFunctionindexPoolsByVendor
* Build a lookup: canonical vendor name → pool entry. * Used by the compute-section renderer to decide whether a vendor gets the * 3-row (balance/cr
apps/operation/finance/lib/layout.mjs:80
↓ 1 callersFunctioninit_github_app
(app_id: str, private_key: str, installation_id: str)
apps/polly/src/services/github_auth.py:74
↓ 1 callersFunctioninit_notifier
Initialize the notifier with the bot instance.
apps/polly/src/services/subscriptions.py:479
↓ 1 callersFunctioninitializeModels
()
apps/chat/src/utils/api.js:181
↓ 1 callersMethodinitializeProvider
()
apps/micro/src/services/emailService.ts:13
↓ 1 callersFunctioninitializeServices
()
apps/reimagine/App.tsx:14
↓ 1 callersFunctioninitials
(name: string)
packages/ui/src/modules/auth/UserAvatar.tsx:15
↓ 1 callersFunctioninjectApiKey
(apiKey)
apps/openclaw/src/script.js:52
↓ 1 callersFunctioninjectDocsSocialHead
(html: string, c: Context<Env>)
gen.pollinations.ai/src/routes/seo.ts:117
↓ 1 callersFunctioninjectSamples
(schema: OpenApiSchema)
gen.pollinations.ai/src/routes/docs.ts:737
↓ 1 callersMethodinput
* Creates a media transformer from an input stream. * @param media - The input media bytes * @returns A MediaTransformer instance for applyi
enter.pollinations.ai/worker-runtime.d.ts:10202
↓ 1 callersFunctioninputToGeminiParts
( input: string | ContentPart | ContentPart[], )
gen.pollinations.ai/src/embeddings/input.ts:84
↓ 1 callersFunctionip
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callersFunctionisAllowedRedirectUrl
(url: URL)
shared/auth/redirect-uri.ts:53
↓ 1 callersFunctionisApiDocsPath
(path: string)
enter.pollinations.ai/src/index.ts:19
↓ 1 callersFunctionisAppKey
(apiKey: ApiKey)
enter.pollinations.ai/frontend/src/components/keys/edit-api-key-dialog.tsx:51
↓ 1 callersFunctionisAudioTranscriptionModel
( model: ModelCatalogItem | undefined, )
apps/playground/src/Playground.tsx:137
↓ 1 callersFunctionisAutoTopUpConfigured
( db: DrizzleD1Database, userId: string, )
gen.pollinations.ai/src/middleware/track.ts:338
↓ 1 callersFunctionisBillingPortalConfigurationCurrent
( configuration: Stripe.BillingPortal.Configuration, paymentMethodConfiguration: string | undefined, )
enter.pollinations.ai/src/utils/stripe-billing.ts:293
↓ 1 callersFunctionisBlockedHostname
(hostname: string)
shared/community-endpoints.ts:204
← previousnext →2,701–2,800 of 5,304, ranked by callers