list_models
List media models
List the image, video and audio models with what each accepts (tasks, aspect ratios, resolutions, duration range, modes) and its price in credits. Call this before generate_media; use the exact ids and values it returns.
Parameterstasktype
Full parameter details and pricing for one media model.
ParametersmodelIdrequired
estimate_cost
Estimate a generation cost
Approximate credits for a media generation from the live price list. The exact amount is held when you call generate_media; pass maxCredits there to make it a hard ceiling.
ParametersmodelIdrequireddurationresolution
generate_media
Generate image / video / audio
Start a generation. SPENDS CREDITS from the wallet (held now, settled to the actual cost when the job ends; refunded if it fails). Returns a taskId immediately - follow it with get_task (waitSeconds) until completed. Use only the user's own prompt text. For image-to-video etc. upload the source first (upload_source_media). Requires an API key with the "generate" scope.
ParametersmodetaskratiopromptrequiredmodelIdrequireddurationmaxCreditsresolutionstylePresetwaitSecondscameraMotiongenerateAudio+3 more
get_task
Check a generation job
Status, progress and result of a job started with generate_media. With waitSeconds it waits for completion. resultUrl is a time-limited link - download or use it promptly. Polling also settles the wallet when the job ends.
ParameterstaskIdrequiredwaitSeconds
cancel_task
Cancel a running job
Stop a job that is still processing and refund its hold. Requires a "generate" key.
ParameterstaskIdrequired
retry_task
Retry a failed job
Re-run a failed or cancelled job as a new job. SPENDS CREDITS again (a fresh hold). Requires a "generate" key.
ParameterstaskIdrequired
upload_source_media
Upload a source file
Upload an image, video or audio file (PNG, JPEG, WebP, GIF, MP4, WebM, MOV, MP3, WAV) to use as sourceImageUrl in generate_media. Send the bytes as base64 (or a local filePath when this server runs locally). Requires a "generate" key.
ParametersfilePathfilenamedataBase64
list_chat_models
List chat models
The text/chat models available to chat, with the default and whether each is currently available.
Takes no parameters.
Send one chat turn to a TurboMax text model and return its reply. SPENDS CREDITS (held, then settled to actual usage). Stateless: send the whole conversation in messages, or just message for a single question. Requires a "generate" key.
ParametersmessagemodelIdmessagesreasoningEffort
get_wallet
Wallet balance and usage
Credit balance, credits-per-dollar, today's usage against the account limits, and recent ledger entries.
Parameterstransactions
list_generations
List my generations
The account's generation history, newest first, with status, cost and result links.
Parameterslimitoffsetstatus
browse_gallery
Browse the community gallery
Work other users chose to publish, with the prompt and model used. Public; anonymous.
Parameterslimitoffset