MCPcopy Index your code

hub / github.com/pollinations/pollinations / functions

Functions5,304 in github.com/pollinations/pollinations

↓ 5 callersFunctioncreateOpenAICompatibleConfig
Creates a config for any OpenAI-compatible provider with a custom host.
gen.pollinations.ai/src/text/configs/providerConfigs.ts:20
↓ 5 callersFunctioncreateUser
({ tierBalance, packBalance, }: { tierBalance: number; packBalance: number; })
gen.pollinations.ai/test/billing-deduction.test.ts:12
↓ 5 callersFunctioncreateVertexGeminiConfig
Creates a Vertex AI config for Gemini models.
gen.pollinations.ai/src/text/configs/modelConfigs.ts:22
↓ 5 callersMethoddata
(t,n)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 5 callersFunctiondie
(msg)
gen.pollinations.ai/scripts/seed-local-key.mjs:48
↓ 5 callersFunctiondispatch
( app: Hono<TestEnv>, path: string, init?: RequestInit, env = createMediaCacheEnv(), )
gen.pollinations.ai/test/media-cache.test.ts:72
↓ 5 callersFunctionescapeHtml
(value)
apps/chat/src/utils/markdown.js:8
↓ 5 callersFunctionexpectClientEventRejected
( paidApiKey: string, event: unknown, )
gen.pollinations.ai/test/realtime.test.ts:139
↓ 5 callersFunctionexpectCommunityPortkeyRequest
( input: RequestInfo | URL, init: RequestInit | undefined, expected: { customHost: string;
gen.pollinations.ai/src/community-endpoints.test.ts:110
↓ 5 callersFunctionexpectStableCatalogFields
( id: string, expected: { state: string; rewardAmount: number;
enter.pollinations.ai/test/quests.test.ts:241
↓ 5 callersFunctionextract_id
(value: int | str | None, pattern: str)
apps/polly/src/services/discord_search.py:554
↓ 5 callersFunctionextract_media_urls
Extract media URLs from Discord message, separating images, videos, and text files. Returns: Tuple of (image_urls, video_urls, file_
apps/polly/src/bot.py:255
↓ 5 callersFunctionfailAttempt
( db: D1Database, attemptId: string, reason: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:1053
↓ 5 callersFunctionfetchBinaryWithAuth
(url, options = {})
packages/mcp/src/utils/coreUtils.js:217
↓ 5 callersFunctionfetchModelCatalog
( options: { refresh?: boolean } = {}, )
enter.pollinations.ai/frontend/src/components/models/model-catalog.ts:90
↓ 5 callersFunctionfetchWorker
(path: string, init: RequestInit = {})
gen.pollinations.ai/test/realtime.test.ts:20
↓ 5 callersFunctionformatPollenPackValue
(value: number)
shared/pollen-packs.ts:41
↓ 5 callersFunctionfr
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 5 callersFunctionft
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 5 callersFunctiongenerateSoundEffect
(opts: { prompt: string; durationSeconds?: number; loop?: boolean; promptInfluence?: number;
gen.pollinations.ai/src/routes/audio.ts:735
↓ 5 callersFunctiongetApiToken
()
apps/chat/src/utils/api.js:6
↓ 5 callersFunctiongetAudioModelsInfo
()
shared/registry/model-info.ts:162
↓ 5 callersFunctiongetAuthHeaders
()
packages/mcp/src/utils/authUtils.js:36
↓ 5 callersFunctiongetModalities
(model: ModelPrice)
enter.pollinations.ai/frontend/src/components/models/model-info.ts:45
↓ 5 callersFunctiongetModel3dModelsInfo
()
shared/registry/model-info.ts:183
↓ 5 callersFunctiongetRequestData
(req: ExpressLikeRequest)
gen.pollinations.ai/src/text/requestUtils.ts:14
↓ 5 callersFunctiongetStr
(flag: string, defaultValue: string)
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-scan.ts:64
↓ 5 callersFunctionget_file_sha
Get the SHA of an existing file
social/scripts/common.py:499
↓ 5 callersFunctiongn
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 5 callersFunctionhasAccountReadPermission
( apiKey: AccountPermissionApiKey | undefined, permission: Exclude<AccountPermission, "keys">, )
enter.pollinations.ai/src/routes/account-permissions.ts:17
↓ 5 callersFunctionhasCode
(json, ...codes)
apps/_scripts/deploy-app.js:65
↓ 5 callersFunctionheader
(label: string, className: string)
enter.pollinations.ai/frontend/src/components/quests/quest-overview.tsx:313
↓ 5 callersMethodimageEdit
* Edit an image using the OpenAI-compatible endpoint (POST /v1/images/edits). * Accepts JSON with image URLs or multipart/form-data file uploads.
packages/sdk/src/client.ts:458
↓ 5 callersFunctioninputOf
(req: ReplicateRequest)
gen.pollinations.ai/test/image/prunaModel.test.ts:74
↓ 5 callersFunctioninterpolate
(md: string, vars: Record<string, string>)
gen.pollinations.ai/src/routes/docs.ts:179
↓ 5 callersFunctionir
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 5 callersFunctionisBillingFetch
(request: Request)
gen.pollinations.ai/src/community-endpoints.test.ts:140
↓ 5 callersFunctionisCommunityEndpointOwnerAllowed
( owner: CommunityEndpointOwnerLike | null | undefined, )
shared/community-endpoints.ts:118
↓ 5 callersFunctionisMediaUrl
Check if a URL is already uploaded to media.pollinations.ai
apps/ai-dungeon-master/src/utils/mediaUpload.ts:5
↓ 5 callersFunctionisValidPriceInput
(value: string)
enter.pollinations.ai/frontend/src/components/community-endpoints/types.ts:82
↓ 5 callersMethodis_mentioned
Check if bot is @mentioned in the body.
apps/polly/src/services/webhook_server.py:110
↓ 5 callersFunctionjr
(e)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 5 callersFunctionk
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 5 callersFunctionlegacyCommunityModelId
( ownerGithubUsername: string, modelName: string, )
shared/community-endpoints.ts:102
↓ 5 callersFunctionload_shared
Load a brand prompt component from prompts/brand/{name}.md Args: name: 'about', 'visual', 'bee', 'links' Returns: The brand
social/scripts/common.py:151
↓ 5 callersFunctionlr
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 5 callersFunctionmockFalQueue
(meshContentType = "application/octet-stream")
gen.pollinations.ai/test/model3d/rodinModel.test.ts:32
↓ 5 callersFunctionnormalizeSafeValue
(value: SafeValue)
shared/schemas/safety.ts:33
↓ 5 callersFunctiononSort
(key: SortKey)
enter.pollinations.ai/frontend/src/components/models/model-table.tsx:371
↓ 5 callersFunctionparseApiError
(status, errorText)
packages/mcp/src/utils/coreUtils.js:242
↓ 5 callersFunctionparseFrankfurter
(json)
apps/operation/finance/lib/fx.mjs:20
↓ 5 callersFunctionparseMetadata
( raw: string | null | undefined, )
enter.pollinations.ai/src/routes/metadata-utils.ts:5
↓ 5 callersFunctionparseOptionalBoolean
( value: FormDataEntryValue | null, fieldName: string, )
gen.pollinations.ai/src/routes/audio.ts:926
↓ 5 callersFunctionparseOptionalNumber
( value: FormDataEntryValue | null, fieldName: string, )
gen.pollinations.ai/src/routes/audio.ts:907
↓ 5 callersFunctionparseWeeksBack
( c: { req: { query: (k: string) => string | undefined } }, fallback = 12, )
apps/operation/kpi/src/worker/index.ts:229
↓ 5 callersFunctionparse_url
(url: str)
apps/polly/src/_url.py:15
↓ 5 callersFunctionpartitionFiles
( incoming: File[], current: File[], { maxFiles, maxSizeBytes, accept }: PartitionOptions, )
packages/ui/src/lib/partition-files.ts:41
↓ 5 callersFunctionperiodToWindow
(selection: PeriodSelection)
packages/ui/src/lib/period.ts:85
↓ 5 callersFunctionpickExample
( spec: Spec, schema: Schema | undefined, opts: { compact?: boolean } = {}, )
gen.pollinations.ai/scripts/generate-apidocs.ts:300
↓ 5 callersFunctionpr
(e=new Date)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 5 callersMethodprocess_mention
Process a @mention from GitHub. 1. Build a prompt from the context 2. Call AI with tools 3. Post response back to Gi
apps/polly/src/services/webhook_server.py:284
↓ 5 callersMethodprocess_with_tools
( self, user_message: str, discord_username: str, thread_history: list[dict] |
apps/polly/src/services/pollinations.py:132
↓ 5 callersFunctionrandomSeed
()
packages/sdk/src/client.ts:81
↓ 5 callersFunctionread
(value: T | null)
packages/sdk/src/react/hooks.test.tsx:35
↓ 5 callersFunctionrefreshR2ObjectTtl
( bucket: R2Bucket, key: string, object: R2ObjectBody, waitUntil: (promise: Promise<unknown>)
shared/r2-storage.ts:35
↓ 5 callersFunctionresolveDevMarkup
( db: DrizzleD1Database, byopClientKeyId: string | null | undefined, baselinePrice: number, pa
shared/billing/track-helpers.ts:59
↓ 5 callersFunctionrollDice
(sides: number)
apps/ai-dungeon-master/src/App.tsx:861
↓ 5 callersFunctionrun_d1_query
Run a D1 query and return results.
enter.pollinations.ai/src/tier-progression/shared/d1_updates.py:9
↓ 5 callersFunctions256
(verifier: string)
enter.pollinations.ai/test/oauth-code.test.ts:14
↓ 5 callersFunctionsectionAnchor
(s: { emoji: string; title: string })
gen.pollinations.ai/scripts/generate-apidocs.ts:44
↓ 5 callersFunctionseedQuestIssue
(github: MockGithubState, issue: SeedQuestIssue)
enter.pollinations.ai/test/quests.test.ts:48
↓ 5 callersFunctionseedUser
( db: ReturnType<typeof drizzle<typeof schema>>, id: string, tierBalance = 0, packBalance = 0,
enter.pollinations.ai/test/integration/rewards.test.ts:15
↓ 5 callersMethodsendWelcomeEmail
(to: string | string[], userName: string, serviceName?: string)
apps/micro/src/wrapper.ts:25
↓ 5 callersFunctionsignedSessionCookie
(token: string)
gen.pollinations.ai/src/community-endpoints.test.ts:91
↓ 5 callersFunctionstartOfUtcDay
(date = new Date())
packages/ui/src/lib/period.ts:15
↓ 5 callersFunctionsumNetRevenueCents
(txns)
apps/operation/finance/lib/providers/stripe.mjs:99
↓ 5 callersFunctionsumRowForVendors
(matrix, month, vendors)
apps/operation/finance/lib/layout.mjs:71
↓ 5 callersFunctionsyncImageEnv
( env: CloudflareBindings, keys: readonly (keyof CloudflareBindings)[], )
gen.pollinations.ai/src/image/env.ts:3
↓ 5 callersFunctionto
(e,...t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 5 callersFunctiontoDataUri
(url: string)
gen.pollinations.ai/src/image/utils/imageDownload.ts:114
↓ 5 callersFunctiontruncateString
( value: string | undefined, maxLength: number, )
shared/error.ts:494
↓ 5 callersFunctionuseAuth
()
pollinations.ai/src/hooks/useAuth.tsx:227
↓ 5 callersFunctionuseAuthActions
()
packages/sdk/src/react/hooks.ts:69
↓ 5 callersFunctionuseDocumentMeta
(title: string, description?: string)
pollinations.ai/src/hooks/useDocumentMeta.ts:22
↓ 5 callersFunctionuseRequiredAuth
()
packages/sdk/src/react/hooks.ts:49
↓ 5 callersFunctionvalidateFloat
(value: unknown)
gen.pollinations.ai/src/text/utils/parameterValidators.ts:4
↓ 5 callersFunctionwt
(e={})
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 5 callersFunctionxr
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:1
↓ 4 callersFunctionAr
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callersFunctionCn
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callersFunctionCo
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callersFunctionFi
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callersFunctionFr
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callersFunctionJr
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callersFunctionKr
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callersFunctionLt
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callersFunctionMn
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 4 callersFunctionPi
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 4 callersFunctionQn
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:22
↓ 4 callersFunctionSt
(e,t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:10
← previousnext →501–600 of 5,304, ranked by callers