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
fetchLtx2Result
(promptId: string)
gen.pollinations.ai/src/image/models/ltx2VideoModel.ts:206
↓ 1 callers
Function
fetchMedia
( url: string, )
gen.pollinations.ai/src/embeddings/input.ts:24
↓ 1 callers
Function
fetchMediaSchema
()
gen.pollinations.ai/src/routes/docs.ts:605
↓ 1 callers
Function
fetchModelListData
( apiKey: string | null, )
pollinations.ai/src/hooks/useModelList.ts:189
↓ 1 callers
Function
fetchModelStats
( minutes = 60, )
packages/polli-cli/src/commands/stats.ts:6
↓ 1 callers
Function
fetchMonth
(month)
apps/operation/finance/lib/providers/wise-transactions.mjs:124
↓ 1 callers
Function
fetchMonths
(startMonth, endMonth)
apps/operation/finance/lib/providers/wise-transactions.mjs:146
↓ 1 callers
Function
fetchNews
()
pollinations.ai/src/hooks/useNews.ts:32
↓ 1 callers
Function
fetchPolarRevenue
( env: Env, )
apps/operation/kpi/src/worker/index.ts:302
↓ 1 callers
Function
fetchProfile
(apiKey)
apps/catgpt/ai.js:54
↓ 1 callers
Function
fetchProfile
()
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:98
↓ 1 callers
Function
fetchProfile
()
pollinations.ai/src/hooks/useAuth.tsx:99
↓ 1 callers
Function
fetchPublicRepoStars
( env: CloudflareBindings, login: string, )
enter.pollinations.ai/src/services/quests/groups/github-profile.ts:87
↓ 1 callers
Function
fetchStars
()
apps/gsoc/src/api/githubStars.ts:9
↓ 1 callers
Function
fetchStats
()
enter.pollinations.ai/frontend/src/components/models/use-model-stats.ts:35
↓ 1 callers
Function
fetchStripeRevenue
( env: Env, )
apps/operation/kpi/src/worker/index.ts:371
↓ 1 callers
Function
fetchTopContributors365
()
pollinations.ai/src/ui/components/TopContributors.tsx:41
↓ 1 callers
Function
fetchUsers
( sinceTimestamp: number | null, untilTimestamp: number | null, )
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-scan.ts:177
↓ 1 callers
Function
fetch_all_snapshots
GET /models returns every model in one call with a 'category' field. We bucket by that field into the known categories. No auth — authenticat
social/scripts/generate_models_news.py:77
↓ 1 callers
Function
fetch_discord_attachment
( attachment_url: str, file_type: str | None = None, instruction: str | None = None, )
apps/polly/src/services/web_scraper.py:622
↓ 1 callers
Function
fetch_gist
Read gist JSON from local checkout or GitHub API.
social/scripts/publish_realtime.py:35
↓ 1 callers
Function
fetch_pr_data
Fetch full PR data from GitHub REST API.
social/scripts/generate_realtime.py:39
↓ 1 callers
Function
fetch_pr_files
Fetch list of changed files. Returns (formatted_string, list_of_filenames).
social/scripts/generate_realtime.py:54
↓ 1 callers
Function
fetch_pr_merged_at
Fetch merged_at timestamp for a PR from GitHub API.
social/scripts/publish_realtime.py:71
↓ 1 callers
Function
fetch_spore_users
Fetch spore users using hourly slicing strategy. Returns (new_ids, slice_ids, total_old) where: - new_ids: github_ids of users created in the
enter.pollinations.ai/src/tier-progression/flows/spore_to_seed.py:43
↓ 1 callers
Function
filter_admin_actions_from_tools
Filter admin actions from tool descriptions for non-admin Discord users. Collaborators see a subset of admin actions (close, reopen, label, assig
apps/polly/src/constants.py:1054
↓ 1 callers
Function
filter_api_tools
Filter tools for API mode — stricter than Discord non-admin.
apps/polly/src/constants.py:1088
↓ 1 callers
Function
filter_tools_by_intent
Filter tools based on user intent keywords. Fast regex matching - no API calls. Args: user_message: The user's message a
apps/polly/src/constants.py:1153
↓ 1 callers
Function
findDb
()
gen.pollinations.ai/scripts/seed-local-key.mjs:76
↓ 1 callers
Function
findEnclosingHeading
(lines: string[], blockStartLine: number)
gen.pollinations.ai/scripts/validate-apidocs.ts:164
↓ 1 callers
Function
findGroupRewardProposals
( ctx: QuestEvaluationContext, group: (typeof QUEST_GROUPS)[number], user: QuestUser, )
enter.pollinations.ai/src/services/quest-checker.ts:103
↓ 1 callers
Function
findPendingAutoTopUpAttempt
( db: D1Database, userId: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:858
↓ 1 callers
Function
findPlayer
()
packages/polli-cli/src/lib/play.ts:40
↓ 1 callers
Function
find_nearest_valid_dimensions
Find the nearest dimensions that are multiples of 8 and their product is divisible by 65536. Also enforces a maximum total pixel count to prevent
image.pollinations.ai/nunchaku/server.py:158
↓ 1 callers
Function
find_previous_snapshot_date
List snapshots/ on news branch via Contents API, return latest date strictly before `before`. Returns None when this is the first run for the mod
social/scripts/generate_models_news.py:155
↓ 1 callers
Method
find_similar_issues
(self, keywords: str, limit: int = 5)
apps/polly/src/services/github_graphql.py:328
↓ 1 callers
Function
force_cpu_during_snapshot
Monkeypatch torch CUDA checks so ComfyUI initializes without GPU.
image.pollinations.ai/video_gen_ltx2modal/ltx2-t2v-distilled/comfyapp_ltx_snapshot_WIP.py:112
↓ 1 callers
Function
forecastValue
(rule, matrix, vendor, excludeMonth)
apps/operation/finance/lib/forecast.mjs:67
↓ 1 callers
Function
formDataToObject
(formData: FormData)
shared/observability/request-inputs.ts:123
↓ 1 callers
Function
formPricesToPayload
(form: EndpointFormState)
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:108
↓ 1 callers
Function
formWithVisiblePrices
( form: EndpointFormState, visiblePriceKeys: Set<PriceFieldKey>, )
enter.pollinations.ai/frontend/src/components/community-endpoints/price-table.tsx:319
↓ 1 callers
Function
formatActivityPollenThreshold
(value: number)
enter.pollinations.ai/frontend/src/components/activity/format-activity-pollen.ts:35
↓ 1 callers
Function
formatBudget
(pollenBudget: number | null | undefined)
enter.pollinations.ai/frontend/src/components/keys/limits-badge.tsx:75
↓ 1 callers
Function
formatCompact
(value: number)
packages/ui/src/modules/wallet/format-pollen.ts:15
↓ 1 callers
Function
formatCompact
(value)
apps/operation/kpi/src/components/WeeklyChart.jsx:19
↓ 1 callers
Function
formatCompactVal
(v: number)
enter.pollinations.ai/frontend/src/components/activity/chart.tsx:146
↓ 1 callers
Function
formatCount
Format number as coarse estimate (not precise - it's an average)
enter.pollinations.ai/frontend/src/components/models/calculations.ts:26
↓ 1 callers
Function
formatCsvValue
(v: string)
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-review.ts:54
↓ 1 callers
Function
formatCurrency
(value)
apps/operation/kpi/src/components/WeeklyChart.jsx:25
↓ 1 callers
Function
formatEuro
(n)
apps/operation/finance/lib/layout.mjs:47
↓ 1 callers
Function
formatExpiry
(value: string | null | undefined)
apps/react/src/pages/modules-page.tsx:162
↓ 1 callers
Function
formatExpiry
(expiresAt: Date | null | undefined)
enter.pollinations.ai/frontend/src/components/keys/limits-badge.tsx:59
↓ 1 callers
Function
formatFileSize
(bytes: number)
packages/ui/src/compositions/FileUpload.tsx:32
↓ 1 callers
Function
formatHistory
* Format conversation history as a single user message with chat transcript. * This avoids alternation issues across all APIs and preserves base mode
apps/discord-bot-family/src-functional/bot-loop.ts:171
↓ 1 callers
Function
formatMessagesForAPI
(messages, _modelId)
apps/chat/src/utils/api.js:214
↓ 1 callers
Function
formatPackAriaLabel
(pack: PollenPack)
enter.pollinations.ai/frontend/src/components/pollen/pollen-pack-controls.tsx:17
↓ 1 callers
Function
formatPaymentMethod
(billingState: BillingState | null)
enter.pollinations.ai/frontend/src/components/pollen/auto-top-up-panel.tsx:554
↓ 1 callers
Function
formatPercent
(count, total, showZero = false)
apps/model-monitor/src/App.jsx:79
↓ 1 callers
Function
formatPerms
(p: KeyInfo["permissions"])
packages/polli-cli/src/commands/keys.ts:77
↓ 1 callers
Function
formatPollenAmount
(value: number | null | undefined)
apps/react/src/pages/modules-page.tsx:150
↓ 1 callers
Function
formatPriceFlat
(price: number)
enter.pollinations.ai/frontend/src/components/models/formatters.ts:32
↓ 1 callers
Function
formatRelativeTime
(timestamp)
apps/chat/src/components/Sidebar.jsx:5
↓ 1 callers
Function
formatRewardRate
(value: number)
enter.pollinations.ai/frontend/src/components/activity/earnings-graph.tsx:325
↓ 1 callers
Function
formatSnapshotNumber
(value: number)
enter.pollinations.ai/test/effective-prices.snapshot.test.ts:10
↓ 1 callers
Function
formatTime
(timestamp)
apps/chat/src/components/VirtualizedMessageList.jsx:10
↓ 1 callers
Function
formatTime
(timestamp: number)
apps/ai-dungeon-master/src/components/StoryHistory.tsx:22
↓ 1 callers
Function
formatUnmatchedTable
(stats)
apps/operation/finance/bin/rebuild-sheet.mjs:53
↓ 1 callers
Function
formatUsageCount
(count: number | null | undefined)
apps/react/src/pages/modules-page.tsx:157
↓ 1 callers
Function
formatUtcHourPeriod
(date: Date)
packages/ui/src/lib/period.ts:57
↓ 1 callers
Function
formatUtcMonthPeriod
(date: Date)
packages/ui/src/lib/period.ts:61
↓ 1 callers
Function
formatVal
(v: number)
enter.pollinations.ai/frontend/src/components/activity/chart.tsx:159
↓ 1 callers
Function
formatValue
(val)
apps/operation/kpi/src/components/StatCard.jsx:34
↓ 1 callers
Function
formatViolations
(violations: ContentViolation[])
gen.pollinations.ai/src/image/utils/azureContentSafety.ts:45
↓ 1 callers
Function
formatWeekSummary
(start: Date, end: Date)
packages/ui/src/compositions/PeriodPicker.tsx:87
↓ 1 callers
Method
format_notification
Use AI to generate a beautifully formatted notification message. Args: issue: Issue data (number, title, state, labels)
apps/polly/src/services/pollinations.py:753
↓ 1 callers
Function
format_table_as_markdown
(headers: list[str], rows: list[list[str]])
apps/polly/src/services/media_handlers.py:616
↓ 1 callers
Function
fp
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
fs
()
apps/operation/quest-dashboard/assets/bundle.js:4
↓ 1 callers
Function
fw
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
g0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
ga
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callers
Function
gb
(e,t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:8
↓ 1 callers
Function
gc
(e,t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callers
Function
generate
(name)
tools/icons/src/cli.js:149
↓ 1 callers
Function
generate
()
apps/websim/src/App.tsx:150
↓ 1 callers
Function
generate3dResponse
( c: Model3dContext, prompt: string, body: Record<string, unknown> = {}, )
gen.pollinations.ai/src/model3d/handler.ts:17
↓ 1 callers
Function
generateAceStepMusic
(opts: { prompt: string; style?: string; durationSeconds?: number; serviceUrl: string; ser
gen.pollinations.ai/src/routes/audio.ts:1132
↓ 1 callers
Function
generateAudio
(text, options = {})
apps/chat/src/utils/api.js:569
↓ 1 callers
Function
generateCatReply
( question: string, imageUrl: string | null, )
apps/catgpt-bot/bot.ts:41
↓ 1 callers
Function
generateCatReply
(question, imageUrl = null)
apps/catgpt/ai.js:73
↓ 1 callers
Function
generateChangelogEntry
(commitMessage)
apps/changelog-generator/src/services/pollinationsService.js:3
↓ 1 callers
Function
generateClipPath
(rect)
apps/chat/src/components/TutorialModal.jsx:13
↓ 1 callers
Function
generateCohereAzureEmbeddings
( env: CloudflareBindings, request: EmbeddingRequest, responseModel: string, )
gen.pollinations.ai/src/embeddings/handler.ts:58
↓ 1 callers
Function
generateEmbeddings
( env: CloudflareBindings, request: EmbeddingRequest, serviceDef: ModelDefinition, responseMod
gen.pollinations.ai/src/embeddings/handler.ts:33
↓ 1 callers
Function
generateFireworksEmbeddings
( env: CloudflareBindings, request: EmbeddingRequest, responseModel: string, )
gen.pollinations.ai/src/embeddings/handler.ts:93
↓ 1 callers
Function
generateGeminiEmbeddings
( env: CloudflareBindings, request: EmbeddingRequest, responseModel: string, )
gen.pollinations.ai/src/embeddings/handler.ts:128
↓ 1 callers
Function
generateHash
( buffer: ArrayBuffer, fileName?: string, )
media.pollinations.ai/src/index.ts:508
↓ 1 callers
Function
generateHeaders
( messages: ChatMessage[], options: TransformOptions, )
gen.pollinations.ai/src/text/transforms/headerGenerator.ts:14
↓ 1 callers
Method
generateId
* Generate unique ID
apps/reimagine/src/services/PollinationsService.ts:326
↓ 1 callers
Function
generateImage
(prompt, options = {})
apps/chat/src/utils/api.js:502
← previous
next →
2,401–2,500 of 5,304, ranked by callers