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
↓ 2 callers
Function
handleFileUpload
(file: File)
pollinations.ai/src/ui/components/play/PlayGenerator.tsx:212
↓ 2 callers
Function
handleMessage
(message: string)
apps/sirius-cybernetics-elevator-challenge/src/pages/index.tsx:40
↓ 2 callers
Function
handleModelSelect
(modelId)
apps/chat/src/components/ChatInput.jsx:117
↓ 2 callers
Function
handleToggle
(permissionId: string)
enter.pollinations.ai/frontend/src/components/keys/account-permissions-input.tsx:78
↓ 2 callers
Function
handleUserinfo
(c: AuthedContext)
enter.pollinations.ai/src/routes/device.ts:345
↓ 2 callers
Function
handle_reply_context
Handle when message is a reply to another message. Uses cached ref_msg if provided.
apps/polly/src/bot.py:963
↓ 2 callers
Function
hasActiveSafety
(value: string | null | undefined)
gen.pollinations.ai/src/utils/media-cache.ts:20
↓ 2 callers
Function
hasCodeExecution
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:151
↓ 2 callers
Function
hasObservedPriceField
( usage: CommunityEndpointUsage | undefined, field: (typeof COMMUNITY_ENDPOINT_PRICE_FIELDS)[number],
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:134
↓ 2 callers
Function
hasPaidBalance
(c: any)
gen.pollinations.ai/src/routes/proxy.ts:218
↓ 2 callers
Function
hasPositiveUsage
(usage: Usage)
gen.pollinations.ai/src/routes/realtime.ts:214
↓ 2 callers
Function
hasReasoning
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:145
↓ 2 callers
Function
hasSearch
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:148
↓ 2 callers
Function
hashIp
( ip: string | undefined, salt: string, )
shared/client-ip.ts:31
↓ 2 callers
Function
hc
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callers
Function
headersFor
(token)
apps/_scripts/deploy-app.js:49
↓ 2 callers
Function
hexToRgb
(hex)
tools/icons/src/render.js:10
↓ 2 callers
Function
hexToRgba
(hex)
pollinations.ai/scripts/generate-icons.mjs:66
↓ 2 callers
Function
hl
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callers
Function
id
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callers
Function
im
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 2 callers
Method
image
* 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 callers
Function
imageResponseBody
* 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 callers
Method
initialize
* Initialize the service et load list images banned (once)
apps/reimagine/src/services/BannedImagesService.ts:24
↓ 2 callers
Method
initialize
Initialize database connection and create tables.
apps/polly/src/services/subscriptions.py:27
↓ 2 callers
Function
inputOf
(req: ReplicateRequest)
gen.pollinations.ai/test/image/ideogramModel.test.ts:64
↓ 2 callers
Function
insertApiKey
Insert an API key directly into D1, returning the plaintext key.
enter.pollinations.ai/test/device-auth.test.ts:29
↓ 2 callers
Function
invalidSafeTokens
(value: SafeValue)
shared/schemas/safety.ts:39
↓ 2 callers
Function
isAlpha
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:188
↓ 2 callers
Function
isAppKey
(apiKey: ApiKey)
enter.pollinations.ai/frontend/src/components/keys/api-key-list.tsx:33
↓ 2 callers
Function
isAssetPath
(pathname)
apps/websim/worker.js:126
↓ 2 callers
Function
isAuthorizedRegisterWrite
( c: ImageContext, body: Record<string, unknown>, )
gen.pollinations.ai/src/image/handler.ts:446
↓ 2 callers
Function
isDashboardPage
(page: string)
enter.pollinations.ai/frontend/src/components/layout/dashboard-theme.ts:31
↓ 2 callers
Function
isLoopbackHostname
(hostname: string)
shared/auth/redirect-uri.ts:58
↓ 2 callers
Function
isMeaningfulExample
(ex: unknown)
gen.pollinations.ai/scripts/generate-apidocs.ts:353
↓ 2 callers
Function
isNewModel
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:173
↓ 2 callers
Function
isPaidOnly
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:182
↓ 2 callers
Function
isPeriodSelectable
( selection: PeriodSelection, minDate = new Date(0), maxDate = startOfUtcDay(), )
packages/ui/src/lib/period.ts:136
↓ 2 callers
Function
isPollenPackKey
(value: string)
shared/pollen-packs.ts:55
↓ 2 callers
Function
isPreviewableImage
(file: File)
packages/ui/src/compositions/FileUpload.tsx:28
↓ 2 callers
Function
isPublishableKey
(apiKey: ApiKey)
enter.pollinations.ai/frontend/src/components/keys/edit-api-key-dialog.tsx:47
↓ 2 callers
Function
isPublishableKey
(apiKey: ApiKey)
enter.pollinations.ai/frontend/src/components/keys/api-key-list.tsx:29
↓ 2 callers
Function
isValidTier
(tier: string)
shared/tier-config.ts:25
↓ 2 callers
Function
isValidTier
(t: string | null)
enter.pollinations.ai/src/tier-progression/shared/tier-update-user.ts:158
↓ 2 callers
Function
isValidType
(type: string)
gen.pollinations.ai/src/image/availableServers.ts:48
↓ 2 callers
Function
isVideoService
(svc: { outputModalities?: readonly string[]; })
shared/registry/image.ts:757
↓ 2 callers
Function
is_admin
Check if a user has any of the configured admin roles.
apps/polly/src/bot.py:48
↓ 2 callers
Function
is_collaborator
Check if a user has any of the configured collaborator roles.
apps/polly/src/bot.py:64
↓ 2 callers
Method
is_expired
(self, timeout_seconds: int = 300)
apps/polly/src/context/session.py:66
↓ 2 callers
Function
is_safety_checker_enabled
()
image.pollinations.ai/z-image/server.py:271
↓ 2 callers
Function
isoDate
(d)
apps/operation/finance/lib/providers/aws.mjs:79
↓ 2 callers
Function
jc
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callers
Function
jf
(t,n)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callers
Function
join_summary_parts
Join non-empty summary sections without repeating the same sentence twice.
social/scripts/common.py:858
↓ 2 callers
Function
jsonResponse
(body: unknown, init: { status?: number } = {})
packages/sdk/src/react/hooks.test.tsx:14
↓ 2 callers
Function
jsonResponse
(body: unknown)
gen.pollinations.ai/test/scribe-transcription.test.ts:10
↓ 2 callers
Function
k0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callers
Function
ka
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callers
Function
kl
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callers
Function
latencyKey
(type: ServerType, hash: string)
gen.pollinations.ai/src/image/availableServers.ts:59
↓ 2 callers
Function
listCommunityEndpointModels
({ baseUrl, bearerToken, }: EndpointAuth)
enter.pollinations.ai/src/services/community-endpoint-openai.ts:80
↓ 2 callers
Function
listQuestCards
( ctx: QuestEvaluationContext, )
enter.pollinations.ai/src/services/quests/index.ts:18
↓ 2 callers
Method
list_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 callers
Method
list_projects
(self, org: str | None = None, limit: int = 20)
apps/polly/src/services/github_graphql.py:604
↓ 2 callers
Function
load
()
pollinations.ai/src/hooks/useDiaryData.ts:459
↓ 2 callers
Method
loadConfig
* Load configuration from Markdown file - always reset on page reload
apps/slidepainter/src/utils/clientImageConfig.ts:43
↓ 2 callers
Function
loadData
()
apps/reimagine/src/screens/ProfileScreen.tsx:133
↓ 2 callers
Function
loadDotenv
(target = process.env)
apps/operation/finance/lib/io.mjs:151
↓ 2 callers
Function
loadJson
(path, fallback)
apps/operation/finance/bin/update-live.mjs:59
↓ 2 callers
Function
loadQuestIssues
(token: string)
enter.pollinations.ai/src/services/quests/groups/github-contributions.ts:194
↓ 2 callers
Function
loadResults
()
apps/model-monitor/monitor.mjs:220
↓ 2 callers
Function
loadRewardForUser
( db: AuthDb, rewardId: string, userId: string, )
shared/billing/rewards.ts:171
↓ 2 callers
Function
loadSharedModelSecrets
(target = process.env)
apps/operation/finance/lib/io.mjs:113
↓ 2 callers
Function
loadUserMemes
()
apps/catgpt/script.js:336
↓ 2 callers
Function
logAxiosError
(context: string, err: any)
apps/opposite-prompt-bot/bot.ts:43
↓ 2 callers
Function
lp
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callers
Function
m0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callers
Function
m1
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callers
Function
makeWan27Config
( resolution: "720p" | "1080p", trackingName: string, )
gen.pollinations.ai/src/image/models/wanVideoModel.ts:159
↓ 2 callers
Function
markAutoTopUpInvoiceFailed
( env: CloudflareBindings, invoice: Stripe.Invoice, reason: string, options: { cleanupInvoice?
enter.pollinations.ai/src/utils/stripe-billing.ts:689
↓ 2 callers
Function
matchesEntry
( incoming: URL, entryUrl: string, exactQuery = false, )
shared/auth/redirect-uri.ts:86
↓ 2 callers
Function
mediaHeaders
( prompt: string, safeParams: ImageParams, result: ImageGenerationResult | VideoGenerationResult,
gen.pollinations.ai/src/image/handler.ts:132
↓ 2 callers
Function
memoizeAsync
( fn: (...args: Args) => Promise<T>, keyFn: (...args: Args) => string, )
pollinations.ai/src/utils.ts:20
↓ 2 callers
Function
mergeComponents
(base: OpenApiSchema, overrides: OpenApiSchema)
gen.pollinations.ai/src/routes/docs.ts:829
↓ 2 callers
Function
mergeContentFilterResults
( results: ContentFilterResult[], )
gen.pollinations.ai/src/content-filter.ts:20
↓ 2 callers
Function
mergeSharedModelSecrets
(data, target = process.env)
apps/operation/finance/lib/io.mjs:93
↓ 2 callers
Function
mergeTags
(primary: OpenApiSchema[], secondary: OpenApiSchema[])
gen.pollinations.ai/src/routes/docs.ts:819
↓ 2 callers
Method
message
(t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 2 callers
Function
mi
(e)
apps/operation/quest-dashboard/assets/bundle.js:27
↓ 2 callers
Function
mint
(accountPermissions?: string[])
enter.pollinations.ai/test/oauth-code.test.ts:491
↓ 2 callers
Function
modalityColorVar
(key: ModalityKey)
packages/ui/src/modules/gen/themes.ts:30
↓ 2 callers
Function
modelBody
(opts: Record<string, unknown>, includeRequired: boolean)
packages/polli-cli/src/commands/my-models.ts:74
↓ 2 callers
Function
modelResolutionError
(message: string)
gen.pollinations.ai/src/text/utils/modelResolver.ts:12
↓ 2 callers
Function
models_news_staged_files
Returns [(local_filename, news_branch_path), ...] for the four artifacts committed atomically per weekly run.
social/scripts/common.py:55
↓ 2 callers
Function
models_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 callers
Method
moveSection
* Move a section in the specified direction
apps/slidepainter/src/utils/clientImageConfig.ts:344
↓ 2 callers
Function
n0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callers
Function
nextClose
(socket: WebSocket)
gen.pollinations.ai/test/realtime.test.ts:49
↓ 2 callers
Function
nextMessage
(socket: WebSocket)
gen.pollinations.ai/test/realtime.test.ts:41
↓ 2 callers
Function
noIndex
Append X-Robots-Tag to prevent search engines from indexing API responses.
gen.pollinations.ai/src/index.ts:49
← previous
next →
1,401–1,500 of 5,304, ranked by callers