MCPcopy Create free account

hub / github.com/pollinations/pollinations / functions

Functions5,304 in github.com/pollinations/pollinations

↓ 2 callersFunctioncallXaiVideoAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/xaiVideoModel.ts:31
↓ 2 callersMethodcancel
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctioncapDetailsToTotal
(totalTokens: number, details: number[])
shared/registry/usage-headers.ts:170
↓ 2 callersFunctioncardSortRank
(card: QuestCard)
enter.pollinations.ai/frontend/src/components/quests/quest-overview.tsx:142
↓ 2 callersFunctioncategoryRank
(category: ModelCategory)
packages/sdk/src/models.ts:93
↓ 2 callersFunctioncd
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersMethodchatStream
* Create a streaming chat completion. * Automatically retries on connection failure before streaming starts. * * @example * ```ts
packages/sdk/src/client.ts:1033
↓ 2 callersMethodcheckRateLimit
()
apps/reimagine/src/services/PollinationsService.ts:136
↓ 2 callersFunctioncl
(...e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionclamp
(v: number)
gen.pollinations.ai/src/image/createAndReturnImages.ts:364
↓ 2 callersFunctionclamp
(v: number)
gen.pollinations.ai/src/image/models/novaCanvasModel.ts:40
↓ 2 callersFunctionclampPercent
(value: number)
packages/ui/src/primitives/Slider.tsx:11
↓ 2 callersFunctioncleanNullAndUndefined
(obj: unknown)
gen.pollinations.ai/src/text/utils/objectCleaners.ts:6
↓ 2 callersFunctioncleanupFailedAutoTopUpInvoice
( env: CloudflareBindings, invoiceId: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:1203
↓ 2 callersFunctioncleanupRetrievedAutoTopUpInvoice
( stripe: Stripe, invoice: Stripe.Invoice, )
enter.pollinations.ai/src/utils/stripe-billing.ts:1219
↓ 2 callersFunctionclearApiKey
()
apps/catgpt/ai.js:22
↓ 2 callersFunctionclearApiKey
()
apps/sirius-cybernetics-elevator-challenge/src/hooks/ui.ts:44
↓ 2 callersFunctionclearSheet
(spreadsheetId, range, { account })
apps/operation/finance/lib/gog.mjs:74
↓ 2 callersMethodclearTimeout
(timeoutId: number | null)
enter.pollinations.ai/worker-runtime.d.ts:285
↓ 2 callersFunctionclone_or_pull_repo
(repo: str)
apps/polly/src/services/embeddings.py:261
↓ 2 callersFunctioncollectExtras
(prop: Schema)
gen.pollinations.ai/scripts/generate-apidocs.ts:190
↓ 2 callersFunctioncollectPassthrough
Collect passthrough params from request body.
gen.pollinations.ai/src/routes/images.ts:66
↓ 2 callersFunctioncommitSelection
(selection: PeriodSelection, anchor: Date)
packages/ui/src/compositions/PeriodPicker.tsx:166
↓ 2 callersFunctioncommit_files_to_branch
Commit JSON files to a branch. Args: files: list of (file_path, data_dict) tuples label: suffix for commit messages, e.g. "for 20
social/scripts/common.py:918
↓ 2 callersFunctioncommunityEndpointGatewayContext
( endpoint: CommunityEndpointRuntime, modelDefinition: ModelDefinition<string>, requestData: Reque
gen.pollinations.ai/src/text/communityEndpoint.ts:10
↓ 2 callersFunctioncompactMarkdown
(markdown: string)
enter.pollinations.ai/src/services/quests/groups/github-contributions.ts:149
↓ 2 callersFunctionconcatBytes
(...arrs: Uint8Array[])
shared/github/app-auth.ts:85
↓ 2 callersFunctioncontent_hash
(data: str | bytes)
apps/polly/src/_hash.py:8
↓ 2 callersFunctionconvertUsage
( usage: Usage, rateDefinition: CostDefinition, model: string, )
shared/registry/registry.ts:175
↓ 2 callersMethodcopy
()
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 2 callersFunctioncopyToClipboard
(text)
apps/chat/src/components/VirtualizedMessageList.jsx:19
↓ 2 callersFunctioncreateApiKeyAuth
( env: ApiKeyAuthBindings, ctx?: ExecutionContext, )
shared/auth/api-key.ts:157
↓ 2 callersFunctioncreateApiKeyPlugin
()
shared/auth/api-key.ts:119
↓ 2 callersFunctioncreateAudioContent
(data, mimeType)
packages/mcp/src/utils/coreUtils.js:43
↓ 2 callersFunctioncreateAudioTokenUsage
(completionAudioTokens: number)
shared/registry/usage-headers.ts:289
↓ 2 callersFunctioncreateBillingPortalConfigurationParams
( returnUrl: string, paymentMethodConfiguration: string | undefined, )
enter.pollinations.ai/src/utils/stripe-billing.ts:261
↓ 2 callersFunctioncreateErrorResponseSchema
( status: ContentfulStatusCode, )
shared/error.ts:118
↓ 2 callersFunctioncreateImageContent
(data, mimeType)
packages/mcp/src/utils/coreUtils.js:30
↓ 2 callersFunctioncreateImageGenerationPrompt
( question, catReply, hasUploadedImage = false, )
apps/catgpt/ai.js:102
↓ 2 callersFunctioncreateInitialState
()
enter.pollinations.ai/test/mocks/stripe.ts:546
↓ 2 callersFunctioncreateKeyWithPermissions
({ name, prefix, expiryDays, metadata, permissions, }: CreateKeyInput)
enter.pollinations.ai/frontend/src/lib/create-api-key.ts:36
↓ 2 callersFunctioncreateMediaCacheApp
(cache: MediaCache, contentType: string)
gen.pollinations.ai/test/media-cache.test.ts:29
↓ 2 callersFunctioncreateMemeCard
(prompt, index, imageUrl)
apps/catgpt/script.js:307
↓ 2 callersFunctioncreateMessage
( persona: Persona, message: string, action: Action = "none", )
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:252
↓ 2 callersFunctioncreateMessageTransform
(systemMessage: string)
gen.pollinations.ai/src/text/transforms/createMessageTransform.ts:11
↓ 2 callersFunctioncreateMockVcr
({ originalFetch, hosts, snapshotServerUrl, mode = "replay-or-record", }: CreateMockVcrOptions
shared/test/mocks/vcr.ts:137
↓ 2 callersFunctioncreateR2Object
(key: string, object: StoredR2Object)
shared/test/mocks/r2.ts:21
↓ 2 callersFunctioncreateSystemPromptTransform
( defaultSystemPrompt: string, )
gen.pollinations.ai/src/text/transforms/createSystemPromptTransform.ts:11
↓ 2 callersFunctioncreateUsageApiKey
(sessionToken: string, name: string)
enter.pollinations.ai/test/quests.test.ts:103
↓ 2 callersMethodcreate_issue
( self, title: str, description: str, reporter: str, participants: lis
apps/polly/src/services/github.py:214
↓ 2 callersMethodcreate_review
Create a review on a PR (approve, request changes, or comment).
apps/polly/src/services/github_pr.py:537
↓ 2 callersFunctioncreditAutoTopUpInvoice
( env: CloudflareBindings, invoice: Stripe.Invoice, )
enter.pollinations.ai/src/utils/stripe-billing.ts:596
↓ 2 callersFunctioncurrentPeriod
()
packages/ui/src/lib/period.ts:81
↓ 2 callersFunctioncurrentRedirectUrl
()
packages/sdk/src/react/PolliProvider.tsx:91
↓ 2 callersFunctiond0
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctiondc
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctiondd
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctiondecode_base64_images
Decode base64 images from content_blocks to discord.File objects. content_blocks format from code_execution: [{"type": "image_url", "ima
apps/polly/src/bot.py:177
↓ 2 callersFunctiondelay
(ms: number)
pollinations.ai/src/utils/fetchWithRetry.ts:7
↓ 2 callersFunctiondelayForRetry
(attempt: number)
shared/events.ts:247
↓ 2 callersMethoddeleteSection
* Delete a section and renumber all sections to maintain sequential order
apps/slidepainter/src/utils/clientImageConfig.ts:310
↓ 2 callersFunctiondeploy_reddit_post
( reddit_data: Dict, vps_host: str, vps_user: str, pkey, )
social/scripts/common.py:972
↓ 2 callersFunctionderiveKey
(secret: string)
shared/secret-encryption.ts:36
↓ 2 callersFunctiondetachPagesDomain
(account, headers, customDomain)
apps/_scripts/deploy-app.js:115
↓ 2 callersFunctiondetectItemsInStory
(storyText: string)
apps/ai-dungeon-master/src/App.tsx:523
↓ 2 callersFunctiondiscover
()
apps/oauth-client-demo/server.js:28
↓ 2 callersFunctiondispatchAudioGeneration
( c: AudioContext, opts: { text: string; voice: string; responseFormat: string
gen.pollinations.ai/src/routes/audio.ts:1576
↓ 2 callersFunctiondl
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctione0
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctioneachGroundingMetadata
(output: unknown)
shared/registry/gemini-billing.ts:22
↓ 2 callersFunctioneffectiveType
(m: (typeof registryModels)[0])
pollinations.ai/src/ui/pages/PlayPage.tsx:40
↓ 2 callersFunctionem
(e)
apps/operation/quest-dashboard/assets/bundle.js:14
↓ 2 callersFunctionembed_repository
(repo: str, force_full: bool = False)
apps/polly/src/services/embeddings.py:374
↓ 2 callersFunctionemit
()
packages/ui/src/primitives/ColorModeToggle.tsx:72
↓ 2 callersFunctionemitCheckoutSessionAnalytics
* Emit a checkout-session success to Tinybird (shared by * checkout.session.completed and async_payment_succeeded). On a failed * result, logs `fail
enter.pollinations.ai/src/routes/stripe-webhooks.ts:324
↓ 2 callersFunctionemitPaymentIntentAnalytics
* Emit a payment_intent analytics event to Tinybird (shared by * payment_intent.succeeded and payment_intent.payment_failed). Fetches the * latest C
enter.pollinations.ai/src/routes/stripe-webhooks.ts:368
↓ 2 callersFunctionenforceEndpointProbeThrottle
( c: Pick<Context<Env>, "env" | "json">, userId: string, kind: EndpointProbeKind, )
enter.pollinations.ai/src/routes/community-endpoints.ts:256
↓ 2 callersFunctionensureModelNameAvailable
( db: Db, ownerUserId: string, name: string, currentId?: string, )
enter.pollinations.ai/src/routes/community-endpoints.ts:204
↓ 2 callersFunctionep
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 2 callersFunctionesc
(s)
gen.pollinations.ai/scripts/seed-local-key.mjs:127
↓ 2 callersFunctionescapePipe
(s: string)
gen.pollinations.ai/scripts/generate-apidocs.ts:98
↓ 2 callersFunctioneu
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionexchangeDeviceCode
( c: Context<Env>, body: DeviceTokenRequest, )
enter.pollinations.ai/src/routes/device.ts:242
↓ 2 callersFunctionextractBase64FromDataUrl
(dataUrl)
apps/chat/src/utils/api.js:204
↓ 2 callersFunctionextractErrorMessage
(payload: unknown, fallback: string)
enter.pollinations.ai/frontend/src/components/pollen/auto-top-up-panel.tsx:580
↓ 2 callersFunctionextract_generated_post_image_urls
Extract image URLs from in-memory generated post data before normalization.
social/scripts/common.py:778
↓ 2 callersFunctionextract_video
(history: dict, prompt_id: str)
image.pollinations.ai/video_gen_ltx2modal/ltx2-vastai/server.py:106
↓ 2 callersFunctionfa
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 2 callersFunctionfetchAccount
(apiKey, path)
apps/catgpt/ai.js:46
↓ 2 callersFunctionfetchActivities
* Fetch all completed activities for a date range. * * @param {string} since — ISO date "YYYY-MM-DDT00:00:00.000Z" * @param {string} until — ISO
apps/operation/finance/lib/providers/wise-transactions.mjs:28
↓ 2 callersFunctionfetchCatalogModels
( baseUrl: string, apiKey: string | null | undefined, signal?: AbortSignal, )
packages/sdk/src/models.ts:129
↓ 2 callersFunctionfetchJson
(url, apiKey)
apps/operation/finance/lib/providers/deepinfra.mjs:17
↓ 2 callersFunctionfetchJson
(url: string, init: RequestInit)
enter.pollinations.ai/src/services/community-endpoint-openai.ts:35
↓ 2 callersFunctionfetchJsonWithAuth
(url, options = {})
packages/mcp/src/utils/coreUtils.js:119
↓ 2 callersFunctionfetchMtd
(currentMonth, pool)
apps/operation/finance/lib/providers/aws.mjs:95
↓ 2 callersFunctionfetchProfileLabel
(key: string)
packages/polli-cli/src/commands/auth.ts:121
↓ 2 callersFunctionfetchTinybirdRows
( origin: string, path: string, token: string, params: Record<string, string | undefined>, )
enter.pollinations.ai/src/services/tinybird.ts:20
↓ 2 callersFunctionfetchTreePaths
(signal: AbortSignal)
pollinations.ai/src/hooks/useDiaryData.ts:426
↓ 2 callersFunctionfetch_thread_history
Fetch message history from a thread and format for AI context. This is our "memory" - pulled fresh from Discord each time. Also includes
apps/polly/src/bot.py:405
↓ 2 callersFunctionfilterEntriesByPermissions
( entries: GenerationModelEntry[], allowedModels: string[] | undefined, hasPaidBalance?: boolean,
gen.pollinations.ai/src/routes/proxy.ts:201
← previousnext →1,201–1,300 of 5,304, ranked by callers