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
loadTheme
()
apps/reimagine/src/context/ThemeContext.tsx:106
↓ 1 callers
Function
loadTinybirdAdminToken
()
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-enrich.ts:47
↓ 1 callers
Function
loadTinybirdHost
()
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-enrich.ts:64
↓ 1 callers
Function
loadVendors
()
apps/operation/finance/lib/io.mjs:50
↓ 1 callers
Function
load_config_json
Load config.json file.
apps/polly/src/config.py:20
↓ 1 callers
Function
load_gists_as_changelog
Read gists for a date and format as a changelog for the highlights prompt. Filters to user-facing, publishable gists only. Returns (changelog
social/scripts/generate_daily.py:58
↓ 1 callers
Function
load_models_md
Return the existing changelog body, or "" if the file genuinely doesn't exist yet (404). Any other failure is fatal — silently returning "" on a
social/scripts/generate_models_news.py:252
↓ 1 callers
Function
load_snapshot_from_news
Load a known-existing snapshot. Raises MissingPriorSnapshotError if the fetch fails — the caller has already confirmed this date exists via the
social/scripts/generate_models_news.py:230
↓ 1 callers
Method
lock_issue
Lock or unlock an issue.
apps/polly/src/services/github.py:840
↓ 1 callers
Function
logGptImagePrompt
( prompt: string, safeParams: ImageParams, userInfo: object = {}, contentSafetyResults: object
gen.pollinations.ai/src/image/utils/gptImageLogger.ts:7
↓ 1 callers
Function
lookup_accounts
Resolve github_ids to node_ids via REST GET /user/:id. Returns list of {github_id, node_id, status} dicts. status is 'ok', 'deleted', or 'una
enter.pollinations.ai/src/tier-progression/shared/github_profile.py:104
↓ 1 callers
Function
lookup_newest_app
Read apps/APPS.md and return the newest app's name and URL. APPS.md is sorted newest-first, so the first data row is the newest app. Returns
social/scripts/generate_realtime.py:88
↓ 1 callers
Function
lw
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
ly
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
main
()
social/scripts/publish_models_news.py:354
↓ 1 callers
Function
main
()
social/scripts/publish_realtime.py:90
↓ 1 callers
Function
main
()
social/scripts/publish_daily.py:73
↓ 1 callers
Function
main
()
social/scripts/generate_weekly.py:462
↓ 1 callers
Function
main
()
social/scripts/generate_daily.py:435
↓ 1 callers
Function
main
()
social/scripts/generate_models_news.py:445
↓ 1 callers
Function
main
()
social/scripts/generate_realtime.py:233
↓ 1 callers
Function
main
()
social/scripts/publish_weekly.py:192
↓ 1 callers
Function
main
()
apps/model-monitor/monitor.mjs:400
↓ 1 callers
Function
main
()
apps/operation/finance/bin/rebuild-sheet.mjs:116
↓ 1 callers
Function
main
()
apps/operation/finance/bin/add-month.mjs:10
↓ 1 callers
Function
main
()
apps/operation/finance/bin/update-live.mjs:78
↓ 1 callers
Function
main
* Main CLI function
apps/discord-bot-family/src-functional/cli.ts:114
↓ 1 callers
Function
main
()
apps/micro/examples/basic-usage.js:77
↓ 1 callers
Function
main
()
apps/polly/main.py:11
↓ 1 callers
Function
main
()
gen.pollinations.ai/scripts/validate-apidocs.ts:172
↓ 1 callers
Function
main
()
gen.pollinations.ai/scripts/generate-apidocs.ts:1057
↓ 1 callers
Function
main
()
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-scan.ts:538
↓ 1 callers
Function
main
()
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-enrich.ts:160
↓ 1 callers
Function
main
()
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-review.ts:58
↓ 1 callers
Function
main
()
enter.pollinations.ai/src/tier-progression/flows/spore_to_seed.py:105
↓ 1 callers
Function
main
()
pollinations.ai/scripts/generate-icons.mjs:107
↓ 1 callers
Function
main
()
pollinations.ai/scripts/generate-og-image.mjs:48
↓ 1 callers
Function
makeKv
()
gen.pollinations.ai/test/image/fluxFallback.test.ts:13
↓ 1 callers
Function
makeKv
()
gen.pollinations.ai/test/image/availableServers.test.ts:12
↓ 1 callers
Function
manifestJson
(cfg, brandColor, contrastColor)
tools/icons/src/cli.js:117
↓ 1 callers
Function
manifestResponse
()
gen.pollinations.ai/src/routes/seo.ts:145
↓ 1 callers
Function
mapAzureGPTImageUsage
( usage: AzureGPTImageUsage | undefined, separateCompletionTextTokens: boolean, )
gen.pollinations.ai/src/image/createAndReturnImages.ts:94
↓ 1 callers
Function
mapOutputFormat
(format: string)
gen.pollinations.ai/src/routes/audio.ts:168
↓ 1 callers
Function
mapToString
(value: unknown)
gen.pollinations.ai/src/routes/proxy.ts:1110
↓ 1 callers
Function
mapToggleStatusToSwitchStatus
( status: ToggleStatus, issue: AutoTopUpIssue | null, )
enter.pollinations.ai/frontend/src/components/pollen/auto-top-up-panel.tsx:430
↓ 1 callers
Method
mark_ready_for_review
Mark a draft PR as ready for review using GraphQL mutation.
apps/polly/src/services/github_pr.py:742
↓ 1 callers
Function
matchesAccept
(file: File, accept: string | undefined)
packages/ui/src/lib/partition-files.ts:17
↓ 1 callers
Function
mb
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:8
↓ 1 callers
Function
mediaHeaders
( prompt: string, safeParams: Model3dParams, result: Model3dGenerationResult, )
gen.pollinations.ai/src/model3d/handler.ts:105
↓ 1 callers
Function
mediaUrl
(hash: string)
media.pollinations.ai/src/index.ts:57
↓ 1 callers
Function
memoryStorage
()
packages/sdk/src/react/PolliProvider.test.tsx:7
↓ 1 callers
Function
mergeSchemas
( generationSchema: OpenApiSchema, enterSchema?: OpenApiSchema, mediaSchema?: OpenApiSchema, )
gen.pollinations.ai/src/routes/docs.ts:779
↓ 1 callers
Function
merge_highlights
Prepend new highlights to existing ones
social/scripts/generate_daily.py:119
↓ 1 callers
Method
merge_pr
Merge a PR.
apps/polly/src/services/github_pr.py:579
↓ 1 callers
Method
migrateConfigForRenderSize
* Migrate configuration to add renderSize field to sections that don't have it
apps/slidepainter/src/utils/clientImageConfig.ts:432
↓ 1 callers
Function
mintAppJwt
Mint a short-lived App JWT (valid ~9 min, iat backdated for clock skew).
shared/github/app-auth.ts:135
↓ 1 callers
Function
mm
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:16
↓ 1 callers
Function
mockAuth
()
media.pollinations.ai/test/integration.test.ts:38
↓ 1 callers
Function
mockXaiFetch
(requests: XaiRequest[])
gen.pollinations.ai/test/image/xaiVideoModel.test.ts:32
↓ 1 callers
Function
modalityBgVar
(key: ModalityKey)
packages/ui/src/modules/gen/themes.ts:34
↓ 1 callers
Function
modelId
(model: RawModel)
pollinations.ai/src/hooks/useModelList.ts:75
↓ 1 callers
Method
models
* Get available models (OpenAI-compatible endpoint) * * @example * ```ts * const models = await pollinations.models(); * ```
packages/sdk/src/client.ts:1267
↓ 1 callers
Function
monthGridDates
(viewMonth: Date)
packages/ui/src/compositions/PeriodPicker.tsx:49
↓ 1 callers
Function
monthLabel
(ym, { isCurrent, isForecast })
apps/operation/finance/lib/layout.mjs:20
↓ 1 callers
Function
ms
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:4
↓ 1 callers
Function
n1
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
na
()
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
needsConversion
* Returns true if the URL is an HTTP(S) URL that needs base64 conversion. * Data URLs and GCS URLs are already supported natively.
gen.pollinations.ai/src/text/transforms/imageUrlToBase64Transform.ts:259
↓ 1 callers
Function
nextFormState
( current: EndpointFormState, key: keyof EndpointFormState, value: string, )
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:165
↓ 1 callers
Function
nf
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:4
↓ 1 callers
Function
normalizeCloseCode
(code?: number)
gen.pollinations.ai/src/routes/realtime.ts:162
↓ 1 callers
Function
normalizeDocTagObjects
(tags: OpenApiSchema[])
gen.pollinations.ai/src/routes/docs.ts:551
↓ 1 callers
Function
normalizeEffort
(value: unknown)
gen.pollinations.ai/src/text/transforms/createGeminiThinkingTransform.ts:21
↓ 1 callers
Function
normalizeEffort
(value: unknown)
gen.pollinations.ai/src/text/transforms/createClaudeThinkingTransform.ts:42
↓ 1 callers
Function
normalizeMessageName
(name: unknown, role: string)
gen.pollinations.ai/src/text/textGenerationUtils.ts:17
↓ 1 callers
Function
normalizeMetadata
( value: unknown, )
shared/auth/api-key.ts:291
↓ 1 callers
Function
normalizeOptions
( options: Record<string, unknown> = {}, defaults: Record<string, unknown> = {}, )
gen.pollinations.ai/src/text/textGenerationUtils.ts:75
↓ 1 callers
Function
normalizePem
(privateKey: string)
shared/github/app-auth.ts:113
↓ 1 callers
Function
normalizePermissions
( value: unknown, )
shared/auth/api-key.ts:273
↓ 1 callers
Function
normalizeReferenceImage
(imageUrl: string)
gen.pollinations.ai/src/image/models/novaReelModel.ts:75
↓ 1 callers
Function
normalizeSnapshotValue
(value: unknown)
enter.pollinations.ai/test/effective-prices.snapshot.test.ts:25
↓ 1 callers
Function
normalizeStripePortalError
(error: unknown)
enter.pollinations.ai/src/routes/stripe.ts:354
↓ 1 callers
Function
numpy_to_pil
(images)
image.pollinations.ai/z-image/utility.py:11
↓ 1 callers
Function
numpy_to_pil
Convert a numpy image or a batch of images to a PIL image.
image.pollinations.ai/nunchaku/safety_checker/censor.py:22
↓ 1 callers
Function
nx
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
o0
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
oa
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
ob
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
observedUsageValue
( usage: CommunityEndpointUsage | undefined, billableUsage: Usage | undefined, field: (typeof COMM
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:143
↓ 1 callers
Function
oc
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
ol
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
onAfterSessionCreate
* Sync github_username on every login. * GitHub usernames are mutable — users can rename their account. * We fetch the current username from GitHub
enter.pollinations.ai/src/auth.ts:139
↓ 1 callers
Function
onAfterUserCreate
* Set initial tier balance in D1 after user creation. * This guarantees new users get their default tier pollen.
enter.pollinations.ai/src/auth.ts:208
↓ 1 callers
Function
openHtml
(html: string)
apps/websim/src/App.tsx:60
↓ 1 callers
Method
openPlayStore
* Open Google Play Store to donwload last version
apps/reimagine/src/services/VersionService.ts:81
↓ 1 callers
Function
optionsWorker
( path: string, headers: Record<string, string>, env = envWithEnter(), )
gen.pollinations.ai/test/index.test.ts:41
↓ 1 callers
Method
output
* Retrieve the image that results from applying the transforms to the * provided input * @param options Options that apply to the output e.g
enter.pollinations.ai/worker-runtime.d.ts:10168
↓ 1 callers
Function
ow
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
ox
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
p2
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
← previous
next →
2,901–3,000 of 5,304, ranked by callers