gallery_load, media_selector_load, and poll_run_status—support embedded widgets and are intentionally hidden from the model tool list.
- Account
- Generation Guidance
- Direct Generation
Check credits and estimate cost before starting expensive generations.
get_balance
Check the user’s current Magica credit balance. Returns the raw microcredit value plus a human-readable string.
get_pricing
Get model or utility pricing;
tool_pricing_catalog lists billing categories. Inspect research, shared compute and token costs as well as generation. Read billing defaults and exclusions: variable usage can change the final charge. Execution charges remain server-controlled.Media utilities
Usetool_name: "generate" for utility models, with the selected utility ID in
input.modelId. Discover the models available to your caller with search_tools,
then fetch the schema before execution and use its exact fields.
generate/modelId shape for independent calls inside
batch_execute. Historical calls with a utility name in tool_name remain
supported for compatibility. Utilities retain their existing prices and actual
usage settlement; read get_pricing instead of assuming they are free.