Volver al catálogo

MuAPI

muapi

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

Acciones
5
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

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.

Parámetros de entrada

  • inputsobject

    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_namestringObligatorio

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate ImageMUAPI_GENERATE_IMAGEAcción

Generate 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

  • sizestring

    Requested image dimensions in WIDTHxHEIGHT form; support varies by model.

  • modelstring

    MuAPI model ID to use. Call MUAPI_LIST_MODELS to discover available IDs.

  • promptstringObligatorio

    Text description of the image or images to generate.

  • image_countinteger

    Number of images to request. MuAPI does not publish a supported range.

  • response_formatstring

    Provider response format. Only the default value, url, is verified by the contract.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Catalog ModelMUAPI_GET_CATALOG_MODELAcción

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.

Parámetros de entrada

  • model_namestringObligatorio

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Catalog ModelsMUAPI_LIST_CATALOG_MODELSAcción

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.

Parámetros de entrada

  • familystring

    Filter to one model family, such as 'flux' or 'lipsync'.

  • categorystring

    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_ofstring

    Filter to one model group, such as 'image' or 'avatar'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ModelsMUAPI_LIST_MODELSAcción

Return 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not