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
resolveAttribution
( db: ReturnType<typeof drizzle<typeof schema>>, keyRow: typeof schema.apikey.$inferSelect, )
enter.pollinations.ai/src/routes/app-lookup.ts:13
↓ 1 callers
Function
resolveBedrockGuardrailEnv
( env: CloudflareBindings, )
gen.pollinations.ai/src/utils/bedrock-guardrail.ts:49
↓ 1 callers
Function
resolveCommunityModelReward
( reward: CommunityModelRewardInput | null | undefined, baselinePrice: number, payerUserId: string
shared/billing/track-helpers.ts:97
↓ 1 callers
Function
resolveDisplayType
(model)
apps/model-monitor/src/hooks/useModelMonitor.js:29
↓ 1 callers
Function
resolveElevenLabsVoiceId
(voice: string)
shared/registry/audio.ts:344
↓ 1 callers
Function
resolveIcon
()
enter.pollinations.ai/frontend/src/components/quests/quest-overview.tsx:404
↓ 1 callers
Function
resolveInstallationId
* Resolve the installation id for the given org account (cached). We match by * `account.login` rather than taking the first installation, so this st
shared/github/app-auth.ts:175
↓ 1 callers
Function
resolveModel
(model)
apps/websim/worker.js:231
↓ 1 callers
Function
resolveModelDefinition
( model: string, eventType: EventType, env: CloudflareBindings, )
gen.pollinations.ai/src/middleware/model.ts:52
↓ 1 callers
Function
resolvePerplexityRequestCost
(args: { output: unknown; modelId: string; ruleId: string; staticFee: number; expectedSear
shared/registry/perplexity-billing.ts:67
↓ 1 callers
Function
resolveQwenVoice
(voice: string)
gen.pollinations.ai/src/routes/audio.ts:843
↓ 1 callers
Function
resolveResolution
* Pick the resolution preset whose aspect ratio is closest to the request, by * log-space distance (symmetric for landscape/portrait). Explicit aspec
gen.pollinations.ai/src/image/models/ideogramReplicateModel.ts:110
↓ 1 callers
Function
resolveSafeValue
( c: SafetyContext, providedSafe?: SafeValue, )
gen.pollinations.ai/src/middleware/safety.ts:150
↓ 1 callers
Function
resolveSeedanceAspectRatio
( safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/seedanceReplicateVideoModel.ts:43
↓ 1 callers
Function
resolveSeedanceV2AspectRatio
( requested: ImageParams["aspectRatio"] | undefined, )
gen.pollinations.ai/src/image/models/seedanceV2VideoModel.ts:41
↓ 1 callers
Function
resolveSize
( safeParams: ImageParams, sizes: readonly { ratio: number; size: string }[], )
gen.pollinations.ai/src/image/models/wanImageModel.ts:65
↓ 1 callers
Method
resolveSize
Pick the size bucket for a given longer-side pixel value.
gen.pollinations.ai/src/image/models/seedreamReplicateModel.ts:94
↓ 1 callers
Function
resolveStorage
( option: StorageOption | undefined, )
packages/sdk/src/react/storage.ts:21
↓ 1 callers
Function
resolveTile
()
enter.pollinations.ai/frontend/src/components/quests/quest-overview.tsx:411
↓ 1 callers
Function
resolveVendorsInteractively
(rawRows)
apps/operation/finance/bin/rebuild-sheet.mjs:64
↓ 1 callers
Function
resolveZoneId
(zoneName, headers)
apps/_scripts/deploy-app.js:68
↓ 1 callers
Method
resolve_thread
Resolve a review thread using GraphQL.
apps/polly/src/services/github_pr.py:1040
↓ 1 callers
Method
response
* The image as a response, ready to store in cache or return to users
enter.pollinations.ai/worker-runtime.d.ts:10177
↓ 1 callers
Function
retrieveInvoicePaymentIntent
( env: CloudflareBindings, invoiceId: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:726
↓ 1 callers
Function
retryFetch
( operation: () => Promise<Response>, maxAttempts = API_CONFIG.MAX_RETRIES, )
apps/sirius-cybernetics-elevator-challenge/src/utils/api.ts:64
↓ 1 callers
Method
review_pr
Generate an AI-powered code review for a PR. Args: pr_number: The PR number to review post_to_github: If Tru
apps/polly/src/services/github_pr.py:1311
↓ 1 callers
Method
revokeKey
* Revoke an API key by ID. The id comes from `listKeys()`. * * @example * ```ts * await pollinations.revokeKey('key_abc123');
packages/sdk/src/client.ts:1851
↓ 1 callers
Function
rewardLabel
(quest: QuestEntry)
packages/polli-cli/src/commands/quests.ts:48
↓ 1 callers
Function
rewriteRequest
(request: Request, url: URL)
gen.pollinations.ai/src/index.ts:55
↓ 1 callers
Function
rgb
(hex: string)
pollinations.ai/src/theme/palette.ts:53
↓ 1 callers
Function
robotsTxt
()
gen.pollinations.ai/src/index.ts:63
↓ 1 callers
Function
rowIntent
(status)
apps/model-monitor/src/App.jsx:124
↓ 1 callers
Function
ru
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
runBot
( config: BotConfig, generateText: GenerateTextWithHistory, )
apps/discord-bot-family/src-functional/bot-loop.ts:417
↓ 1 callers
Function
runComparison
()
apps/micro/examples/provider-comparison.js:133
↓ 1 callers
Function
runD1TinybirdSync
( db: D1Database, tinybirdSyncToken: string, )
enter.pollinations.ai/src/services/d1-tinybird-sync.ts:163
↓ 1 callers
Function
runExamples
()
apps/micro/examples/brevo-example.js:130
↓ 1 callers
Function
runExamples
()
apps/micro/examples/nextjs-example.js:132
↓ 1 callers
Function
runExamples
()
apps/micro/examples/resend-example.js:157
↓ 1 callers
Function
runFirectl
(args)
apps/operation/finance/lib/providers/fireworks.mjs:20
↓ 1 callers
Function
runOnce
(args, { account, json = false } = {})
apps/operation/finance/lib/gog.mjs:17
↓ 1 callers
Function
runRebuild
()
apps/operation/finance/bin/update-live.mjs:36
↓ 1 callers
Method
runSync
(t,n)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 1 callers
Function
runpodQuery
(apiKey, query)
apps/operation/finance/lib/providers/runpod.mjs:32
↓ 1 callers
Function
rw
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
rx
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
s4
(e)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 1 callers
Function
safeJsonParse
(data: string)
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:262
↓ 1 callers
Function
safeParams
(c: Context)
shared/observability/request-inputs.ts:41
↓ 1 callers
Function
safeRound
(amount: number, precision: number = 6)
gen.pollinations.ai/src/util.ts:12
↓ 1 callers
Function
safeUrl
(url: string)
gen.pollinations.ai/src/middleware/track.ts:939
↓ 1 callers
Function
sameRedirectUris
(a: string[], b: string[])
enter.pollinations.ai/frontend/src/components/keys/edit-api-key-dialog.tsx:38
↓ 1 callers
Function
sanitize
(obj: unknown)
gen.pollinations.ai/src/text/transforms/sanitizeToolSchemas.ts:43
↓ 1 callers
Function
sanitizeGitHubUsername
(username: string)
enter.pollinations.ai/src/tier-progression/shared/tier-update-user.ts:46
↓ 1 callers
Function
sanitizeMessages
( messages: ChatMessage[], options: TransformOptions, )
gen.pollinations.ai/src/text/transforms/messageSanitizer.ts:13
↓ 1 callers
Function
sanitizeUsername
(username: string)
enter.pollinations.ai/src/tier-progression/flows/cleanup-github-users.ts:179
↓ 1 callers
Function
saveCredentials
(creds: PolliCredentials)
packages/polli-cli/src/lib/config.ts:30
↓ 1 callers
Function
saveGeneratedMeme
(prompt, url)
apps/catgpt/script.js:170
↓ 1 callers
Function
saveHtml
(html: string)
apps/websim/src/App.tsx:47
↓ 1 callers
Method
saveImagesToCompanionFile
* Save image selections to companion JSON file * Maps new section IDs back to old format for compatibility
apps/slidepainter/src/utils/clientImageConfig.ts:373
↓ 1 callers
Method
saveRateLimitData
(data: RateLimitData)
apps/reimagine/src/services/PollinationsService.ts:127
↓ 1 callers
Function
saveSelectedModel
(model)
apps/chat/src/utils/storage.js:98
↓ 1 callers
Function
saveTheme
(theme)
apps/chat/src/utils/storage.js:82
↓ 1 callers
Function
saveTransformation
(imageUrl: string)
apps/reimagine/src/screens/EditScreen.tsx:97
↓ 1 callers
Function
saveVendors
(vendors)
apps/operation/finance/lib/io.mjs:65
↓ 1 callers
Function
savedEndpointPriceKeys
( endpoint: CommunityEndpoint | undefined, )
enter.pollinations.ai/frontend/src/components/community-endpoints/price-table.tsx:290
↓ 1 callers
Function
sb
(e)
apps/operation/quest-dashboard/assets/bundle.js:4
↓ 1 callers
Function
scheduleHide
()
packages/ui/src/primitives/ScrollArea.tsx:75
↓ 1 callers
Function
scheduleProactive
()
apps/discord-bot-family/src-functional/bot-loop.ts:458
↓ 1 callers
Function
schedule_update
()
apps/polly/src/services/embeddings.py:635
↓ 1 callers
Function
scoreUsers
( users: User[], config: ParsedArgs, )
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-scan.ts:418
↓ 1 callers
Function
score_user
Calculate score for a single user. Returns dict with github_id, approved, reason.
enter.pollinations.ai/src/tier-progression/shared/github_profile.py:171
↓ 1 callers
Function
scrape_multiple
( urls: list[str], extraction_strategy: str | None = None, schema: dict | None = None, instruc
apps/polly/src/services/web_scraper.py:494
↓ 1 callers
Function
scrape_with_limit
(url: str)
apps/polly/src/services/web_scraper.py:509
↓ 1 callers
Function
sd
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Method
search_channels
( self, guild: discord.Guild, query: str | None = None, channel_type: str | No
apps/polly/src/services/discord_search.py:235
↓ 1 callers
Function
search_code
(query: str, top_k: int = 5)
apps/polly/src/services/embeddings.py:540
↓ 1 callers
Function
search_docs
(query: str, top_k: int = 5)
apps/polly/src/services/doc_embeddings.py:462
↓ 1 callers
Method
search_members
( self, guild: discord.Guild, query: str | None = None, user_id: int | None =
apps/polly/src/services/discord_search.py:179
↓ 1 callers
Method
search_messages
( self, guild_id: int, query: str, channel_id: int | None = None, auth
apps/polly/src/services/discord_search.py:56
↓ 1 callers
Method
search_roles
( self, guild: discord.Guild, query: str | None = None, include_members: bool
apps/polly/src/services/discord_search.py:339
↓ 1 callers
Method
search_threads
( self, guild: discord.Guild, query: str | None = None, include_archived: bool
apps/polly/src/services/discord_search.py:283
↓ 1 callers
Method
search_user_issues
(self, discord_username: str, state: str = "open", limit: int = 10)
apps/polly/src/services/github_graphql.py:366
↓ 1 callers
Function
selectDeductionBucket
( balances: UserBalance, amount: number, isPaidOnly = false, )
shared/billing/bucket-selection.ts:18
↓ 1 callers
Function
selectGuardrailInputs
(texts: string[])
gen.pollinations.ai/src/middleware/safety.ts:120
↓ 1 callers
Function
selectedCatalogModel
( models: readonly ModelCatalogItem[], category: ModelSelectorCategory, selectedModelId: string |
apps/react/src/pages/modules-page.tsx:198
↓ 1 callers
Method
sendAccountUpgradeEmail
(userEmail, userName, newTier)
apps/micro/examples/integration-example.js:93
↓ 1 callers
Function
sendBulkEmail
()
apps/micro/examples/brevo-example.js:85
↓ 1 callers
Function
sendBulkEmail
()
apps/micro/examples/nextjs-example.js:83
↓ 1 callers
Function
sendBulkEmail
()
apps/micro/examples/resend-example.js:84
↓ 1 callers
Function
sendBulkTierRefillEvents
( users: Array<{ id: string; tier: string | null; tierBalance: number | null;
enter.pollinations.ai/src/services/tier-refill.ts:54
↓ 1 callers
Function
sendCustomEmail
()
apps/micro/examples/basic-usage.js:39
↓ 1 callers
Function
sendEmailWithAttachments
()
apps/micro/examples/resend-example.js:112
↓ 1 callers
Method
sendImageGenerationCompleteEmail
(userEmail, userName, imageUrl)
apps/micro/examples/integration-example.js:62
↓ 1 callers
Method
sendMail
(message: EmailMessage)
apps/micro/src/services/emailService.ts:20
↓ 1 callers
Function
sendMessage
(userMsg: string)
packages/polli-cli/src/commands/gen/chat.ts:61
↓ 1 callers
Method
sendMessage
(userMessage: string)
apps/gsoc/src/api/socBot.ts:48
↓ 1 callers
Function
sendPasswordResetEmail
()
apps/micro/examples/brevo-example.js:62
↓ 1 callers
Function
sendPasswordResetEmail
()
apps/micro/examples/resend-example.js:61
↓ 1 callers
Method
sendPasswordResetEmail
(userEmail, userName, resetToken)
apps/micro/examples/integration-example.js:28
← previous
next →
3,201–3,300 of 5,304, ranked by callers