Postiz Media API

The Media API from Postiz — 13 operation(s) for media.

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 13

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

DELETE /media/{id} Delete a media file · Media controller delete media #
Ask an LLM
“How do I delete a media file by its ID?”
“Can I remove a single uploaded image or video?”
Tell an agent destructive · confirm first
Delete media {id}.
Remove the uploaded media file {id}.
POST /media/generate-video Generate a video from a template · Media controller generate video #
Ask an LLM
“Can I generate a video from one of the available templates?”
“What does the video generation endpoint return?”
Tell an agent
Generate a video using the video generation endpoint.
Start a new video creation from a template.
POST /media/generate-image Generate an image from a template · Media controller generate image #
Ask an LLM
“Can I generate an image from one of the image templates?”
“Is there a template-based image generation endpoint?”
Tell an agent
Generate an image from the image template.
Create a new image using the image generation endpoint.
POST /media/generate-image-with-prompt Generate an image from a text prompt · Media controller generate image from text #
Ask an LLM
“Can I generate an image from a text prompt instead of a template?”
“Which endpoint turns a written description into an image?”
Tell an agent
Generate an image from the text prompt.
Create an image based on a written description.
POST /media/upload-server Upload media to a server endpoint · Media controller upload server #
Ask an LLM
“How do I upload media to the server upload endpoint?”
“Is there a server-side media upload I can post to?”
Tell an agent
Upload media to the server upload endpoint.
Send a file to the server media upload.
POST /media/save-media Save a media file · Media controller save media #
Ask an LLM
“Can I save a media file after generating it?”
“What does the save-media endpoint do?”
Tell an agent
Save the generated media file.
Store the media file using the save-media endpoint.
POST /media/information Save media metadata · Media controller save media information #
Ask an LLM
“Can I save metadata about a media file?”
“Which endpoint stores information like title and description for media?”
Tell an agent
Save media information for the uploaded file.
Store metadata about the media file.
POST /media/upload-simple Upload media with a simple form · Media controller upload simple #
Ask an LLM
“Is there a simple upload form for media files?”
“Can I upload a file with a basic form upload?”
Tell an agent
Upload a media file with the simple upload form.
Send a file through the simple media upload.
POST /media/{endpoint} Upload a file to a named endpoint · Media controller upload file #
Ask an LLM
“How do I upload a file to a specific endpoint like /media/upload-simple?”
“Can I upload a file to a named media endpoint?”
Tell an agent
Upload a file to the {endpoint} media endpoint.
Send a file to the {endpoint} upload endpoint.
GET /media Search my media files · Media controller get media #
Ask an LLM
“How do I search my media files by keyword?”
“Can I list media files on a page?”
Tell an agent
Search my media files for {search}.
List media files on page {page}.
GET /media/video-options List video generation options · Media controller get videos #
Ask an LLM
“Which video templates can I generate videos from?”
“What video options are available for generation?”
Tell an agent
List the video generation options.
Show which video templates I can use.
POST /media/video/function Call a video generation function · Media controller video function #
Ask an LLM
“Can I call a video function to generate a video?”
“What does the video function endpoint do?”
Tell an agent
Call the video function to generate a video.
Run the video generation function.
GET /media/generate-video/{type}/allowed Check if a video type is allowed · Media controller generate video allowed #
Ask an LLM
“Is a particular video type allowed for generation?”
“Which video types can I generate?”
Tell an agent
Check whether {type} video generation is allowed.
Tell me if {type} is an allowed video type.

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/postiz:postiz-media-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

postiz-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Postiz Swagger file Media API
  description: API description
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Media
paths:
  /media/{id}:
    delete:
      operationId: MediaController_deleteMedia
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Media
      summary: Media controller delete media
      x-summary-source: derived
  /media/generate-video:
    post:
      operationId: MediaController_generateVideo
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoDto'
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller generate video
      x-summary-source: derived
  /media/generate-image:
    post:
      operationId: MediaController_generateImage
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller generate image
      x-summary-source: derived
  /media/generate-image-with-prompt:
    post:
      operationId: MediaController_generateImageFromText
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller generate image from text
      x-summary-source: derived
  /media/upload-server:
    post:
      operationId: MediaController_uploadServer
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller upload server
      x-summary-source: derived
  /media/save-media:
    post:
      operationId: MediaController_saveMedia
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller save media
      x-summary-source: derived
  /media/information:
    post:
      operationId: MediaController_saveMediaInformation
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveMediaInformationDto'
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller save media information
      x-summary-source: derived
  /media/upload-simple:
    post:
      operationId: MediaController_uploadSimple
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller upload simple
      x-summary-source: derived
  /media/{endpoint}:
    post:
      operationId: MediaController_uploadFile
      parameters:
      - name: endpoint
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller upload file
      x-summary-source: derived
  /media:
    get:
      operationId: MediaController_getMedia
      parameters:
      - name: page
        required: true
        in: query
        schema:
          type: number
      - name: search
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Media
      summary: Media controller get media
      x-summary-source: derived
  /media/video-options:
    get:
      operationId: MediaController_getVideos
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Media
      summary: Media controller get videos
      x-summary-source: derived
  /media/video/function:
    post:
      operationId: MediaController_videoFunction
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoFunctionDto'
      responses:
        '201':
          description: ''
      tags:
      - Media
      summary: Media controller video function
      x-summary-source: derived
  /media/generate-video/{type}/allowed:
    get:
      operationId: MediaController_generateVideoAllowed
      parameters:
      - name: type
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Media
      summary: Media controller generate video allowed
      x-summary-source: derived
components:
  schemas:
    VideoFunctionDto:
      type: object
      properties: {}
    VideoDto:
      type: object
      properties: {}
    SaveMediaInformationDto:
      type: object
      properties: {}