Mealie Recipe: Images and Assets API

The Recipe: Images and Assets API from Mealie — 5 operation(s) for recipe: images and assets.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/media/recipes/{recipe_id}/images/{file_name} Get a recipe's image · Get Recipe Img #
Ask an LLM
“How do I fetch a picture attached to a recipe?”
“Can I get a recipe image by its file name?”
Tell an agent
Get image {file_name} for recipe {recipe_id}.
Show the picture {file_name} on recipe {recipe_id}.
GET /api/media/recipes/{recipe_id}/images/timeline/{timeline_event_id}/{file_name} Get a recipe timeline event image · Get Recipe Timeline Event Img #
Ask an LLM
“How do I get the image for a step in a recipe's timeline?”
“Can I fetch a timeline event picture by event id?”
Tell an agent
Get image {file_name} for timeline event {timeline_event_id} on recipe {recipe_id}.
Show the step image {file_name} of event {timeline_event_id} in recipe {recipe_id}.
GET /api/media/recipes/{recipe_id}/assets/{file_name} Get a recipe asset · Get Recipe Asset #
Ask an LLM
“How do I download an asset attached to a recipe?”
“Can I fetch a recipe attachment by file name?”
Tell an agent
Get asset {file_name} for recipe {recipe_id}.
Download the recipe attachment {file_name} from {recipe_id}.
GET /api/media/users/{user_id}/{file_name} Get a user's profile image · Get User Image #
Ask an LLM
“How do I fetch a user's profile picture?”
“Can I get a user's avatar by file name?”
Tell an agent
Get image {file_name} for user {user_id}.
Show the profile picture {file_name} of user {user_id}.
GET /api/media/docker/validate.txt Check the Docker media proxy · Get Validation Text #
Ask an LLM
“How do I confirm the Docker media proxy is running?”
“What does the validate.txt file on the media route return?”
Tell an agent
Get the media proxy validation text.
Check that the Docker media proxy is reachable.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mealie:mealie-recipe-images-and-assets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mealie-recipe-images-and-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Mealie Recipe: Images and Assets API'
  description: Mealie is a web application for managing your recipes, meal plans, and shopping lists.
  version: nightly
tags:
- name: 'Recipe: Images and Assets'
paths:
  /api/media/recipes/{recipe_id}/images/{file_name}:
    get:
      tags:
      - 'Recipe: Images and Assets'
      summary: Get Recipe Img
      description: 'Takes in a recipe id, returns the static image. This route is proxied in the docker image

        and should not hit the API in production'
      operationId: get_recipe_img_api_media_recipes__recipe_id__images__file_name__get
      parameters:
      - name: recipe_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Recipe Id
      - name: file_name
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ImageType'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/media/recipes/{recipe_id}/images/timeline/{timeline_event_id}/{file_name}:
    get:
      tags:
      - 'Recipe: Images and Assets'
      summary: Get Recipe Timeline Event Img
      description: 'Takes in a recipe id and event timeline id, returns the static image. This route is proxied in the docker image

        and should not hit the API in production'
      operationId: get_recipe_timeline_event_img_api_media_recipes__recipe_id__images_timeline__timeline_event_id___file_name__get
      parameters:
      - name: recipe_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Recipe Id
      - name: timeline_event_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Timeline Event Id
      - name: file_name
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ImageType'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/media/recipes/{recipe_id}/assets/{file_name}:
    get:
      tags:
      - 'Recipe: Images and Assets'
      summary: Get Recipe Asset
      description: Returns a recipe asset
      operationId: get_recipe_asset_api_media_recipes__recipe_id__assets__file_name__get
      parameters:
      - name: recipe_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Recipe Id
      - name: file_name
        in: path
        required: true
        schema:
          type: string
          title: File Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/media/users/{user_id}/{file_name}:
    get:
      tags:
      - 'Recipe: Images and Assets'
      summary: Get User Image
      description: 'Takes in a recipe slug, returns the static image. This route is proxied in the docker image

        and should not hit the API in production'
      operationId: get_user_image_api_media_users__user_id___file_name__get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: User Id
      - name: file_name
        in: path
        required: true
        schema:
          type: string
          title: File Name
      responses:
        '200':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/media/docker/validate.txt:
    get:
      tags:
      - 'Recipe: Images and Assets'
      summary: Get Validation Text
      operationId: get_validation_text_api_media_docker_validate_txt_get
      responses:
        '200':
          description: Successful Response
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ImageType:
      type: string
      enum:
      - original.webp
      - min-original.webp
      - tiny-original.webp
      title: ImageType
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /api/auth/token
x-provenance:
  method: harvested
  publisher: Mealie
  source: https://demo.mealie.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)