Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pollinations/pollinations
/ functions
Functions
5,304 in github.com/pollinations/pollinations
⨍
Functions
5,304
◇
Types & classes
961
↳
Endpoints
20
↓ 4 callers
Function
We
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callers
Function
Wi
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callers
Function
Zr
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callers
Function
Zt
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callers
Method
_call_api_with_tools
Make API call to Pollinations with tool definitions. Includes: - Random seed parameter (0 to int32 max) for each request - 3
apps/polly/src/services/pollinations.py:544
↓ 4 callers
Function
_font_path
Resolve a font under apps/polly/assets/fonts/.
apps/polly/src/services/media_handlers.py:237
↓ 4 callers
Function
_get_collection
()
apps/polly/src/services/embeddings.py:131
↓ 4 callers
Function
_load_variation
Load a variable TTF and apply the wght axis.
apps/polly/src/services/media_handlers.py:242
↓ 4 callers
Function
_model_key
Return a stable identity key for a model, falling back to 'id' for older snapshots that predate the 'name' field.
social/scripts/generate_models_news.py:312
↓ 4 callers
Function
_parse_inline
Split text into (style, content) segments. Style: bold/italic/code/underline.
apps/polly/src/services/media_handlers.py:297
↓ 4 callers
Function
_render_free_form
Hand off to Gemini's code_execution for arbitrary visualizations.
apps/polly/src/services/charts.py:110
↓ 4 callers
Method
add_comment
(self, issue_number: int, comment: str, author: str)
apps/polly/src/services/github.py:279
↓ 4 callers
Function
an
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callers
Function
apiModelToModel
(model: RawModel, type: Model["type"])
pollinations.ai/src/hooks/useModelList.ts:79
↓ 4 callers
Method
append
(content: string | ReadableStream | Response, options?: ContentOptions)
enter.pollinations.ai/worker-runtime.d.ts:1490
↓ 4 callers
Function
applyFormat
( spreadsheetId, { range, format, fields }, { account }, )
apps/operation/finance/lib/gog.mjs:92
↓ 4 callers
Function
asRecordArray
(value: unknown)
gen.pollinations.ai/src/routes/docs.ts:854
↓ 4 callers
Function
ascii
(offset: number, s: string)
gen.pollinations.ai/test/wav-header.test.ts:9
↓ 4 callers
Method
body
()
enter.pollinations.ai/worker-runtime.d.ts:1960
↓ 4 callers
Function
buildImageVariants
( platformImages: ImageVariant[], prImages: ImageVariant[], )
pollinations.ai/src/hooks/useDiaryData.ts:331
↓ 4 callers
Function
callFluxWithFallback
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/createAndReturnImages.ts:274
↓ 4 callers
Function
callPrunaImageEditAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/prunaModel.ts:188
↓ 4 callers
Function
chooseWeightedServer
(servers: ServerEntry[])
gen.pollinations.ai/src/image/availableServers.ts:128
↓ 4 callers
Function
clamp
(value: number, min: number, max: number)
gen.pollinations.ai/src/text/textGenerationUtils.ts:71
↓ 4 callers
Function
clearAutoTopUpDraft
()
enter.pollinations.ai/frontend/src/components/pollen/auto-top-up-panel.tsx:623
↓ 4 callers
Function
clearHideTimer
()
packages/ui/src/primitives/ScrollArea.tsx:58
↓ 4 callers
Function
close
()
apps/polly/src/services/embeddings.py:717
↓ 4 callers
Function
closeSocket
(socket: WebSocket, code?: number, reason?: string)
gen.pollinations.ai/src/routes/realtime.ts:170
↓ 4 callers
Function
co
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callers
Function
communityModelDefinition
( endpoint: CommunityModelDefinitionInput, )
shared/community-endpoints.ts:176
↓ 4 callers
Function
communityOpenAIBaseUrl
(baseUrl: string)
shared/community-endpoints.ts:156
↓ 4 callers
Function
computeDevCredit
(baselinePrice: number)
shared/billing/markup.ts:8
↓ 4 callers
Function
computeHealthStatus
(stats)
apps/model-monitor/src/App.jsx:103
↓ 4 callers
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
enter.pollinations.ai/worker-runtime.d.ts:9949
↓ 4 callers
Function
createClaudeThinkingTransform
( mode: ClaudeThinkingMode, )
gen.pollinations.ai/src/text/transforms/createClaudeThinkingTransform.ts:52
↓ 4 callers
Function
createCompletionAudioSecondsUsage
( completionAudioSeconds: number, )
shared/registry/usage-headers.ts:309
↓ 4 callers
Function
createFetchMock
( mocks: TMocks, options?: FetchMockOptions, )
shared/test/mocks/fetch.ts:40
↓ 4 callers
Function
createNewChat
(title = "New Chat")
apps/chat/src/hooks/useChat.js:51
↓ 4 callers
Function
createPerplexitySearchBilling
( id: string, description: string, unitCost: number, expectedSearchContextSize: string, )
shared/registry/perplexity-billing.ts:108
↓ 4 callers
Function
createPerplexitySearchTransform
( searchContextSize: SearchContextSize, )
gen.pollinations.ai/src/text/transforms/createPerplexitySearchTransform.ts:14
↓ 4 callers
Function
ct
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callers
Function
dn
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callers
Function
emitServerError
( c: Context<TEnv>, error: Error, status: number, timestamp: string, log: Logger, )
shared/error.ts:373
↓ 4 callers
Function
encodeEmbedding
( values: number[], encodingFormat: EmbeddingRequest["encoding_format"], )
gen.pollinations.ai/src/embeddings/handler.ts:216
↓ 4 callers
Function
escapeAttribute
(value: string)
gen.pollinations.ai/src/routes/seo.ts:43
↓ 4 callers
Function
escapeHtml
(value)
apps/websim/worker.js:395
↓ 4 callers
Function
expectUsdPriceData
( body: Record<string, string> | undefined, amountUsd: number, expectedName?: string, )
enter.pollinations.ai/test/integration/stripe.test.ts:37
↓ 4 callers
Function
extractFalModelMesh
( result: Record<string, unknown>, )
gen.pollinations.ai/src/model3d/models/falClient.ts:143
↓ 4 callers
Function
extractIds
( list: Array<{ id?: string; name?: string } | string>, )
pollinations.ai/src/hooks/useModelList.ts:65
↓ 4 callers
Function
fetchAccountJson
( apiBaseUrl: string, apiKey: string, path: string, params?: URLSearchParams, )
packages/sdk/src/react/hooks.ts:92
↓ 4 callers
Function
fetchEnter
(c: Context<Env>, url: URL)
gen.pollinations.ai/src/index.ts:81
↓ 4 callers
Function
fetchTinybirdByWeek
( env: Env, pipe: string, weeksBack: number, )
apps/operation/kpi/src/worker/index.ts:135
↓ 4 callers
Function
fetchUsdToEur
({ timeoutMs = 8000 } = {})
apps/operation/finance/lib/fx.mjs:35
↓ 4 callers
Function
fetchWithAuth
(url, options = {})
packages/mcp/src/utils/coreUtils.js:95
↓ 4 callers
Function
fetchWithRetry
( url: string, options?: RequestInit, )
pollinations.ai/src/utils/fetchWithRetry.ts:46
↓ 4 callers
Function
fetchWorker
(path: string, init: RequestInit = {})
gen.pollinations.ai/test/model-permissions.test.ts:11
↓ 4 callers
Function
fileTooLargeError
(maxSize: number)
media.pollinations.ai/src/index.ts:53
↓ 4 callers
Function
firstContentPolicyMessage
( messages: Array<string | null | undefined>, )
gen.pollinations.ai/src/image/utils/contentModeration.ts:51
↓ 4 callers
Function
formatRewardAmount
(value: number | null)
enter.pollinations.ai/frontend/src/components/quests/quest-overview.tsx:155
↓ 4 callers
Function
formatRewardTimestamp
(value: Date | number | string)
enter.pollinations.ai/src/routes/quests.ts:82
↓ 4 callers
Function
formatStreamingMessage
(content)
apps/chat/src/utils/markdown.js:212
↓ 4 callers
Function
formatUsageWindow
(window: UsageWindowDates)
enter.pollinations.ai/src/routes/account.ts:216
↓ 4 callers
Function
generateMusic
( opts: GenerateMusicOptions, )
gen.pollinations.ai/src/routes/audio.ts:578
↓ 4 callers
Function
generateWanVideo
( config: WanVariantConfig, prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/wanVideoModel.ts:203
↓ 4 callers
Function
getActiveChat
()
apps/chat/src/hooks/useChat.js:91
↓ 4 callers
Function
getAvailableBalance
( balances: UserBalance, isPaidOnly = false, )
shared/billing/balance.ts:42
↓ 4 callers
Method
getChain
(chainId: string)
apps/reimagine/src/services/TransformationService.ts:31
↓ 4 callers
Function
getErrorCode
(status: number)
shared/error.ts:330
↓ 4 callers
Method
getFavorites
()
apps/reimagine/src/services/FavoritesService.ts:28
↓ 4 callers
Method
getImageUrl
* Get image URL for display (with size optimization)
apps/reimagine/src/services/CivitaiService.ts:105
↓ 4 callers
Function
getModelDisplayName
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:56
↓ 4 callers
Function
getModels
()
packages/sdk/src/helpers.ts:480
↓ 4 callers
Function
getPriceDefinitionForModel
( svc: ModelDefinition<string>, )
shared/registry/registry.ts:397
↓ 4 callers
Function
getStoredApiKey
()
apps/catgpt/ai.js:14
↓ 4 callers
Method
getTodayString
()
apps/reimagine/src/services/PollinationsService.ts:94
↓ 4 callers
Function
getUserStripeBillingRow
( db: D1Database, userId: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:746
↓ 4 callers
Function
getValue
(kpi, week)
apps/operation/kpi/src/components/KPITrendTable.jsx:239
↓ 4 callers
Function
get_repo_root
Get the repository root directory by looking for .git folder
social/scripts/common.py:141
↓ 4 callers
Function
handleValueChange
(field, parser = (value) => value)
apps/chat/src/components/SettingsPanel.jsx:14
↓ 4 callers
Function
handler
(e: MouseEvent)
pollinations.ai/src/ui/components/UserMenu.tsx:17
↓ 4 callers
Function
hasAudioOutput
(m: RawModel)
pollinations.ai/src/hooks/useModelList.ts:71
↓ 4 callers
Function
hasCapability
(model, capability)
packages/mcp/src/services/textService.js:246
↓ 4 callers
Function
headingClassName
(size: HeadingSize, className?: string)
packages/ui/src/primitives/Typography.tsx:43
↓ 4 callers
Function
hi
(e,t,n,r,o,l)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callers
Function
ii
(e)
apps/operation/quest-dashboard/assets/bundle.js:10
↓ 4 callers
Function
io
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callers
Function
isRevenue
(category)
apps/operation/finance/lib/categories.mjs:15
↓ 4 callers
Function
ki
()
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callers
Function
ln
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callers
Function
loadFixtures
()
apps/operation/finance/test/normalize.test.mjs:10
↓ 4 callers
Function
makeAdjustment
( ruleId: string, cost: number, units: number, )
gen.pollinations.ai/test/tracking-observability.test.ts:657
↓ 4 callers
Function
markAttemptFailedByInvoice
( db: D1Database, invoiceId: string, reason: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:1081
↓ 4 callers
Function
mockReplicateFetch
(requests: ReplicateRequest[])
gen.pollinations.ai/test/image/ideogramModel.test.ts:20
↓ 4 callers
Function
normalizeAllowedModelSelection
( next: string[], allModelIds: string[], )
enter.pollinations.ai/frontend/src/components/keys/model-selection.ts:1
↓ 4 callers
Function
normalizeInputs
( input: EmbeddingRequest["input"], )
gen.pollinations.ai/src/embeddings/input.ts:137
↓ 4 callers
Function
normalizePackAmount
(value: number | null | undefined)
enter.pollinations.ai/frontend/src/components/pollen/auto-top-up-panel.tsx:562
↓ 4 callers
Function
normalize_platform_post
Normalize a generated platform post to the minimal persisted envelope.
social/scripts/common.py:805
↓ 4 callers
Function
nt
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callers
Function
oi
([e,t])
apps/operation/quest-dashboard/assets/bundle.js:8
↓ 4 callers
Function
on
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
← previous
next →
601–700 of 5,304, ranked by callers