MCPcopy Create free account

hub / github.com/pollinations/pollinations / functions

Functions5,304 in github.com/pollinations/pollinations

↓ 2 callersFunctionhandleFileUpload
(file: File)
pollinations.ai/src/ui/components/play/PlayGenerator.tsx:212
↓ 2 callersFunctionhandleMessage
(message: string)
apps/sirius-cybernetics-elevator-challenge/src/pages/index.tsx:40
↓ 2 callersFunctionhandleModelSelect
(modelId)
apps/chat/src/components/ChatInput.jsx:117
↓ 2 callersFunctionhandleToggle
(permissionId: string)
enter.pollinations.ai/frontend/src/components/keys/account-permissions-input.tsx:78
↓ 2 callersFunctionhandleUserinfo
(c: AuthedContext)
enter.pollinations.ai/src/routes/device.ts:345
↓ 2 callersFunctionhandle_reply_context
Handle when message is a reply to another message. Uses cached ref_msg if provided.
apps/polly/src/bot.py:963
↓ 2 callersFunctionhasActiveSafety
(value: string | null | undefined)
gen.pollinations.ai/src/utils/media-cache.ts:20
↓ 2 callersFunctionhasCodeExecution
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:151
↓ 2 callersFunctionhasObservedPriceField
( usage: CommunityEndpointUsage | undefined, field: (typeof COMMUNITY_ENDPOINT_PRICE_FIELDS)[number],
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:134
↓ 2 callersFunctionhasPaidBalance
(c: any)
gen.pollinations.ai/src/routes/proxy.ts:218
↓ 2 callersFunctionhasPositiveUsage
(usage: Usage)
gen.pollinations.ai/src/routes/realtime.ts:214
↓ 2 callersFunctionhasReasoning
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:145
↓ 2 callersFunctionhasSearch
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:148
↓ 2 callersFunctionhashIp
( ip: string | undefined, salt: string, )
shared/client-ip.ts:31
↓ 2 callersFunctionhc
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionheadersFor
(token)
apps/_scripts/deploy-app.js:49
↓ 2 callersFunctionhexToRgb
(hex)
tools/icons/src/render.js:10
↓ 2 callersFunctionhexToRgba
(hex)
pollinations.ai/scripts/generate-icons.mjs:66
↓ 2 callersFunctionhl
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionid
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionim
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 2 callersMethodimage
* Generate an image and return it as binary data. * Automatically retries up to 3 times with exponential backoff on retriable failures. *
packages/sdk/src/client.ts:405
↓ 2 callersFunctionimageResponseBody
* Build the responseBody to thread through UpstreamError so clients see a real * error message instead of `"{}"`. Prefer the upstream provider's raw
gen.pollinations.ai/src/image/handler.ts:226
↓ 2 callersMethodinitialize
* Initialize the service et load list images banned (once)
apps/reimagine/src/services/BannedImagesService.ts:24
↓ 2 callersMethodinitialize
Initialize database connection and create tables.
apps/polly/src/services/subscriptions.py:27
↓ 2 callersFunctioninputOf
(req: ReplicateRequest)
gen.pollinations.ai/test/image/ideogramModel.test.ts:64
↓ 2 callersFunctioninsertApiKey
Insert an API key directly into D1, returning the plaintext key.
enter.pollinations.ai/test/device-auth.test.ts:29
↓ 2 callersFunctioninvalidSafeTokens
(value: SafeValue)
shared/schemas/safety.ts:39
↓ 2 callersFunctionisAlpha
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:188
↓ 2 callersFunctionisAppKey
(apiKey: ApiKey)
enter.pollinations.ai/frontend/src/components/keys/api-key-list.tsx:33
↓ 2 callersFunctionisAssetPath
(pathname)
apps/websim/worker.js:126
↓ 2 callersFunctionisAuthorizedRegisterWrite
( c: ImageContext, body: Record<string, unknown>, )
gen.pollinations.ai/src/image/handler.ts:446
↓ 2 callersFunctionisDashboardPage
(page: string)
enter.pollinations.ai/frontend/src/components/layout/dashboard-theme.ts:31
↓ 2 callersFunctionisLoopbackHostname
(hostname: string)
shared/auth/redirect-uri.ts:58
↓ 2 callersFunctionisMeaningfulExample
(ex: unknown)
gen.pollinations.ai/scripts/generate-apidocs.ts:353
↓ 2 callersFunctionisNewModel
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:173
↓ 2 callersFunctionisPaidOnly
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:182
↓ 2 callersFunctionisPeriodSelectable
( selection: PeriodSelection, minDate = new Date(0), maxDate = startOfUtcDay(), )
packages/ui/src/lib/period.ts:136
↓ 2 callersFunctionisPollenPackKey
(value: string)
shared/pollen-packs.ts:55
↓ 2 callersFunctionisPreviewableImage
(file: File)
packages/ui/src/compositions/FileUpload.tsx:28
↓ 2 callersFunctionisPublishableKey
(apiKey: ApiKey)
enter.pollinations.ai/frontend/src/components/keys/edit-api-key-dialog.tsx:47
↓ 2 callersFunctionisPublishableKey
(apiKey: ApiKey)
enter.pollinations.ai/frontend/src/components/keys/api-key-list.tsx:29
↓ 2 callersFunctionisValidTier
(tier: string)
shared/tier-config.ts:25
↓ 2 callersFunctionisValidTier
(t: string | null)
enter.pollinations.ai/src/tier-progression/shared/tier-update-user.ts:158
↓ 2 callersFunctionisValidType
(type: string)
gen.pollinations.ai/src/image/availableServers.ts:48
↓ 2 callersFunctionisVideoService
(svc: { outputModalities?: readonly string[]; })
shared/registry/image.ts:757
↓ 2 callersFunctionis_admin
Check if a user has any of the configured admin roles.
apps/polly/src/bot.py:48
↓ 2 callersFunctionis_collaborator
Check if a user has any of the configured collaborator roles.
apps/polly/src/bot.py:64
↓ 2 callersMethodis_expired
(self, timeout_seconds: int = 300)
apps/polly/src/context/session.py:66
↓ 2 callersFunctionis_safety_checker_enabled
()
image.pollinations.ai/z-image/server.py:271
↓ 2 callersFunctionisoDate
(d)
apps/operation/finance/lib/providers/aws.mjs:79
↓ 2 callersFunctionjc
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionjf
(t,n)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionjoin_summary_parts
Join non-empty summary sections without repeating the same sentence twice.
social/scripts/common.py:858
↓ 2 callersFunctionjsonResponse
(body: unknown, init: { status?: number } = {})
packages/sdk/src/react/hooks.test.tsx:14
↓ 2 callersFunctionjsonResponse
(body: unknown)
gen.pollinations.ai/test/scribe-transcription.test.ts:10
↓ 2 callersFunctionk0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionka
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionkl
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionlatencyKey
(type: ServerType, hash: string)
gen.pollinations.ai/src/image/availableServers.ts:59
↓ 2 callersFunctionlistCommunityEndpointModels
({ baseUrl, bearerToken, }: EndpointAuth)
enter.pollinations.ai/src/services/community-endpoint-openai.ts:80
↓ 2 callersFunctionlistQuestCards
( ctx: QuestEvaluationContext, )
enter.pollinations.ai/src/services/quests/index.ts:18
↓ 2 callersMethodlist_project_items
( self, project_number: int, status: str | None = None, limit: int = 50, org: str | None = None )
apps/polly/src/services/github_graphql.py:795
↓ 2 callersMethodlist_projects
(self, org: str | None = None, limit: int = 20)
apps/polly/src/services/github_graphql.py:604
↓ 2 callersFunctionload
()
pollinations.ai/src/hooks/useDiaryData.ts:459
↓ 2 callersMethodloadConfig
* Load configuration from Markdown file - always reset on page reload
apps/slidepainter/src/utils/clientImageConfig.ts:43
↓ 2 callersFunctionloadData
()
apps/reimagine/src/screens/ProfileScreen.tsx:133
↓ 2 callersFunctionloadDotenv
(target = process.env)
apps/operation/finance/lib/io.mjs:151
↓ 2 callersFunctionloadJson
(path, fallback)
apps/operation/finance/bin/update-live.mjs:59
↓ 2 callersFunctionloadQuestIssues
(token: string)
enter.pollinations.ai/src/services/quests/groups/github-contributions.ts:194
↓ 2 callersFunctionloadResults
()
apps/model-monitor/monitor.mjs:220
↓ 2 callersFunctionloadRewardForUser
( db: AuthDb, rewardId: string, userId: string, )
shared/billing/rewards.ts:171
↓ 2 callersFunctionloadSharedModelSecrets
(target = process.env)
apps/operation/finance/lib/io.mjs:113
↓ 2 callersFunctionloadUserMemes
()
apps/catgpt/script.js:336
↓ 2 callersFunctionlogAxiosError
(context: string, err: any)
apps/opposite-prompt-bot/bot.ts:43
↓ 2 callersFunctionlp
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionm0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionm1
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionmakeWan27Config
( resolution: "720p" | "1080p", trackingName: string, )
gen.pollinations.ai/src/image/models/wanVideoModel.ts:159
↓ 2 callersFunctionmarkAutoTopUpInvoiceFailed
( env: CloudflareBindings, invoice: Stripe.Invoice, reason: string, options: { cleanupInvoice?
enter.pollinations.ai/src/utils/stripe-billing.ts:689
↓ 2 callersFunctionmatchesEntry
( incoming: URL, entryUrl: string, exactQuery = false, )
shared/auth/redirect-uri.ts:86
↓ 2 callersFunctionmediaHeaders
( prompt: string, safeParams: ImageParams, result: ImageGenerationResult | VideoGenerationResult,
gen.pollinations.ai/src/image/handler.ts:132
↓ 2 callersFunctionmemoizeAsync
( fn: (...args: Args) => Promise<T>, keyFn: (...args: Args) => string, )
pollinations.ai/src/utils.ts:20
↓ 2 callersFunctionmergeComponents
(base: OpenApiSchema, overrides: OpenApiSchema)
gen.pollinations.ai/src/routes/docs.ts:829
↓ 2 callersFunctionmergeContentFilterResults
( results: ContentFilterResult[], )
gen.pollinations.ai/src/content-filter.ts:20
↓ 2 callersFunctionmergeSharedModelSecrets
(data, target = process.env)
apps/operation/finance/lib/io.mjs:93
↓ 2 callersFunctionmergeTags
(primary: OpenApiSchema[], secondary: OpenApiSchema[])
gen.pollinations.ai/src/routes/docs.ts:819
↓ 2 callersMethodmessage
(t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 2 callersFunctionmi
(e)
apps/operation/quest-dashboard/assets/bundle.js:27
↓ 2 callersFunctionmint
(accountPermissions?: string[])
enter.pollinations.ai/test/oauth-code.test.ts:491
↓ 2 callersFunctionmodalityColorVar
(key: ModalityKey)
packages/ui/src/modules/gen/themes.ts:30
↓ 2 callersFunctionmodelBody
(opts: Record<string, unknown>, includeRequired: boolean)
packages/polli-cli/src/commands/my-models.ts:74
↓ 2 callersFunctionmodelResolutionError
(message: string)
gen.pollinations.ai/src/text/utils/modelResolver.ts:12
↓ 2 callersFunctionmodels_news_staged_files
Returns [(local_filename, news_branch_path), ...] for the four artifacts committed atomically per weekly run.
social/scripts/common.py:55
↓ 2 callersFunctionmodels_news_staging_dir
Workspace-local dir holding the artifacts to be committed to the news branch in a single tree commit. Generator writes them all here; publisher
social/scripts/common.py:43
↓ 2 callersMethodmoveSection
* Move a section in the specified direction
apps/slidepainter/src/utils/clientImageConfig.ts:344
↓ 2 callersFunctionn0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionnextClose
(socket: WebSocket)
gen.pollinations.ai/test/realtime.test.ts:49
↓ 2 callersFunctionnextMessage
(socket: WebSocket)
gen.pollinations.ai/test/realtime.test.ts:41
↓ 2 callersFunctionnoIndex
Append X-Robots-Tag to prevent search engines from indexing API responses.
gen.pollinations.ai/src/index.ts:49
← previousnext →1,401–1,500 of 5,304, ranked by callers