> ## Documentation Index
> Fetch the complete documentation index at: https://mulerouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

Get started with the [MuleRouter](https://mulerouter.ai) API in a few simple steps.

<Steps>
  <Step title="Get an API Key">
    In the [MuleRouter Console](https://mulerouter.ai/app/api-keys), open the `API Keys` tab and click `Generate new key`.

    Store your API key securely after creation.
  </Step>

  <Step title="Use the API Key">
    Use the API key to send requests to the MuleRouter API.

    For example, use the Nano Banana Pro endpoint:

    ```bash theme={null}
      curl --request POST \
        --url https://api.mulerouter.ai/vendors/google/v1/nano-banana-pro/generation \
        --header 'Authorization: Bearer <token>' \
        --header 'Content-Type: application/json' \
        --data '{
          "prompt": "A beautiful sunset over the mountains",
          "aspect_ratio": "5:4",
          "resolution": "2K"
      }'
    ```
  </Step>

  <Step title="Get Result of a Task">
    Use the [task ID](/docs/get-started/async-tasks) to get the result of the task.

    For example, use the task ID to get the result of the task:

    ```bash theme={null}
      curl --request GET \
      --url https://api.mulerouter.ai/vendors/google/v1/nano-banana-pro/generation/f81d4fae-7dec-11d0-a765-00a0c91e6bf6 \
      --header 'Authorization: Bearer <token>' \
    ```
  </Step>
</Steps>
