MCPcopy Create free account

hub / github.com/pollinations/pollinations / functions

Functions5,304 in github.com/pollinations/pollinations

↓ 1 callersFunctioncallGPTImageWithEndpoint
( prompt: string, safeParams: ImageParams, userInfo: AuthResult, config: GPTImageConfig = GPTI
gen.pollinations.ai/src/image/createAndReturnImages.ts:332
↓ 1 callersFunctioncallGeminiEmbed
( modelId: string, parts: GeminiPart[], taskType?: GeminiTaskType, outputDimensionality?: numb
gen.pollinations.ai/src/embeddings/vertex.ts:48
↓ 1 callersFunctioncallLtx2API
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/ltx2VideoModel.ts:261
↓ 1 callersFunctioncallNovaReelAPI
( prompt: string, safeParams: ImageParams, requestId: string, )
gen.pollinations.ai/src/image/models/novaReelModel.ts:100
↓ 1 callersFunctioncallOpenAIEmbed
( env: CloudflareBindings, modelId: string, input: string[], dimensions?: number, )
gen.pollinations.ai/src/embeddings/openai.ts:28
↓ 1 callersFunctioncallQwenImageAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/qwenImageModel.ts:73
↓ 1 callersFunctioncallScoringAPI
( chunk: User[], apiKey: string, modelName: string, )
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-scan.ts:325
↓ 1 callersFunctioncallSeedanceProAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/seedanceReplicateVideoModel.ts:216
↓ 1 callersFunctioncallSeedanceV2API
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/seedanceV2VideoModel.ts:65
↓ 1 callersFunctioncallVeoAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/veoVideoModel.ts:79
↓ 1 callersFunctioncallVertexAIGemini
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/vertexAIImageGenerator.ts:90
↓ 1 callersFunctioncanCoverEstimatedCharge
( balances: UserBalance, estimatedCost: number, isPaidOnly = false, )
shared/billing/bucket-selection.ts:8
↓ 1 callersFunctioncanEnable
(setup: SetupReadiness)
enter.pollinations.ai/frontend/src/components/pollen/auto-top-up-panel.tsx:497
↓ 1 callersFunctioncapabilities
(m: ModelEntry)
packages/polli-cli/src/commands/models.ts:35
↓ 1 callersFunctioncapitalize
(str: string)
shared/util.ts:28
↓ 1 callersFunctioncategorizeCommit
(message)
apps/changelog-generator/src/services/gitService.js:29
↓ 1 callersFunctioncelebrate
()
apps/catgpt/script.js:202
↓ 1 callersFunctioncheck
()
pollinations.ai/src/ui/components/BuildDiary.tsx:68
↓ 1 callersFunctioncheckFalJob
(handle: FalJobHandle)
gen.pollinations.ai/src/model3d/models/falClient.ts:110
↓ 1 callersMethodcheckForUpdate
()
apps/reimagine/src/services/VersionService.ts:40
↓ 1 callersFunctioncheckGitHubUser
( githubId: number, token: string, )
enter.pollinations.ai/src/tier-progression/flows/cleanup-github-users.ts:104
↓ 1 callersFunctioncheckHealth
()
apps/micro/examples/nextjs-example.js:11
↓ 1 callersFunctioncheckIfBanned
()
apps/reimagine/src/components/OptimizedImage.tsx:40
↓ 1 callersMethodcheckRateLimit
()
gen.pollinations.ai/src/durable-objects/PollenRateLimiter.ts:39
↓ 1 callersFunctioncheckVersion
()
apps/reimagine/src/components/VersionChecker.tsx:40
↓ 1 callersFunctioncheck_nsfw
(image_array, safety_checker_adj: float = 0.0)
image.pollinations.ai/z-image/server.py:293
↓ 1 callersFunctioncheck_safety
(x, y)
image.pollinations.ai/nunchaku/server.py:14
↓ 1 callersFunctionchunk_message
Split message into chunks at paragraph breaks.
social/scripts/publish_weekly.py:64
↓ 1 callersFunctionclaimAutoTopUpAttempt
( db: D1Database, input: { attemptId: string; userId: string; amountUsd: numbe
enter.pollinations.ai/src/utils/stripe-billing.ts:948
↓ 1 callersFunctionclampDimensions
* Clamp and align dimensions to Nova Canvas constraints: * - 320-4096px per side, divisible by 16 * - Total pixels < 4,194,304
gen.pollinations.ai/src/image/models/novaCanvasModel.ts:36
↓ 1 callersFunctionclampNumber
(value, min, max)
apps/chat/src/components/SettingsPanel.jsx:20
↓ 1 callersFunctionclamp_dims
(w, h)
image.pollinations.ai/sana/server.py:32
↓ 1 callersFunctionclassifyFalHttpStatus
(httpStatus: number)
gen.pollinations.ai/src/model3d/models/falClient.ts:186
↓ 1 callersFunctionclassifyImageHttpError
(error: HttpError)
gen.pollinations.ai/src/image/handler.ts:237
↓ 1 callersFunctionclassifyInferenceportHttpStatus
(httpStatus: number)
gen.pollinations.ai/src/model3d/models/inferenceportClient.ts:113
↓ 1 callersFunctionclassifyReplicateHttpStatus
(httpStatus: number)
gen.pollinations.ai/src/image/utils/replicateClient.ts:167
↓ 1 callersFunctionclassifyReplicatePredictionError
(message: string)
gen.pollinations.ai/src/image/utils/replicateClient.ts:185
↓ 1 callersFunctionclassifyTriggers
( response: BedrockResponse, features: Set<SafetyFeature>, )
gen.pollinations.ai/src/utils/safety-features.ts:37
↓ 1 callersFunctionclassifyType
(m: ModelEntry)
packages/polli-cli/src/commands/models.ts:25
↓ 1 callersFunctioncleanApiResponse
(text: string)
apps/ai-dungeon-master/src/App.tsx:337
↓ 1 callersFunctioncleanRedirectUris
(redirectUris: string[])
shared/auth/api-key-creation.ts:116
↓ 1 callersFunctioncleanRedirectUris
(uris: string[])
enter.pollinations.ai/frontend/src/components/keys/edit-api-key-dialog.tsx:43
↓ 1 callersFunctioncleanResponse
* Clean up AI response by removing think tags and model name prefixes
apps/discord-bot-family/src-functional/bot-loop.ts:32
↓ 1 callersMethodcleanup_expired
(self)
apps/polly/src/context/manager.py:77
↓ 1 callersFunctionclear
()
shared/test/mocks/fetch.ts:90
↓ 1 callersFunctionclearCredentials
()
packages/polli-cli/src/lib/config.ts:40
↓ 1 callersMethodclear_session
(self, session: ConversationSession)
apps/polly/src/context/manager.py:57
↓ 1 callersMethodclose_issue
Close an issue with optional comment.
apps/polly/src/services/github.py:449
↓ 1 callersFunctioncm
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:15
↓ 1 callersFunctioncollectBillingEvents
( upstream: WebSocket, billing: RealtimeBillingContext, )
gen.pollinations.ai/src/routes/realtime.ts:506
↓ 1 callersFunctioncollectChatTextTargets
(body: ChatBody)
gen.pollinations.ai/src/middleware/safety.ts:247
↓ 1 callersFunctioncollectPropertySets
(value: unknown)
gen.pollinations.ai/test/openapi-json.test.ts:31
↓ 1 callersFunctioncollectRequestInputs
(c: Context)
shared/observability/request-inputs.ts:23
↓ 1 callersFunctioncommit_artifacts_atomically
Commit all four artifacts to the news branch in a single tree commit. All-or-nothing: GitHub either advances the ref to a commit containing e
social/scripts/publish_models_news.py:319
↓ 1 callersFunctioncommit_daily_to_news
Commit all daily content directly to the news branch. Returns True on success.
social/scripts/generate_daily.py:356
↓ 1 callersFunctioncommit_gist
Commit a gist JSON file to the news branch via the GitHub Contents API. Returns True on success, False on failure.
social/scripts/common.py:584
↓ 1 callersFunctioncommit_text_to_news
( github_token: str, owner: str, repo: str, file_path: str, content: str, message: str
social/scripts/generate_models_news.py:397
↓ 1 callersFunctioncommit_weekly_to_news
Commit all weekly content directly to the news branch. Returns True on success.
social/scripts/generate_weekly.py:382
↓ 1 callersFunctioncommunityModelsUrl
(baseUrl: string)
enter.pollinations.ai/src/services/community-endpoint-openai.ts:31
↓ 1 callersFunctioncommunityPriceDefinition
( endpoint: CommunityEndpointPrices, )
shared/community-endpoints.ts:163
↓ 1 callersFunctioncommunityPriceGroupKey
( usageType: string, )
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-card.tsx:226
↓ 1 callersFunctioncommunityPriceGroups
( endpoint: CommunityEndpoint, )
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-card.tsx:194
↓ 1 callersFunctioncommunityPriceKind
(usageType: string)
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-card.tsx:234
↓ 1 callersFunctioncommunityTextSupportedEndpoints
()
gen.pollinations.ai/src/community-models.ts:22
↓ 1 callersFunctioncompact
Abbreviate a value >= 1000 as K/M/B with one decimal (locale-stable, "1.5K").
enter.pollinations.ai/frontend/src/components/models/calculations.ts:11
↓ 1 callersFunctioncompareProviderFeatures
()
apps/micro/examples/provider-comparison.js:76
↓ 1 callersMethodcompareVersions
(currentVersion: string, latestVersion: string)
apps/reimagine/src/services/VersionService.ts:24
↓ 1 callersFunctioncomputeCategoryModalities
( allowedModels: string[] | null, categories: ModelCategoryGroup[] = [], )
enter.pollinations.ai/frontend/src/components/models/model-categories.ts:110
↓ 1 callersFunctioncomputeGameState
(messages: Message[])
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:55
↓ 1 callersFunctioncomputeKpis
* Compute KPIs by reading the running-cash values that are already visible * in the table. No hidden formulas — runway = how many months until cash
apps/operation/finance/lib/layout.mjs:110
↓ 1 callersMethodconfigToMarkdown
* Convert config back to Markdown (round-trips with parseMarkdown)
apps/slidepainter/src/utils/markdownConfigParser.ts:142
↓ 1 callersFunctionconfigure
(options: { apiKey?: string; baseUrl?: string; })
packages/sdk/src/helpers.ts:94
↓ 1 callersFunctionconfirm
(message: string)
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-apply.ts:111
↓ 1 callersFunctionconnectAzureRealtime
( c: Context<Env>, userId: string, )
gen.pollinations.ai/src/routes/realtime.ts:119
↓ 1 callersFunctionconstantTimeBytesEqual
(left: Uint8Array, right: Uint8Array)
enter.pollinations.ai/src/routes/stripe.ts:344
↓ 1 callersFunctioncontainsChartRequest
(messages = [])
apps/chat/src/utils/api.js:278
↓ 1 callersFunctioncontentDisposition
(prompt: string, extension: string)
gen.pollinations.ai/src/image/handler.ts:121
↓ 1 callersFunctioncontentDisposition
(prompt: string)
gen.pollinations.ai/src/model3d/handler.ts:94
↓ 1 callersFunctioncontentFilterResultsToEventParams
({ promptFilterResults, completionFilterResults, }: { promptFilterResults: ContentFilterResult;
shared/schemas/generation-event.ts:236
↓ 1 callersFunctioncontentFilterResultsToHeaders
( response: CreateChatCompletionResponse, )
gen.pollinations.ai/src/routes/proxy.ts:1103
↓ 1 callersFunctioncontentToText
(content: unknown)
gen.pollinations.ai/test/generation-vcr.test.ts:366
↓ 1 callersFunctionconvertToJpeg
(buffer: Buffer)
gen.pollinations.ai/src/image/createAndReturnImages.ts:293
↓ 1 callersFunctionconvert_latex_to_png
(latex: str)
apps/polly/src/services/media_handlers.py:158
↓ 1 callersMethodconvert_to_draft
Convert a PR to draft using GraphQL mutation.
apps/polly/src/services/github_pr.py:706
↓ 1 callersFunctioncopyIntoInput
(sourcePath, destName)
apps/operation/finance/lib/io.mjs:86
↓ 1 callersFunctioncopyToClipboard
(text: string, type: string)
apps/reimagine/src/screens/TransformationDetailScreen.tsx:248
↓ 1 callersFunctioncountPendingUploads
(gameState: { character: { avatar: string } | null; currentScene: { image: string }; storyHistory:
apps/ai-dungeon-master/src/utils/mediaUpload.ts:51
↓ 1 callersFunctioncreateAndReturnImageCached
( prompt: string, safeParams: ImageParams, originalPrompt: string, userInfo: AuthResult, )
gen.pollinations.ai/src/image/createAndReturnImages.ts:824
↓ 1 callersFunctioncreateAndReturnVideo
( prompt: string, safeParams: ImageParams, requestId: string, )
gen.pollinations.ai/src/image/createAndReturnVideos.ts:34
↓ 1 callersFunctioncreateApiError
( response: { status: number; statusText: string }, details: unknown, modelName: string, )
gen.pollinations.ai/src/text/genericOpenAIClient.ts:89
↓ 1 callersFunctioncreateAudioCommand
()
packages/polli-cli/src/commands/gen/audio.ts:16
↓ 1 callersFunctioncreateAuthClientInstance
()
enter.pollinations.ai/test/fixtures.ts:18
↓ 1 callersFunctioncreateAuthResult
(c: ImageContext)
gen.pollinations.ai/src/image/handler.ts:71
↓ 1 callersFunctioncreateAutoTopUpIdempotencyKey
(attemptId: string)
enter.pollinations.ai/src/utils/stripe-billing.ts:1307
↓ 1 callersFunctioncreateBalanceCheckResult
( balances: UserBalance, isPaidOnly = false, amount?: number, )
shared/billing/balance.ts:69
↓ 1 callersFunctioncreateBillingPortalSession
( env: CloudflareBindings, userId: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:193
↓ 1 callersFunctioncreateBotConfig
* Create bot configuration from CLI arguments
apps/discord-bot-family/src-functional/cli.ts:84
↓ 1 callersFunctioncreateCaptureStream
( c: Context<TEnv>, cacheKey: string, response: Response, )
gen.pollinations.ai/src/utils/text-cache.ts:211
↓ 1 callersFunctioncreateCardPaymentFailedEvent
({ eventId, paymentIntentId, userId, }: { eventId: string; paymentIntentId: string; us
enter.pollinations.ai/test/integration/stripe.test.ts:193
↓ 1 callersMethodcreateChain
( sourceImages: ImageSource[], firstVersion: TransformationVersion )
apps/reimagine/src/services/TransformationService.ts:42
← previousnext →2,101–2,200 of 5,304, ranked by callers