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
callGPTImageWithEndpoint
( prompt: string, safeParams: ImageParams, userInfo: AuthResult, config: GPTImageConfig = GPTI
gen.pollinations.ai/src/image/createAndReturnImages.ts:332
↓ 1 callers
Function
callGeminiEmbed
( modelId: string, parts: GeminiPart[], taskType?: GeminiTaskType, outputDimensionality?: numb
gen.pollinations.ai/src/embeddings/vertex.ts:48
↓ 1 callers
Function
callLtx2API
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/ltx2VideoModel.ts:261
↓ 1 callers
Function
callNovaReelAPI
( prompt: string, safeParams: ImageParams, requestId: string, )
gen.pollinations.ai/src/image/models/novaReelModel.ts:100
↓ 1 callers
Function
callOpenAIEmbed
( env: CloudflareBindings, modelId: string, input: string[], dimensions?: number, )
gen.pollinations.ai/src/embeddings/openai.ts:28
↓ 1 callers
Function
callQwenImageAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/qwenImageModel.ts:73
↓ 1 callers
Function
callScoringAPI
( chunk: User[], apiKey: string, modelName: string, )
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-scan.ts:325
↓ 1 callers
Function
callSeedanceProAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/seedanceReplicateVideoModel.ts:216
↓ 1 callers
Function
callSeedanceV2API
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/seedanceV2VideoModel.ts:65
↓ 1 callers
Function
callVeoAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/veoVideoModel.ts:79
↓ 1 callers
Function
callVertexAIGemini
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/vertexAIImageGenerator.ts:90
↓ 1 callers
Function
canCoverEstimatedCharge
( balances: UserBalance, estimatedCost: number, isPaidOnly = false, )
shared/billing/bucket-selection.ts:8
↓ 1 callers
Function
canEnable
(setup: SetupReadiness)
enter.pollinations.ai/frontend/src/components/pollen/auto-top-up-panel.tsx:497
↓ 1 callers
Function
capabilities
(m: ModelEntry)
packages/polli-cli/src/commands/models.ts:35
↓ 1 callers
Function
capitalize
(str: string)
shared/util.ts:28
↓ 1 callers
Function
categorizeCommit
(message)
apps/changelog-generator/src/services/gitService.js:29
↓ 1 callers
Function
celebrate
()
apps/catgpt/script.js:202
↓ 1 callers
Function
check
()
pollinations.ai/src/ui/components/BuildDiary.tsx:68
↓ 1 callers
Function
checkFalJob
(handle: FalJobHandle)
gen.pollinations.ai/src/model3d/models/falClient.ts:110
↓ 1 callers
Method
checkForUpdate
()
apps/reimagine/src/services/VersionService.ts:40
↓ 1 callers
Function
checkGitHubUser
( githubId: number, token: string, )
enter.pollinations.ai/src/tier-progression/flows/cleanup-github-users.ts:104
↓ 1 callers
Function
checkHealth
()
apps/micro/examples/nextjs-example.js:11
↓ 1 callers
Function
checkIfBanned
()
apps/reimagine/src/components/OptimizedImage.tsx:40
↓ 1 callers
Method
checkRateLimit
()
gen.pollinations.ai/src/durable-objects/PollenRateLimiter.ts:39
↓ 1 callers
Function
checkVersion
()
apps/reimagine/src/components/VersionChecker.tsx:40
↓ 1 callers
Function
check_nsfw
(image_array, safety_checker_adj: float = 0.0)
image.pollinations.ai/z-image/server.py:293
↓ 1 callers
Function
check_safety
(x, y)
image.pollinations.ai/nunchaku/server.py:14
↓ 1 callers
Function
chunk_message
Split message into chunks at paragraph breaks.
social/scripts/publish_weekly.py:64
↓ 1 callers
Function
claimAutoTopUpAttempt
( db: D1Database, input: { attemptId: string; userId: string; amountUsd: numbe
enter.pollinations.ai/src/utils/stripe-billing.ts:948
↓ 1 callers
Function
clampDimensions
* 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 callers
Function
clampNumber
(value, min, max)
apps/chat/src/components/SettingsPanel.jsx:20
↓ 1 callers
Function
clamp_dims
(w, h)
image.pollinations.ai/sana/server.py:32
↓ 1 callers
Function
classifyFalHttpStatus
(httpStatus: number)
gen.pollinations.ai/src/model3d/models/falClient.ts:186
↓ 1 callers
Function
classifyImageHttpError
(error: HttpError)
gen.pollinations.ai/src/image/handler.ts:237
↓ 1 callers
Function
classifyInferenceportHttpStatus
(httpStatus: number)
gen.pollinations.ai/src/model3d/models/inferenceportClient.ts:113
↓ 1 callers
Function
classifyReplicateHttpStatus
(httpStatus: number)
gen.pollinations.ai/src/image/utils/replicateClient.ts:167
↓ 1 callers
Function
classifyReplicatePredictionError
(message: string)
gen.pollinations.ai/src/image/utils/replicateClient.ts:185
↓ 1 callers
Function
classifyTriggers
( response: BedrockResponse, features: Set<SafetyFeature>, )
gen.pollinations.ai/src/utils/safety-features.ts:37
↓ 1 callers
Function
classifyType
(m: ModelEntry)
packages/polli-cli/src/commands/models.ts:25
↓ 1 callers
Function
cleanApiResponse
(text: string)
apps/ai-dungeon-master/src/App.tsx:337
↓ 1 callers
Function
cleanRedirectUris
(redirectUris: string[])
shared/auth/api-key-creation.ts:116
↓ 1 callers
Function
cleanRedirectUris
(uris: string[])
enter.pollinations.ai/frontend/src/components/keys/edit-api-key-dialog.tsx:43
↓ 1 callers
Function
cleanResponse
* Clean up AI response by removing think tags and model name prefixes
apps/discord-bot-family/src-functional/bot-loop.ts:32
↓ 1 callers
Method
cleanup_expired
(self)
apps/polly/src/context/manager.py:77
↓ 1 callers
Function
clear
()
shared/test/mocks/fetch.ts:90
↓ 1 callers
Function
clearCredentials
()
packages/polli-cli/src/lib/config.ts:40
↓ 1 callers
Method
clear_session
(self, session: ConversationSession)
apps/polly/src/context/manager.py:57
↓ 1 callers
Method
close_issue
Close an issue with optional comment.
apps/polly/src/services/github.py:449
↓ 1 callers
Function
cm
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:15
↓ 1 callers
Function
collectBillingEvents
( upstream: WebSocket, billing: RealtimeBillingContext, )
gen.pollinations.ai/src/routes/realtime.ts:506
↓ 1 callers
Function
collectChatTextTargets
(body: ChatBody)
gen.pollinations.ai/src/middleware/safety.ts:247
↓ 1 callers
Function
collectPropertySets
(value: unknown)
gen.pollinations.ai/test/openapi-json.test.ts:31
↓ 1 callers
Function
collectRequestInputs
(c: Context)
shared/observability/request-inputs.ts:23
↓ 1 callers
Function
commit_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 callers
Function
commit_daily_to_news
Commit all daily content directly to the news branch. Returns True on success.
social/scripts/generate_daily.py:356
↓ 1 callers
Function
commit_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 callers
Function
commit_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 callers
Function
commit_weekly_to_news
Commit all weekly content directly to the news branch. Returns True on success.
social/scripts/generate_weekly.py:382
↓ 1 callers
Function
communityModelsUrl
(baseUrl: string)
enter.pollinations.ai/src/services/community-endpoint-openai.ts:31
↓ 1 callers
Function
communityPriceDefinition
( endpoint: CommunityEndpointPrices, )
shared/community-endpoints.ts:163
↓ 1 callers
Function
communityPriceGroupKey
( usageType: string, )
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-card.tsx:226
↓ 1 callers
Function
communityPriceGroups
( endpoint: CommunityEndpoint, )
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-card.tsx:194
↓ 1 callers
Function
communityPriceKind
(usageType: string)
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-card.tsx:234
↓ 1 callers
Function
communityTextSupportedEndpoints
()
gen.pollinations.ai/src/community-models.ts:22
↓ 1 callers
Function
compact
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 callers
Function
compareProviderFeatures
()
apps/micro/examples/provider-comparison.js:76
↓ 1 callers
Method
compareVersions
(currentVersion: string, latestVersion: string)
apps/reimagine/src/services/VersionService.ts:24
↓ 1 callers
Function
computeCategoryModalities
( allowedModels: string[] | null, categories: ModelCategoryGroup[] = [], )
enter.pollinations.ai/frontend/src/components/models/model-categories.ts:110
↓ 1 callers
Function
computeGameState
(messages: Message[])
apps/sirius-cybernetics-elevator-challenge/src/game/logic.ts:55
↓ 1 callers
Function
computeKpis
* 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 callers
Method
configToMarkdown
* Convert config back to Markdown (round-trips with parseMarkdown)
apps/slidepainter/src/utils/markdownConfigParser.ts:142
↓ 1 callers
Function
configure
(options: { apiKey?: string; baseUrl?: string; })
packages/sdk/src/helpers.ts:94
↓ 1 callers
Function
confirm
(message: string)
enter.pollinations.ai/src/tier-progression/flows/spore-to-microbe-apply.ts:111
↓ 1 callers
Function
connectAzureRealtime
( c: Context<Env>, userId: string, )
gen.pollinations.ai/src/routes/realtime.ts:119
↓ 1 callers
Function
constantTimeBytesEqual
(left: Uint8Array, right: Uint8Array)
enter.pollinations.ai/src/routes/stripe.ts:344
↓ 1 callers
Function
containsChartRequest
(messages = [])
apps/chat/src/utils/api.js:278
↓ 1 callers
Function
contentDisposition
(prompt: string, extension: string)
gen.pollinations.ai/src/image/handler.ts:121
↓ 1 callers
Function
contentDisposition
(prompt: string)
gen.pollinations.ai/src/model3d/handler.ts:94
↓ 1 callers
Function
contentFilterResultsToEventParams
({ promptFilterResults, completionFilterResults, }: { promptFilterResults: ContentFilterResult;
shared/schemas/generation-event.ts:236
↓ 1 callers
Function
contentFilterResultsToHeaders
( response: CreateChatCompletionResponse, )
gen.pollinations.ai/src/routes/proxy.ts:1103
↓ 1 callers
Function
contentToText
(content: unknown)
gen.pollinations.ai/test/generation-vcr.test.ts:366
↓ 1 callers
Function
convertToJpeg
(buffer: Buffer)
gen.pollinations.ai/src/image/createAndReturnImages.ts:293
↓ 1 callers
Function
convert_latex_to_png
(latex: str)
apps/polly/src/services/media_handlers.py:158
↓ 1 callers
Method
convert_to_draft
Convert a PR to draft using GraphQL mutation.
apps/polly/src/services/github_pr.py:706
↓ 1 callers
Function
copyIntoInput
(sourcePath, destName)
apps/operation/finance/lib/io.mjs:86
↓ 1 callers
Function
copyToClipboard
(text: string, type: string)
apps/reimagine/src/screens/TransformationDetailScreen.tsx:248
↓ 1 callers
Function
countPendingUploads
(gameState: { character: { avatar: string } | null; currentScene: { image: string }; storyHistory:
apps/ai-dungeon-master/src/utils/mediaUpload.ts:51
↓ 1 callers
Function
createAndReturnImageCached
( prompt: string, safeParams: ImageParams, originalPrompt: string, userInfo: AuthResult, )
gen.pollinations.ai/src/image/createAndReturnImages.ts:824
↓ 1 callers
Function
createAndReturnVideo
( prompt: string, safeParams: ImageParams, requestId: string, )
gen.pollinations.ai/src/image/createAndReturnVideos.ts:34
↓ 1 callers
Function
createApiError
( response: { status: number; statusText: string }, details: unknown, modelName: string, )
gen.pollinations.ai/src/text/genericOpenAIClient.ts:89
↓ 1 callers
Function
createAudioCommand
()
packages/polli-cli/src/commands/gen/audio.ts:16
↓ 1 callers
Function
createAuthClientInstance
()
enter.pollinations.ai/test/fixtures.ts:18
↓ 1 callers
Function
createAuthResult
(c: ImageContext)
gen.pollinations.ai/src/image/handler.ts:71
↓ 1 callers
Function
createAutoTopUpIdempotencyKey
(attemptId: string)
enter.pollinations.ai/src/utils/stripe-billing.ts:1307
↓ 1 callers
Function
createBalanceCheckResult
( balances: UserBalance, isPaidOnly = false, amount?: number, )
shared/billing/balance.ts:69
↓ 1 callers
Function
createBillingPortalSession
( env: CloudflareBindings, userId: string, )
enter.pollinations.ai/src/utils/stripe-billing.ts:193
↓ 1 callers
Function
createBotConfig
* Create bot configuration from CLI arguments
apps/discord-bot-family/src-functional/cli.ts:84
↓ 1 callers
Function
createCaptureStream
( c: Context<TEnv>, cacheKey: string, response: Response, )
gen.pollinations.ai/src/utils/text-cache.ts:211
↓ 1 callers
Function
createCardPaymentFailedEvent
({ eventId, paymentIntentId, userId, }: { eventId: string; paymentIntentId: string; us
enter.pollinations.ai/test/integration/stripe.test.ts:193
↓ 1 callers
Method
createChain
( sourceImages: ImageSource[], firstVersion: TransformationVersion )
apps/reimagine/src/services/TransformationService.ts:42
← previous
next →
2,101–2,200 of 5,304, ranked by callers