Skip to main content
MuAPI logo
  • Category: artificial intelligence
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 6
  • Triggers: 0
  • Slug: MUAPI
  • Version: 20261101_00

Tools

Slug: MUAPI_ESTIMATE_MODEL_COSTPrice a native catalog model run before submitting it. Returns the estimated charge for the given inputs, which is what to check when a model has dynamic pricing. Estimating is free and generates nothing.

Input Parameters

object
The generation inputs to price, using the model’s own field names. Read input_schema from MUAPI_GET_CATALOG_MODEL to learn them. Fields the model’s pricing depends on must be present: flux-schnell prices on num_images, so omitting it fails with COST_CALC_FAILED.
string
required
Catalog model name, as returned in the name field of MUAPI_LIST_CATALOG_MODELS. Ids from MUAPI_LIST_MODELS belong to the separate OpenAI-compatible surface and are not accepted here.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MUAPI_GENERATE_IMAGEGenerate one or more images from a text prompt through MuAPI’s OpenAI-compatible API. This operation is billable and requires sufficient account credits.

Input Parameters

string
Requested image dimensions in WIDTHxHEIGHT form; support varies by model.
string
MuAPI model ID to use. Call MUAPI_LIST_MODELS to discover available IDs.
string
required
Text description of the image or images to generate.
integer
Number of images to request. MuAPI does not publish a supported range.
string
Provider response format. Only the default value, url, is verified by the contract.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MUAPI_GET_ACCOUNT_BALANCERead the connected MuAPI account’s current credit balance, currency, wallet breakdowns, and web-safety state. Use this before submitting a billable job.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MUAPI_GET_CATALOG_MODELGet one native catalog model by name, including its pricing and the provider-defined input and output schemas. Read this before estimating a cost or building a generation request so the input field names and ranges come from the provider rather than a guess.

Input Parameters

string
required
Catalog model name, as returned in the name field of MUAPI_LIST_CATALOG_MODELS. Ids from MUAPI_LIST_MODELS belong to the separate OpenAI-compatible surface and are not accepted here.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MUAPI_LIST_CATALOG_MODELSBrowse MuAPI’s full native model catalog with per-model pricing, category, family and group. This is the catalog behind MuAPI’s native generation endpoints and is much larger than the OpenAI-compatible image model list returned by MUAPI_LIST_MODELS; the two id sets are not interchangeable. The unfiltered catalog is several hundred models and returns a large payload, so pass category, family or group_of whenever you can narrow the search.

Input Parameters

string
Filter to one model family, such as ‘flux’ or ‘lipsync’.
string
Filter to one catalog category. Observed values include ‘Text to Image’, ‘Image to Image’, ‘Text to Video’, ‘Image to Video’, ‘Audio to Video’, ‘Video to Video’, ‘Text to Audio’, ‘Text to Text’, ‘Text to 3D’, ‘Image to 3D’, ‘Lora Support’, ‘Training’ and ‘other’. An unknown value returns an empty list rather than an error.
string
Filter to one model group, such as ‘image’ or ‘avatar’.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MUAPI_LIST_MODELSList models available through MuAPI’s OpenAI-compatible API. The same API lists text and image models; model IDs and capabilities distinguish their uses.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not