> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MuAPI

> Generate images and discover supported models through MuAPI's OpenAI-compatible API.

![MuAPI logo](https://mintcdn.com/composio-preview/9YPuzjEU4UlMnwGq/images/toolkits/muapi.svg?fit=max\&auto=format\&n=9YPuzjEU4UlMnwGq\&q=85\&s=874c8f2e5436000e6dfcc4e9c15406a9)

* **Category:** artificial intelligence
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 6
* **Triggers:** 0
* **Slug:** `MUAPI`
* **Version:** 20261101\_00

## Tools

> [accordion] Estimate Model Cost
>
> **Slug:** `MUAPI_ESTIMATE_MODEL_COST`
>
> Price 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
>
> **inputs** `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.
>
> **model\_name** `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
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Generate Image
>
> **Slug:** `MUAPI_GENERATE_IMAGE`
>
> Generate 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
>
> **size** `string`
>
> Requested image dimensions in WIDTHxHEIGHT form; support varies by model.
>
> **model** `string`
>
> MuAPI model ID to use. Call MUAPI\_LIST\_MODELS to discover available IDs.
>
> **prompt** `string` *required*
>
> Text description of the image or images to generate.
>
> **image\_count** `integer`
>
> Number of images to request. MuAPI does not publish a supported range.
>
> **response\_format** `string`
>
> Provider response format. Only the default value, url, is verified by the contract.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Account Balance
>
> **Slug:** `MUAPI_GET_ACCOUNT_BALANCE`
>
> Read the connected MuAPI account's current credit balance, currency, wallet breakdowns, and web-safety state. Use this before submitting a billable job.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Catalog Model
>
> **Slug:** `MUAPI_GET_CATALOG_MODEL`
>
> Get 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
>
> **model\_name** `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
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Catalog Models
>
> **Slug:** `MUAPI_LIST_CATALOG_MODELS`
>
> Browse 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
>
> **family** `string`
>
> Filter to one model family, such as 'flux' or 'lipsync'.
>
> **category** `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.
>
> **group\_of** `string`
>
> Filter to one model group, such as 'image' or 'avatar'.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Models
>
> **Slug:** `MUAPI_LIST_MODELS`
>
> List models available through MuAPI's OpenAI-compatible API. The same API lists text and image models; model IDs and capabilities distinguish their uses.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
