ShapelessAI Media API

The Media API from ShapelessAI — 1 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 1

GET /api/media/{key} Stream any media key this account owns (a finished video, image or PDF: the `url` on a job's artifacts and a post's media). Video answers a 302 to a short-lived signed storage URL: #

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/shapelessai:shapelessai-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

shapelessai-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ShapelessAI Media API
  version: '1'
  description: 'The social media team an agent can call. Publish to LinkedIn, X, Instagram, TikTok, YouTube, Facebook, Threads, Bluesky, Discord, Mastodon, Slack, Whop, Lemmy and Nostr, plus articles and newsletters on Tumblr, WordPress, DEV, Hashnode and Listmonk, with each network''s limits checked first; make images, AI video, edits of your own footage, carousels, thumbnails, recorded product demos, speech and subtitles, one call each; or hand the whole goal to the agent team as a job. Every refusal says what to do next (a connect link, a checkout link, the question to ask). Bearer API key (Settings -> API keys) or the hosted MCP''s OAuth token. Read the docs live, not from memory: https://shapelessai.com/llms-full.txt is every docs and capability page in one fetch, prose at https://shapelessai.com/docs. What exists and what is planned: https://shapelessai.com/api/capabilities (an x-status: planned operation answers 501 with a want door).'
servers:
- url: https://shapelessai.com
tags:
- name: Media
paths:
  /api/media/{key}:
    get:
      summary: 'Stream any media key this account owns (a finished video, image or PDF: the `url` on a job''s artifacts and a post''s media). Video answers a 302 to a short-lived signed storage URL: follow redirects. Range supported.'
      operationId: getMediaKey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
      - name: download
        in: query
        required: false
        description: 'Save it instead of streaming it: the answer carries Content-Disposition: attachment with this file name (cleaned, the file''s real extension kept). Example: ?download=Launch%20teaser.mp4'
        schema:
          type: string
          maxLength: 120
      - name: w
        in: query
        required: false
        description: 'Images only: a resized webp of this width.'
        schema:
          type: integer
          enum:
          - 320
          - 480
          - 960
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "read" scope.
        '404':
          description: No such file for this account. A key another account owns also answers 404, so a key never proves it exists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - read
      - oauth:
        - read
      x-scope: read
      x-status: live
      x-agentic-access:
        action-class: connected
        consequence: read
        subject: optional
      tags:
      - Media
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: slk_... key; scopes read, write, publish.
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://shapelessai.com/api/auth/mcp/authorize
          tokenUrl: https://shapelessai.com/api/auth/mcp/token
          scopes:
            read: Read anything the account holds.
            write: 'Create and edit: jobs, drafts, agents, Brand Memory.'
            publish: Anything that goes out to a platform, or spends.
            wiki: Write to the wiki at /vizipedia as this account, and nothing else. A key with `write` covers it.
x-provenance:
  method: harvested
  publisher: ShapelessAI
  source: https://shapelessai.com/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)