MuAPI
muapiGenerate images and discover supported models through MuAPI's OpenAI-compatible API.
Acciones disponibles (5)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Estimate Model CostMUAPI_ESTIMATE_MODEL_COSTAcciónPrice 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.
MUAPI_ESTIMATE_MODEL_COSTAcciónPrice 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.
Parámetros de entrada
inputsobjectThe 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_namestringObligatorioCatalog 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.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate ImageMUAPI_GENERATE_IMAGEAcciónGenerate one or more images from a text prompt through MuAPI's OpenAI-compatible API. This operation is billable and requires sufficient account credits.
MUAPI_GENERATE_IMAGEAcciónGenerate one or more images from a text prompt through MuAPI's OpenAI-compatible API. This operation is billable and requires sufficient account credits.
Parámetros de entrada
sizestringRequested image dimensions in WIDTHxHEIGHT form; support varies by model.
modelstringMuAPI model ID to use. Call MUAPI_LIST_MODELS to discover available IDs.
promptstringObligatorioText description of the image or images to generate.
image_countintegerNumber of images to request. MuAPI does not publish a supported range.
response_formatstringProvider response format. Only the default value, url, is verified by the contract.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Catalog ModelMUAPI_GET_CATALOG_MODELAcciónGet 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.
MUAPI_GET_CATALOG_MODELAcciónGet 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.
Parámetros de entrada
model_namestringObligatorioCatalog 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.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Catalog ModelsMUAPI_LIST_CATALOG_MODELSAcciónBrowse 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.
MUAPI_LIST_CATALOG_MODELSAcciónBrowse 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.
Parámetros de entrada
familystringFilter to one model family, such as 'flux' or 'lipsync'.
categorystringFilter 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_ofstringFilter to one model group, such as 'image' or 'avatar'.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ModelsMUAPI_LIST_MODELSAcciónReturn the image-generation models available through MuAPI's OpenAI-compatible API. Use each model's id in MUAPI_GENERATE_IMAGE requests. This is a small subset of MuAPI's native catalog and carries no pricing; for the full catalog with costs and input schemas use MUAPI_LIST_CATALOG_MODELS. The two id sets are not interchangeable.
MUAPI_LIST_MODELSAcciónReturn the image-generation models available through MuAPI's OpenAI-compatible API. Use each model's id in MUAPI_GENERATE_IMAGE requests. This is a small subset of MuAPI's native catalog and carries no pricing; for the full catalog with costs and input schemas use MUAPI_LIST_CATALOG_MODELS. The two id sets are not interchangeable.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not