Community Models

Update My Model

Update a community model owned by the authenticated account. Code-agent names, titles, and descriptions come from GitHub; an empty description is ignored. Changing visibility to public requires an allowlisted account and takes effect after 3 hours; public models may be free or priced. API keys require account:keys.

post/account/my-models/{id}/update

Request

  • Base URL: https://gen.pollinations.ai
  • URL: https://gen.pollinations.ai/account/my-models/{id}/update
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

namestring
titlestring

Display name shown in the model catalog.

descriptionstring
visibility'private' | 'public'

"private": owner-only and free at runtime; saved prices and fallbacks are retained. "public": callable by anyone and listed in the catalog when reliability permits. Publishing requires an allowlisted account.

requiredSafetyFeaturesstring[]

Input safety checks callers cannot disable. Use sexual and violence to block harmful prompts before they reach the provider.

baseUrlstring uri

Media API base URL or full endpoint URL. For video, the exact generation URL.

api'chat_completions' | 'responses'
urlstring uri

Exact upstream endpoint URL for the selected text API, including its path and query parameters.

upstreamModelstring
bearerTokenstring
perUserRpmnumber nullable

Maximum requests per minute for each Pollinations user. Decimals are supported; 0.5 means one request every two minutes. Null means no Pollinations-side limit.

paidOnlyboolean

Restrict callers to spending Paid Pollen on this model. Use it when the upstream bills per use, so Quest Pollen cannot cover the price and leave you paying the inference cost.

imagePricing'request' | 'tokens'

Image models only. "request": the generated-image price is charged once per generation. "tokens": provider-returned OpenAI image token usage is charged against per-token prices. Detected by the endpoint test.

inputModalitiesstring[]

Input types accepted by the model. Select every supported modality so the model catalog can advertise them accurately.

fallbacksstring[]

Community model ids ("community/<owner>/<name>") tried in order when this model's upstream fails, or an empty array to clear them. Each must be another registered community model of the same modality, public or owned by you, and priced at or below this model on every price field.

promptTextPricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

promptCachedPricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

promptCacheWritePricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

promptAudioPricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

promptImagePricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

completionTextPricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

completionReasoningPricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

completionAudioPricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

completionImagePricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

completionVideoPricenumber

Pollen price. Token rates are per token internally (the dashboard displays per 1M); completionImagePrice is per generated image when imagePricing is "request"; completionVideoPrice is per generated second.

outputModalitiesstring[]

Output types produced by the agent. Defaults to text.

Response

Updated community model

OR
OR
OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.