MCPcopy Create free account

hub / github.com/pollinations/pollinations / functions

Functions5,304 in github.com/pollinations/pollinations

↓ 1 callersFunctioncreateChatCommand
()
packages/polli-cli/src/commands/gen/chat.ts:22
↓ 1 callersFunctioncreateCohereAzureMock
()
gen.pollinations.ai/test/embeddings/embeddings.test.ts:188
↓ 1 callersFunctioncreateCommunityEndpoint
( ownerUserId: string, )
gen.pollinations.ai/test/tracking-observability.test.ts:97
↓ 1 callersFunctioncreateConditionedCompositionPlan
(opts: { prompt: string; durationSeconds?: number; conditioningRef: unknown; })
gen.pollinations.ai/src/routes/audio.ts:519
↓ 1 callersFunctioncreateDocsRoutes
(genApp: Hono<Env>)
gen.pollinations.ai/src/routes/docs.ts:961
↓ 1 callersFunctioncreateDocsRoutes
(apiRouter: Hono<Env>)
enter.pollinations.ai/src/routes/docs.ts:6
↓ 1 callersFunctioncreateEmailConfig
()
apps/micro/src/utils/config.ts:24
↓ 1 callersFunctioncreateEmbeddingMocks
()
gen.pollinations.ai/test/embeddings/embeddings.test.ts:64
↓ 1 callersFunctioncreateEnterFrontendApi
()
gen.pollinations.ai/src/community-endpoints.test.ts:70
↓ 1 callersFunctioncreateErrorMessage
(error: unknown)
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:106
↓ 1 callersFunctioncreateErrorResponseDescription
(status: ContentfulStatusCode)
shared/utils/api-docs.ts:10
↓ 1 callersFunctioncreateFetchRequest
( messages: PollingsMessage[], jsonMode = true, )
apps/sirius-cybernetics-elevator-challenge/src/utils/api.ts:8
↓ 1 callersFunctioncreateFireworksMock
()
gen.pollinations.ai/test/embeddings/embeddings.test.ts:235
↓ 1 callersFunctioncreateGenCommand
()
packages/polli-cli/src/commands/gen/index.ts:9
↓ 1 callersFunctioncreateGenerateTextWithHistory
( baseUrl: string, )
apps/discord-bot-family/src-functional/api.ts:14
↓ 1 callersFunctioncreateGenerationMocks
()
gen.pollinations.ai/test/generation-vcr.test.ts:36
↓ 1 callersFunctioncreateHeaderApp
(extraHeaders: Record<string, string>)
gen.pollinations.ai/test/tracking-observability.test.ts:156
↓ 1 callersFunctioncreateImageCommand
()
packages/polli-cli/src/commands/gen/image.ts:13
↓ 1 callersFunctioncreateInceptionModelConfig
( overrides: ModelOverride = {}, )
gen.pollinations.ai/src/text/configs/providerConfigs.ts:108
↓ 1 callersFunctioncreateInternalErrorResponse
( error: Error, status: ContentfulStatusCode, timestamp: string, )
shared/error.ts:287
↓ 1 callersFunctioncreateInvalidMessageNameError
(role: string)
gen.pollinations.ai/src/text/textGenerationUtils.ts:9
↓ 1 callersMethodcreateKey
* Create a new API key. The returned `key` field is ONLY shown once * at creation — store it immediately. * * @example * ```ts
packages/sdk/src/client.ts:1803
↓ 1 callersFunctioncreateMediaEnv
(bucket = createTestR2Bucket())
media.pollinations.ai/test/integration.test.ts:31
↓ 1 callersFunctioncreateMockGithub
()
enter.pollinations.ai/test/mocks/github.ts:49
↓ 1 callersFunctioncreateMockStripe
()
enter.pollinations.ai/test/mocks/stripe.ts:191
↓ 1 callersFunctioncreateMocks
()
enter.pollinations.ai/test/fixtures.ts:28
↓ 1 callersFunctioncreateOVHcloudMistralConfig
( overrides: ModelOverride = {}, )
gen.pollinations.ai/src/text/configs/providerConfigs.ts:138
↓ 1 callersFunctioncreateOVHcloudModelConfig
( overrides: ModelOverride = {}, )
gen.pollinations.ai/src/text/configs/providerConfigs.ts:128
↓ 1 callersFunctioncreateOpenAIMock
()
gen.pollinations.ai/test/embeddings/embeddings.test.ts:139
↓ 1 callersFunctioncreatePagesProject
(account, headers, project, appConfig)
apps/_scripts/deploy-app.js:75
↓ 1 callersFunctioncreatePollyConfig
( overrides: ModelOverride = {}, )
gen.pollinations.ai/src/text/configs/providerConfigs.ts:152
↓ 1 callersFunctioncreatePortalConfiguration
( id: string, form: URLSearchParams, )
enter.pollinations.ai/test/mocks/stripe.ts:589
↓ 1 callersFunctioncreatePrompt
( question: string, catReply: string, hasAvatar: boolean, )
apps/catgpt-bot/bot.ts:72
↓ 1 callersFunctioncreateRealtimeBillingContext
( c: Context<Env>, )
gen.pollinations.ai/src/routes/realtime.ts:610
↓ 1 callersFunctioncreateRealtimeTrackingEvent
(args: { tracking: RealtimeBillingContext; startTime: Date; endTime: Date; usage: Usage; c
gen.pollinations.ai/src/routes/realtime.ts:386
↓ 1 callersFunctioncreateSafetyIdentifier
( userId: string, secret: string, )
gen.pollinations.ai/src/routes/realtime.ts:105
↓ 1 callersFunctioncreateServerErrorEnvelope
( c: Context<TEnv>, error: Error, status: number, timestamp: string, )
shared/error.ts:404
↓ 1 callersFunctioncreateSnapshotServerSetup
(options: SnapshotServerOptions = {})
shared/test/mocks/snapshot-server.ts:15
↓ 1 callersFunctioncreateTestApp
()
gen.pollinations.ai/test/error-observability.test.ts:19
↓ 1 callersFunctioncreateTextCommand
()
packages/polli-cli/src/commands/gen/text.ts:23
↓ 1 callersFunctioncreateTokenProvider
()
enter.pollinations.ai/src/tier-progression/flows/cleanup-github-users.ts:163
↓ 1 callersFunctioncreateTrackingEvent
({ id, requestId, requestPath, startTime, endTime, environment, eventType, ipS
gen.pollinations.ai/src/middleware/track.ts:664
↓ 1 callersFunctioncreateTranscribeCommand
()
packages/polli-cli/src/commands/gen/transcribe.ts:14
↓ 1 callersFunctioncreateUpstreamErrorResponse
( error: UpstreamError, status: ContentfulStatusCode, timestamp: string, )
shared/error.ts:297
↓ 1 callersFunctioncreateUsageApiKey
(sessionToken: string)
enter.pollinations.ai/test/account-usage.test.ts:9
↓ 1 callersFunctioncreateValidationErrorResponse
( error: ValidationError, status: ContentfulStatusCode, timestamp: string, )
shared/error.ts:275
↓ 1 callersFunctioncreateVertexMock
()
gen.pollinations.ai/test/embeddings/embeddings.test.ts:87
↓ 1 callersFunctioncreateVideoCommand
()
packages/polli-cli/src/commands/gen/video.ts:13
↓ 1 callersFunctioncreate_api_app
Create FastAPI app that shares the bot's services. No lifespan — bot handles init/shutdown. No tool registration — uses bot's pollinations_cl
apps/polly/src/api/polly_api.py:107
↓ 1 callersFunctioncreate_buffer_post
Create a Buffer post for a single channel via GraphQL. Args: access_token: Buffer API access token channel_id: Buffer channel ID
social/scripts/buffer_utils.py:148
↓ 1 callersFunctioncreate_buffer_post_with_retry
Create a Buffer post with retry logic for rate limits. Retries on LimitReachedError responses from the GraphQL API.
social/scripts/buffer_publish.py:96
↓ 1 callersFunctioncreate_highlights_prompt
Create prompt to extract only the most significant highlights.
social/scripts/generate_daily.py:95
↓ 1 callersMethodcreate_pr
Create a new pull request.
apps/polly/src/services/github_pr.py:672
↓ 1 callersFunctioncreditCheckoutSessionOnce
({ env, event, session, userId, creditsToAdd, }: { env: CloudflareBindings; event:
enter.pollinations.ai/src/routes/stripe-webhooks.ts:203
↓ 1 callersFunctioncs
(e)
apps/operation/quest-dashboard/assets/bundle.js:4
↓ 1 callersFunctioncurrentMonth
()
apps/operation/finance/bin/update-live.mjs:54
↓ 1 callersFunctioncurrentMonthFromClock
()
apps/operation/finance/bin/rebuild-sheet.mjs:41
↓ 1 callersFunctioncv
({progress:e,value:t,defaultValue:n,min:r,max:o})
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctioncw
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctioncx
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 1 callersFunctiondashboardCallbackUrl
(activePage: DashboardPage)
enter.pollinations.ai/frontend/src/routes/sign-in.tsx:69
↓ 1 callersFunctiondecimalsForActivityPollen
(abs: number)
enter.pollinations.ai/frontend/src/components/activity/format-activity-pollen.ts:13
↓ 1 callersFunctiondecodeHtmlEntities
(value)
apps/chat/src/utils/markdown.js:17
↓ 1 callersFunctiondecodePrompt
(rawPrompt: string)
gen.pollinations.ai/src/image/handler.ts:90
↓ 1 callersFunctiondecodePrompt
(rawPrompt: string)
gen.pollinations.ai/src/model3d/handler.ts:57
↓ 1 callersFunctiondecryptSecret
( encrypted: string, secret: string, )
shared/secret-encryption.ts:19
↓ 1 callersFunctiondeductApiKeyBalance
( db: DrizzleD1Database, apiKeyId: string, amount: number, )
shared/billing/track-helpers.ts:309
↓ 1 callersFunctiondeductUserBalance
( db: DrizzleD1Database, userId: string, amount: number, modelPaidOnly?: boolean, )
shared/billing/track-helpers.ts:334
↓ 1 callersFunctiondelay
(ms: number)
apps/sirius-cybernetics-elevator-challenge/src/utils/api.ts:62
↓ 1 callersFunctiondelay
(ms: number)
gen.pollinations.ai/src/routes/assemblyai-transcription.ts:346
↓ 1 callersFunctiondeleteCname
(zoneId, headers, name)
apps/_scripts/deploy-app.js:284
↓ 1 callersFunctiondeleteOldRows
Delete rows matching a condition from a Tinybird datasource.
enter.pollinations.ai/src/services/d1-tinybird-sync.ts:68
↓ 1 callersMethoddeleteVersion
(chainId: string, versionId: string)
apps/reimagine/src/services/TransformationService.ts:123
↓ 1 callersMethoddelete_comment
Delete a comment by its ID. Only the original requester can delete.
apps/polly/src/services/github.py:400
↓ 1 callersFunctionderLength
(n: number)
shared/github/app-auth.ts:70
↓ 1 callersFunctionderiveCardStatus
( comingSoon: boolean, previewAll: boolean, reward: QuestReward | undefined, )
enter.pollinations.ai/frontend/src/components/quests/quest-overview.tsx:129
↓ 1 callersFunctionderivePrice
(svc: ModelDefinition)
shared/registry/registry.ts:201
↓ 1 callersFunctiondescribeAppKey
(appKey: string)
packages/sdk/src/react/PolliProvider.tsx:119
↓ 1 callersFunctiondetachPagesDomainFromProject
( account, headers, project, customDomain, )
apps/_scripts/deploy-app.js:136
↓ 1 callersFunctiondetectContentType
(filename: string)
media.pollinations.ai/src/index.ts:556
↓ 1 callersFunctiondetectMimeType
(url: string, contentType: string | null)
gen.pollinations.ai/src/text/transforms/imageUrlToBase64Transform.ts:87
↓ 1 callersFunctiondetectUsageConvention
( openaiUsage: { prompt_tokens: number; completion_tokens: number; total_tokens: n
shared/registry/usage-headers.ts:179
↓ 1 callersFunctiondetect_and_parse_markdown_tables
(text: str)
apps/polly/src/services/media_handlers.py:545
↓ 1 callersMethoddetermineModel
* choise the right model depending number of images
apps/reimagine/src/services/ImagePreparationService.ts:146
↓ 1 callersFunctiondiff_models
( previous: dict[str, list[dict[str, Any]]] | None, current: dict[str, list[dict[str, Any]]], )
social/scripts/generate_models_news.py:318
↓ 1 callersMethoddisable_auto_merge
Disable auto-merge for a PR.
apps/polly/src/services/github_pr.py:1197
↓ 1 callersFunctiondiscord_payload
( discord_text: str, date_str: str, previous_date: str | None, role_id: str | None )
social/scripts/generate_models_news.py:427
↓ 1 callersFunctiondm
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:18
↓ 1 callersFunctiondocsLandingHtml
(c: Context<Env>)
gen.pollinations.ai/src/routes/seo.ts:125
↓ 1 callersFunctiondownloadFromS3
* Download the output video from S3 * Nova Reel writes output.mp4 under the S3 prefix
gen.pollinations.ai/src/image/models/novaReelModel.ts:304
↓ 1 callersFunctiondownloadImageAsBase64
( imageUrl: string, signal?: AbortSignal, )
gen.pollinations.ai/src/image/utils/imageDownload.ts:100
↓ 1 callersFunctiondownloadMesh
(url: string)
gen.pollinations.ai/src/model3d/modelUtils.ts:34
↓ 1 callersFunctiondrawPreview
()
packages/ui/src/compositions/FileUpload.tsx:81
↓ 1 callersFunctiondurationToFrameCount
* Convert duration in seconds to frame count for LTX-2 * LTX-2 requires frame count to be 8n+1 (e.g., 9, 17, 25, ..., 121)
gen.pollinations.ai/src/image/models/ltx2VideoModel.ts:42
↓ 1 callersFunctiondw
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctione1
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersFunctionea
(e)
apps/operation/quest-dashboard/assets/bundle.js:27
↓ 1 callersFunctioned
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 1 callersMethodedit_comment
(self, comment_id: int, new_body: str, requester: str = None)
apps/polly/src/services/github.py:350
↓ 1 callersMethodedit_issue
Edit an issue's title and/or body.
apps/polly/src/services/github.py:531
← previousnext →2,201–2,300 of 5,304, ranked by callers