Loading...
Loading...
Drive the pollo-cli to generate images and videos through the Pollo platform open API — discover a model, read its input fields, submit a generation with local or hosted image inputs, and poll it to a finished URL. Use this whenever the user asks to generate/create/make an image or video, animate a photo, do image-to-video / text-to-video / reference-to-video, check Pollo credit balance or estimate the credit cost of a generation, or asks what Pollo models are available — trigger even if they don't name "pollo-cli" or "pollo" explicitly, e.g. "turn this photo into a video" or "how many credits do I have left". NOT for building the platform API itself (server-side model exposure — use the expose-platform-model-api skill) or wiring a model into the web frontend (use the add-model skill).
npx skill4agent add polloaiofficial/skills pollo-generatepollo-cliinputpollo$PATHnpm i -g @pollo-ai/clicurl -fsSL https://raw.githubusercontent.com/polloaiofficial/cli/main/install.sh | shpollo account statusavailableCreditspollo.aidefaultpollo auth login # opens the browser, logs into pollo.ai -> profile "default"defaultpollo profile list*pollo profile use <name>pollo --profile <name> <command>brandaliaspollo model list # every standard model, capabilities aggregated
pollo model list --type text2video # only models with that capability
pollo model get <brand>/<alias> --fields # this model's input shapecapabilities[]text2videoimage2videoref2videotext2imageimage2imagepath/video/imagefieldsconstraintspathkling-v3-omni--typemodel listget--typegenerate createcostvideoimagemodel get --fields--jsonfields[]{name, type, description, values?, min?, max?}valuesminmaxconstraints[]{id, message, expr}inputinputmessageinputpromptimagerefsref2videofieldsrefs/video/imageinputfieldsreferences/model-routing.mdbrand/aliasalibaba/openai/xai/bytedance/model listpromptreferences/prompt-engineering.mdimageimagesrefsgenerate createcost# optional: estimate before an expensive run, or whenever the user is cost-sensitive
pollo generate cost <brand>/<alias> [--type video|image] --name value ...
# -> cost / singleCost / discountCost / discountSingleCost (+ their *Usd counterparts)
pollo generate create <brand>/<alias> [--type video|image] \
--name value ... --json # -> { "taskId": "...", "status": "waiting" }
pollo generate wait <taskId> [--timeout 10m] [--interval 3s] --json
# -> { "taskId", "credit", "generations": [{ "status": "succeed|failed",
# "url", "mediaType", "failMsg" }] }--type/v1/models--type video|image--name valueinput.<name>truefalse--images <url>refs--refs <url>--webhookUrlinput--waitcreateinputcreatewait--jsoncreatetaskIdgenerationsurlmediaTypestatusfailMsg--json--jsonwaitgetpollo account statusavailableCreditspollo generate cost …availableCreditsgenerate createinsufficient credits — recharge at <url><host>/pricing<host>pollo profile currenthttps://pollo.ai/pricingpollo account status
pollo model list --type text2image
pollo model get google/nano-banana --fields
# Text-to-video
pollo generate create bytedance/seedance-2-0-fast \
--prompt "a red sports car drifting on a mountain road" \
--aspectRatio 16:9 --duration 5 --json
# Text-to-image (endpoint auto-resolved to /image for an image-only model)
pollo generate create pollo-ai/pollo-image-v2 \
--prompt "a cozy cabin in a snowy forest, warm light" --aspectRatio 16:9 --json
# Image-to-image (image field = local path, uploaded automatically; or an HTTPS URL)
pollo generate create google/nano-banana \
--image ./photo.png --prompt "make it nighttime" --aspectRatio 1:1 --json
# Reference-to-video: refs on the video endpoint (repeat --refs for multiple).
# Only refs-capable models accept it — confirm `refs` shows up in model get --fields.
pollo generate create vidu/viduq3 \
--refs ./character.png --prompt "the character walks into frame" --json
# Dual-output model (both /video and /image): pick with --type
pollo generate create kling-ai/kling-v3-omni --type image --prompt "..." --json
pollo generate cost pollo-ai/pollo-image-v2 --prompt "..." --aspectRatio 16:9
pollo generate wait <taskId>
pollo generate get <taskId> # one-shot status check, no pollinginsufficient credits — recharge at …availableCreditsgenerate cost<host>/pricing403 "This model is not enabled for API access."model getgenerate costpollo model get <brand>/<alias> --fieldsfieldsconstraintsinputpollo auth login/file/signgenerate listpollo --helppollo <command> --help--profile--jsonpollo profile list|use|current|removecreatecost{ "input": { ...your --name value... }, "webhookUrl"? }/v1/generation/{brand}/{model}/{video|image}/estimatefieldsconstraintsmodel get --fieldspollo mcp/v1pollo_list_modelsformat: 'fields'pollo_estimate_generation_costpollo_generate_imagepollo_generate_videopollo_get_generation_status